1. 02 Dec, 2009 11 commits
    • eric@webkit.org's avatar
      2009-12-02 Anton Muhin <antonm@chromium.org> · f822b905
      eric@webkit.org authored
              Reviewed by Adam Barth.:w
      
              Allow to skip thread checks when accessing DOMDataStore for processes
              which run V8 in single thread mode.
              https://bugs.webkit.org/show_bug.cgi?id=31877
      
              Should be covered by buildbots.
      
              * bindings/v8/V8DOMMap.cpp:
              (WebCore::getDOMDataStore):
              (WebCore::enableFasterDOMStoreAccess):
              (WebCore::getDOMNodeMap):
              (WebCore::getDOMObjectMap):
              (WebCore::getActiveDOMObjectMap):
              (WebCore::getDOMSVGElementInstanceMap):
              (WebCore::getDOMSVGObjectWithContextMap):
              * bindings/v8/V8DOMMap.h:
      2009-12-02  Anton Muhin  <antonm@chromium.org>
      
              Reviewed by Adam Barth.
      
              Allow to skip thread checks when accessing DOMDataStore for processes
              which run V8 in single thread mode.
              https://bugs.webkit.org/show_bug.cgi?id=31877
      
              * src/WebScriptController.cpp:
              (WebKit::WebScriptController::enableV8SingleThreadMode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f822b905
    • yurys@chromium.org's avatar
      2009-12-02 Yury Semikhatsky <yurys@chromium.org> · 2aadf6dc
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Code clean up: remove ScriptObjectQuarantine.* as a whole.
      
              https://bugs.webkit.org/show_bug.cgi?id=32060
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/ScriptObjectQuarantine.cpp: Removed.
              * bindings/js/ScriptObjectQuarantine.h: Removed.
              * bindings/js/ScriptValue.cpp:
              (WebCore::ScriptValue::quarantineValue):
              * bindings/js/ScriptValue.h:
              * bindings/v8/ScriptObjectQuarantine.cpp: Removed.
              * bindings/v8/ScriptObjectQuarantine.h: Removed.
              * bindings/v8/ScriptValue.h:
              (WebCore::ScriptValue::quarantineValue):
              * inspector/ConsoleMessage.cpp:
              (WebCore::ConsoleMessage::ConsoleMessage):
              * inspector/InspectorController.cpp:
              * inspector/InspectorDatabaseResource.cpp:
              (WebCore::InspectorDatabaseResource::bind):
              * inspector/InspectorFrontend.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2aadf6dc
    • ossy@webkit.org's avatar
      [Qt] r51577 made fast/frames/sandboxed-iframe-plugins.html crash. · 38dd27ea
      ossy@webkit.org authored
      * platform/qt/Skipped: 
      - fast/frames/sandboxed-iframe-navigation-windowopen.html added. (crasher)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38dd27ea
    • eric@webkit.org's avatar
      2009-12-02 Adam Barth <abarth@webkit.org> · 32371a87
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [bzt] build-attachment shouldn't check whether the builders are red
              https://bugs.webkit.org/show_bug.cgi?id=32062
      
              build-attachment doesn't touch the remote repository, so there isn't a
              need to hold off when the builders are red.
      
              * Scripts/modules/commands/download.py:
              * Scripts/modules/landingsequence.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32371a87
    • eric@webkit.org's avatar
      2009-12-02 Eric Seidel <eric@webkit.org> · 437aabef
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              REGRESSION(51590): style-queue and build-queue think their empty when they are not
              https://bugs.webkit.org/show_bug.cgi?id=32061
      
              * Scripts/modules/bugzilla.py: make all id lookups return ints instead of strings.
              * Scripts/modules/bugzilla_unittest.py: Add and update unit tests to use ints.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      437aabef
    • ossy@webkit.org's avatar
      [Qt] Unreviewed. Skip new tests. · 61d43501
      ossy@webkit.org authored
      * platform/qt/Skipped:
      - svg/custom/mask-with-all-units.svg added.
      - fast/css/namespaces/namespaces-comments.xml added.
      - fast/css/namespaces/namespaces-empty.xml added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61d43501
    • eric@webkit.org's avatar
      2009-12-02 Eric Seidel <eric@webkit.org> · e061bef6
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              build-queue is throwing exceptions and complaining about
              lack of --no-update on build-attachment.  Make it stop.
      
              * Scripts/modules/buildsteps.py:
              * Scripts/modules/commands/download.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e061bef6
    • abarth@webkit.org's avatar
      2009-12-02 Adam Barth <abarth@webkit.org> · ceee978f
      abarth@webkit.org authored
              Unreviewed "build" fix.  Forgot to declare my variables.  :(
      
              * QueueStatusServer/queue_status.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ceee978f
    • eric@webkit.org's avatar
      2009-12-02 Adam Barth <abarth@webkit.org> · 59b29506
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [bzt] Implement status bubble view
              https://bugs.webkit.org/show_bug.cgi?id=32057
      
              The status bubble is a compact representation of the queue status for a
              given patch.  This will eventually help us reduce the comment spam from
              the queues.
      
              * QueueStatusServer/index.html: Added HTML5 doctype for sanity.
              * QueueStatusServer/queue_status.py:
              * QueueStatusServer/status_bubble.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59b29506
    • eric@webkit.org's avatar
      2009-12-02 Eric Seidel <eric@webkit.org> · 804478e1
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              trim commands/*.py includes now that commands are unit tested
              https://bugs.webkit.org/show_bug.cgi?id=32056
      
              In the course of ensuring that the unit tests still
              passed after this change, I had to actually make them
              pass in the first place.
      
              * Scripts/modules/bugzilla.py:
               - Fix _parse_attachment_ids_request_query to return ints instead of strings.
              * Scripts/modules/commands/download.py: Remove unneeded imports.
              * Scripts/modules/commands/queries.py: Ditto.
              * Scripts/modules/commands/queues.py: Ditto.
              * Scripts/modules/commands/upload.py: Ditto.
              * Scripts/modules/scm_unittest.py:
               - Fix to expect the \n after the path since echo adds an \n.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      804478e1
    • ukai@chromium.org's avatar
      2009-12-02 Fumitoshi Ukai <ukai@chromium.org> · 35d8c016
      ukai@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              WebSocket handshake check query component of URL
              https://bugs.webkit.org/show_bug.cgi?id=31617
      
              * websocket/tests/echo-location_wsh.py: Added.
              * websocket/tests/no-query_wsh.py: Added.
              * websocket/tests/script-tests/url-with-credential.js: Added.
              * websocket/tests/script-tests/url-with-empty-query.js: Added.
              * websocket/tests/script-tests/url-with-fragment.js: Added.
              * websocket/tests/script-tests/url-with-query-for-no-query.js: Added.
              * websocket/tests/script-tests/url-with-query.js: Added.
              * websocket/tests/url-with-credential-expected.txt: Added.
              * websocket/tests/url-with-credential.html: Added.
              * websocket/tests/url-with-empty-query-expected.txt: Added.
              * websocket/tests/url-with-empty-query.html: Added.
              * websocket/tests/url-with-fragment-expected.txt: Added.
              * websocket/tests/url-with-fragment.html: Added.
              * websocket/tests/url-with-query-expected.txt: Added.
              * websocket/tests/url-with-query-for-no-query-expected.txt: Added.
              * websocket/tests/url-with-query-for-no-query.html: Added.
              * websocket/tests/url-with-query.html: Added.
      2009-12-02  Fumitoshi Ukai  <ukai@chromium.org>
      
              Reviewed by Alexey Proskuryakov.
      
              WebSocket handshake check query component of URL
              https://bugs.webkit.org/show_bug.cgi?id=31617
      
              Tests: websocket/tests/url-with-credential.html
                     websocket/tests/url-with-empty-query.html
                     websocket/tests/url-with-fragment.html
                     websocket/tests/url-with-query-for-no-query.html
                     websocket/tests/url-with-query.html
      
              * platform/KURLGoogle.cpp:
              (WebCore::KURL::query): returns a null if query is not specified and returns an empty if query is specified but empty.
              * websockets/WebSocketHandshake.cpp:
              (WebCore::resourceName): added. add query component to path if specified.
              (WebCore::WebSocketHandshake::clientLocation):
              (WebCore::WebSocketHandshake::clientHandshakeMessage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35d8c016
  2. 01 Dec, 2009 29 commits
    • levin@chromium.org's avatar
      Incorrect code in WebGLRenderingContext.cpp · dbff04db
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32046
      
      Reviewed by Eric Seidel.
      
      Fix incorrect code that happened to work. != has higher precendence than &.
      The simplest fix is to remove the "!= 0" which violates WebKit style
      guidelines anyway.
      
      Also added periods to few comments in the same function.
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::validateIndexArray):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbff04db
    • eric@webkit.org's avatar
      2009-12-01 Chris Jerdonek <chris.jerdonek@gmail.com> · 0dd54ad2
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Added clarifications to the web site regarding coding style and
              code cleanup--
      
              https://bugs.webkit.org/show_bug.cgi?id=31618
      
              Changes include the following:
      
              - Expanded the style guidelines regarding "using" statements.
              - Made the style guidelines page validate as HTML.
              - Added that legacy WebKit components should not be cleaned up.
              - Added that it is more acceptable to update style when already
                touching code.
      
              * coding/coding-style.html:
              * coding/contributing.html:
              * projects/cleanup/index.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0dd54ad2
    • hamaji@chromium.org's avatar
      2009-12-01 Shinichiro Hamaji <hamaji@chromium.org> · 285d949b
      hamaji@chromium.org authored
              Reviewed by Eric Seidel.
      
              Update expectations of css2.1/t1205-c56* for Qt
              https://bugs.webkit.org/show_bug.cgi?id=32015
      
              * platform/qt/Skipped:
              * platform/qt/css2.1/t1205-c561-list-displ-00-b-expected.txt:
              * platform/qt/css2.1/t1205-c565-list-pos-00-b-expected.txt:
              * platform/qt/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      285d949b
    • eric@webkit.org's avatar
      2009-12-01 Yaar Schnitman <yaar@chromium.org> · 70a75528
      eric@webkit.org authored
              build-webkit: Remove flex,bison,gperf check for chromium
              https://bugs.webkit.org/show_bug.cgi?id=32043
      
              * Scripts/webkitdirs.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70a75528
    • eric@webkit.org's avatar
      2009-12-01 Kent Tamura <tkent@chromium.org> · 26d4a7e3
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Change [Reflect] to [ConvertNullToNullString, Reflect] for min, max,
              pattern and step attributes of HTMLInputElement.
              https://bugs.webkit.org/show_bug.cgi?id=31708
      
              * fast/forms/input-minmax-expected.txt:
              * fast/forms/input-pattern-expected.txt: Added.
              * fast/forms/input-pattern.html: Added.
              * fast/forms/input-step-expected.txt:
              * fast/forms/script-tests/input-minmax.js: Add tests for null/undefined/non-string.
              * fast/forms/script-tests/input-pattern.js: Added.
              * fast/forms/script-tests/input-step.js: Change the result for null.
      2009-12-01  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Darin Adler.
      
              Change [Reflect] to [ConvertNullToNullString, Reflect] for min, max,
              pattern and step attributes of HTMLInputElement.
              https://bugs.webkit.org/show_bug.cgi?id=31708
      
              * html/HTMLInputElement.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26d4a7e3
    • cfleizach@apple.com's avatar
      Build fixage for Windows/GTK for DumpRenderTree. · d1b4e8fd
      cfleizach@apple.com authored
      WAI-ARIA: implement support for ARIA drag and drop
      https://bugs.webkit.org/show_bug.cgi?id=32007
      
      * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
      (AccessibilityUIElement::ariaIsGrabbed):
      (AccessibilityUIElement::ariaDropEffects):
      * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
      (AccessibilityUIElement::ariaIsGrabbed):
      (AccessibilityUIElement::ariaDropEffects):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1b4e8fd
    • cfleizach@apple.com's avatar
      WAI-ARIA: implement support for ARIA drag and drop · b012c5ea
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=32007
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      Test: platform/mac/accessibility/aria-drag-drop.html
      
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::supportsARIADropping):
      (WebCore::AccessibilityObject::supportsARIADragging):
      (WebCore::AccessibilityObject::isARIAGrabbed):
      (WebCore::AccessibilityObject::setARIAGrabbed):
      (WebCore::AccessibilityObject::determineARIADropEffects):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::supportsARIADropping):
      (WebCore::AccessibilityRenderObject::supportsARIADragging):
      (WebCore::AccessibilityRenderObject::isARIAGrabbed):
      (WebCore::AccessibilityRenderObject::setARIAGrabbed):
      (WebCore::AccessibilityRenderObject::determineARIADropEffects):
      * accessibility/AccessibilityRenderObject.h:
      * accessibility/mac/AccessibilityObjectWrapper.mm:
      (-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
      (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
      (-[AccessibilityObjectWrapper accessibilityIsAttributeSettable:]):
      (-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
      * html/HTMLAttributeNames.in:
      
      WebKitTools: 
      
      * DumpRenderTree/AccessibilityUIElement.cpp:
      (getARIADropEffectsCallback):
      (getARIAIsGrabbedCallback):
      (AccessibilityUIElement::getJSClass):
      * DumpRenderTree/AccessibilityUIElement.h:
      * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
      (AccessibilityUIElement::ariaIsGrabbed):
      (AccessibilityUIElement::ariaDropEffects):
      
      LayoutTests: 
      
      * platform/mac/accessibility/aria-drag-drop-expected.txt: Added.
      * platform/mac/accessibility/aria-drag-drop.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b012c5ea
    • abarth@webkit.org's avatar
      Typo fix. · 344da20d
      abarth@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      344da20d
    • abarth@webkit.org's avatar
      2009-12-01 Adam Barth <abarth@webkit.org> · 345d17f8
      abarth@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=21288
      
              Unreviewed port of @sandbox to V8.
      
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::isEnabled):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::createWindow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      345d17f8
    • abarth@webkit.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=21288 · 8c5918e6
      abarth@webkit.org authored
      Reviewed by Darin Adler.
      
      Add sneaky test that has tabs.
      
      * fast/frames/sandboxed-iframe-attribute-parsing-expected.txt: Added.
      * fast/frames/sandboxed-iframe-attribute-parsing.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c5918e6
    • bweinstein@apple.com's avatar
      Change unsigned to int to fix the Windows build. · 18d381ea
      bweinstein@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18d381ea
    • abarth@webkit.org's avatar
      2009-12-01 Patrik Persson <patrik.j.persson@ericsson.com> · b8a10552
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              Implement HTML5 sandbox attribute for iframes.
              http://www.w3.org/TR/html5/text-level-semantics.html#attr-iframe-sandbox
              https://bugs.webkit.org/show_bug.cgi?id=21288
      
              * fast/frames/resources/non-sandboxed-iframe-navigation.html: Added.
              * fast/frames/resources/sandboxed-iframe-attribute-parsing-allowed.html: Added.
              * fast/frames/resources/sandboxed-iframe-attribute-parsing-disallowed.html: Added.
              * fast/frames/resources/sandboxed-iframe-form-allowed.html: Added.
              * fast/frames/resources/sandboxed-iframe-form-disallowed.html: Added.
              * fast/frames/resources/sandboxed-iframe-navigated.html: Added.
              * fast/frames/resources/sandboxed-iframe-navigation-child.html: Added.
              * fast/frames/resources/sandboxed-iframe-navigation-navigated.html: Added.
              * fast/frames/resources/sandboxed-iframe-navigation-parent.html: Added.
              * fast/frames/resources/sandboxed-iframe-navigation-source.html: Added.
              * fast/frames/resources/sandboxed-iframe-navigation-targetlink.html: Added.
              * fast/frames/resources/sandboxed-iframe-navigation-windowopen.html: Added.
              * fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html: Added.
              * fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html: Added.
              * fast/frames/resources/sandboxed-iframe-plugins-frame-object.html: Added.
              * fast/frames/resources/sandboxed-iframe-script-dynamic.html: Added.
              * fast/frames/resources/sandboxed-iframe-storage-allowed.html: Added.
              * fast/frames/resources/sandboxed-iframe-storage-disallowed.html: Added.
              * fast/frames/sandboxed-iframe-attribute-parsing-expected.txt: Added.
              * fast/frames/sandboxed-iframe-attribute-parsing.html: Added.
              * fast/frames/sandboxed-iframe-forms-expected.txt: Added.
              * fast/frames/sandboxed-iframe-forms.html: Added.
              * fast/frames/sandboxed-iframe-navigation-allowed-expected.txt: Added.
              * fast/frames/sandboxed-iframe-navigation-allowed.html: Added.
              * fast/frames/sandboxed-iframe-navigation-parent-expected.txt: Added.
              * fast/frames/sandboxed-iframe-navigation-parent.html: Added.
              * fast/frames/sandboxed-iframe-navigation-targetlink-expected.txt: Added.
              * fast/frames/sandboxed-iframe-navigation-targetlink.html: Added.
              * fast/frames/sandboxed-iframe-navigation-windowopen-expected.txt: Added.
              * fast/frames/sandboxed-iframe-navigation-windowopen.html: Added.
              * fast/frames/sandboxed-iframe-plugins-expected.txt: Added.
              * fast/frames/sandboxed-iframe-plugins.html: Added.
              * fast/frames/sandboxed-iframe-scripting-expected.txt: Added.
              * fast/frames/sandboxed-iframe-scripting.html: Added.
              * fast/frames/sandboxed-iframe-storage-expected.txt: Added.
              * fast/frames/sandboxed-iframe-storage.html: Added.
              * http/tests/security/resources/sandboxed-iframe-document-cookie-read-denied.html: Added.
              * http/tests/security/resources/sandboxed-iframe-modify-self.html: Added.
              * http/tests/security/resources/xss-DENIED-sandboxed-iframe-attacker.html: Added.
              * http/tests/security/sandboxed-iframe-document-cookie-expected.txt: Added.
              * http/tests/security/sandboxed-iframe-document-cookie.html: Added.
              * http/tests/security/sandboxed-iframe-modify-self-expected.txt: Added.
              * http/tests/security/sandboxed-iframe-modify-self.html: Added.
              * http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt: Added.
              * http/tests/security/xss-DENIED-sandboxed-iframe.html: Added.
              * http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-expected.txt: Added.
              * http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow.html: Added.
              * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt: Added.
              * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard-expected.txt: Added.
              * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard.html: Added.
              * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied.html: Added.
              * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-allow-iframe.html: Added.
              * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-allow.cgi: Added.
              * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-iframe.html: Added.
              * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-without-wildcard-iframe.html: Added.
              * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-without-wildcard.cgi: Added.
              * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied.cgi: Added.
      2009-12-01  Patrik Persson  <patrik.j.persson@ericsson.com>
      
              Reviewed by Darin Adler.
      
              Implement HTML5 sandbox attribute for iframes.
              http://www.w3.org/TR/html5/text-level-semantics.html#attr-iframe-sandbox
              https://bugs.webkit.org/show_bug.cgi?id=21288
      
              Tests: fast/frames/sandboxed-iframe-attribute-parsing.html
                     fast/frames/sandboxed-iframe-forms.html
                     fast/frames/sandboxed-iframe-navigation-allowed.html
                     fast/frames/sandboxed-iframe-navigation-parent.html
                     fast/frames/sandboxed-iframe-navigation-targetlink.html
                     fast/frames/sandboxed-iframe-navigation-windowopen.html
                     fast/frames/sandboxed-iframe-plugins.html
                     fast/frames/sandboxed-iframe-scripting.html
                     fast/frames/sandboxed-iframe-storage.html
                     http/tests/security/sandboxed-iframe-document-cookie.html
                     http/tests/security/sandboxed-iframe-modify-self.html
                     http/tests/security/xss-DENIED-sandboxed-iframe.html
                     http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow.html
                     http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard.html
                     http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied.html
      
              * bindings/js/JSDOMWindowCustom.cpp: sandboxing navigation
              (WebCore::createWindow):
              * bindings/js/ScriptController.cpp: sandboxing scripts
              (WebCore::ScriptController::isEnabled):
              * dom/Document.cpp:
              (WebCore::Document::processHttpEquiv):
              (WebCore::Document::cookie): raise exception when accessed from sandbox
              (WebCore::Document::setCookie): raise exception when accessed from sandbox
              (WebCore::Document::initSecurityContext): updae sandbox status
              (WebCore::Document::updateSandboxFlags):
              * dom/Document.h:
              * dom/Document.idl:
              * html/HTMLAppletElement.cpp: sandboxing applets
              (WebCore::HTMLAppletElement::createRenderer):
              (WebCore::HTMLAppletElement::renderWidgetForJSBindings):
              (WebCore::HTMLAppletElement::canEmbedJava):
              * html/HTMLAppletElement.h:
              * html/HTMLAttributeNames.in:
              * html/HTMLFrameOwnerElement.cpp: management of sandbox flags as stated in attribute
              (WebCore::HTMLFrameOwnerElement::HTMLFrameOwnerElement):
              (WebCore::HTMLFrameOwnerElement::setSandboxFlags):
              * html/HTMLFrameOwnerElement.h:
              (WebCore::HTMLFrameOwnerElement::sandboxFlags):
              * html/HTMLIFrameElement.cpp: sandbox attribute parsing
              (WebCore::parseSandboxAttribute):
              (WebCore::HTMLIFrameElement::parseMappedAttribute):
              * html/HTMLIFrameElement.idl:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::getCookies):
              * loader/CrossOriginAccessControl.cpp:
              (WebCore::passesAccessControlCheck):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::FrameLoader):
              (WebCore::FrameLoader::init):
              (WebCore::FrameLoader::submitForm): sandboxing forms
              (WebCore::FrameLoader::requestObject): sandboxing plugins
              (WebCore::FrameLoader::shouldAllowNavigation): sandboxing navigation
              (WebCore::FrameLoader::updateSandboxFlags): propagation of sandbox flags
              * loader/FrameLoader.h:
              (WebCore::FrameLoader::ownerElementSandboxFlagsChanged):
              (WebCore::FrameLoader::isSandboxed):
              (WebCore::FrameLoader::sandboxFlags):
              * loader/FrameLoaderTypes.h:
              (WebCore::):
              * page/DOMWindow.cpp: disable storage and databases in sandboxed frames
              (WebCore::DOMWindow::sessionStorage):
              (WebCore::DOMWindow::localStorage):
              (WebCore::DOMWindow::openDatabase):
              * page/SecurityOrigin.cpp: added sandboxing status
              (WebCore::SecurityOrigin::SecurityOrigin):
              (WebCore::SecurityOrigin::canAccess):
              (WebCore::SecurityOrigin::canRequest):
              (WebCore::SecurityOrigin::toString):
              * page/SecurityOrigin.h:
              (WebCore::SecurityOrigin::setSandboxFlags):
              (WebCore::SecurityOrigin::isSandboxed):
              (WebCore::SecurityOrigin::canAccessDatabase):
              (WebCore::SecurityOrigin::canAccessStorage):
              * websockets/WebSocketChannel.cpp:
              (WebCore::WebSocketChannel::didReceiveData):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8a10552
    • cfleizach@apple.com's avatar
      ARIA: support a way to create a static text object · bd43f07d
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=32030
      
      Reviewed by David Kilzer.
      
      WebCore: 
      
      Test: accessibility/aria-text-role.html
      
      * accessibility/AccessibilityObject.cpp:
      (WebCore::createARIARoleMap):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::stringValue):
      (WebCore::AccessibilityRenderObject::isDescendantOfBarrenParent):
      (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
      (WebCore::AccessibilityRenderObject::text):
      * accessibility/AccessibilityRenderObject.h:
      
      LayoutTests: 
      
      * accessibility/aria-text-role-expected.txt: Added.
      * accessibility/aria-text-role.html: Added.
      * platform/gtk/Skipped:
      * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd43f07d
    • zimmermann@webkit.org's avatar
      Not reviewed. GTK DRT try 2. · 0067edb7
      zimmermann@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0067edb7
    • zimmermann@webkit.org's avatar
      Not reviewed. Try to fix gtk DRT build. · 03e0a333
      zimmermann@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03e0a333
    • bweinstein@apple.com's avatar
      16df50a8
    • oliver@apple.com's avatar
      Inspector crashes when collecting on every allocation · ff7890e1
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=32044
      
      Reviewed by Maciej Stachowiak.
      
      The crash is caused by the prototype wrapper object getting collected
      when allocating the object that is going to use it as a prototype.
      Because the only reference to the prototype wrapper is through the
      new object's Structure it does not get marked automatically.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff7890e1
    • bweinstein@apple.com's avatar
      Build fix by using DOMNode::node() to go from a DOMNode to a node, and · 7abd0d56
      bweinstein@apple.com authored
      added svg/animation in the WebCore.vcproj list of headers to be copied 
      over on build.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7abd0d56
    • levin@chromium.org's avatar
      check-webkit-style does not understand (Prefix)Foo(Custom|Gtk|CG|Mac).cpp including Foo.h · 1e35af71
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32033
      
      Reviewed by Eric Seidel.
      
      * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find
                                      instead of startswith.
      * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e35af71
    • zimmermann@webkit.org's avatar
    • zimmermann@webkit.org's avatar
      Not reviewed. Try to fix qt/win builds. · 8e195f83
      zimmermann@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e195f83
    • zimmermann@webkit.org's avatar
      2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> · 840d1766
      zimmermann@webkit.org authored
              Reviewed by Simon Fraser.
      
              Add SVG animation test framework with 'snapshot' functionality
              https://bugs.webkit.org/show_bug.cgi?id=31897
      
              Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method,
              forwarding the call to SVGDocumentExtensions, if SVG is enabled.
      
              Implemented just like the existing pauseAnimation* methods for CSS animations.
      
              * Api/qwebframe.cpp:
              (qt_drt_pauseSVGAnimation):
      2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Simon Fraser.
      
              Add SVG animation test framework with 'snapshot' functionality
              https://bugs.webkit.org/show_bug.cgi?id=31897
      
              Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method,
              forwarding the call to SVGDocumentExtensions, if SVG is enabled.
      
              Implemented just like the existing pauseAnimation* methods for CSS animations.
      
              * webkit/webkitprivate.h:
              * webkit/webkitwebframe.cpp:
              (webkit_web_frame_pause_svg_animation):
      2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Simon Fraser.
      
              Add SVG animation test framework with 'snapshot' functionality
              https://bugs.webkit.org/show_bug.cgi?id=31897
      
              Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method,
              forwarding the call to SVGDocumentExtensions, if SVG is enabled.
      
              Implemented just like the existing pauseAnimation* methods for CSS animations.
      
              * Interfaces/IWebFramePrivate.idl:
              * WebFrame.cpp:
              (WebFrame::pauseSVGAnimation):
              * WebFrame.h:
      2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Simon Fraser.
      
              Add SVG animation test framework with 'snapshot' functionality
              https://bugs.webkit.org/show_bug.cgi?id=31897
      
              Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method,
              forwarding the call to SVGDocumentExtensions, if SVG is enabled.
      
              Implemented just like the existing pauseAnimation* methods for CSS animations.
      
              * WebView/WebFrame.mm:
              (-[WebFrame _pauseSVGAnimation:onSMILNode:atTime:]):
              * WebView/WebFramePrivate.h:
      2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Simon Fraser.
      
              Add SVG animation test framework with 'snapshot' functionality
              https://bugs.webkit.org/show_bug.cgi?id=31897
      
              Add 'sampleSVGAnimationForElementAtTime' method to the LayoutTestController,
              for the use within the new SVG animation test framework (LayoutTests/svg/animations/)
      
              layoutTestController.sampleAnimationAtTime(<svg animation id>, <absolute time>, <svg element id>);
              to sample a svg animateMotion/animateColor/animate/set element at certain times.
      
              After the desired SVG animation starts and calling the method above, it's immediately forwarded to
              the desired sampling time. After JS returns from the 'sampleSVGAnimationForElementAtTime' method
              a callback is fired used to sample the animation value at the target time. It's modelled similar
              to the CSS animation/transition testing framework, inspired by
              LayoutTests/animations/animation-test-helpers.js.
      
              Though it has been extended to integrate within the fast/js/js-test-* framework, that's used for
              the SVG dynamic-updates tests, to simplify test creation, by utilizing script-tests/* only.
      
              Adding a simple testcase testing the DRT methods, it will soon be extended to test animVal/baseVal
              interaction, while animating.
      
              Test: svg/animations/animVal-basics.html
      
              * WebCore.base.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * svg/SVGDocumentExtensions.cpp:
              (WebCore::SVGDocumentExtensions::sampleAnimationAtTime):
              * svg/SVGDocumentExtensions.h:
              * svg/animation/SMILTimeContainer.cpp:
              (WebCore::SMILTimeContainer::SMILTimeContainer):
              (WebCore::SMILTimeContainer::sampleAnimationAtTime):
              (WebCore::SMILTimeContainer::updateAnimations):
              * svg/animation/SMILTimeContainer.h:
      2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Simon Fraser.
      
              Add SVG animation test framework with 'snapshot' functionality
              https://bugs.webkit.org/show_bug.cgi?id=31897
      
              Add LayoutTests/svg/animations directory, containing a new
              framework for SVG animation test with sampling at certain times.
      
              Added one example test, which will be extended soon to cover animVal
              support, once basic support has been implemented.
      
              * svg/animations: Added.
              * svg/animations/animVal-basics-expected.txt: Added.
              * svg/animations/animVal-basics.html: Added.
              * svg/animations/resources: Added.
              * svg/animations/resources/SVGAnimationTestCase.js: Added.
              (isCloseEnough):
              (moveAnimationTimelineAndSample):
              (startTest):
              (sampleAnimation):
              (runAnimationTest):
              * svg/animations/script-tests: Added.
              * svg/animations/script-tests/TEMPLATE.html: Added.
              * svg/animations/script-tests/animVal-basics.js: Added.
              (sample1):
              (sample2):
              (sample3):
              (executeTest):
      2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Simon Fraser.
      
              Add SVG animation test framework with 'snapshot' functionality
              https://bugs.webkit.org/show_bug.cgi?id=31897
      
              Add new 'sampleSVGAnimationForElementAtTime' DRT method,
              used by the new SVG animation testing framework, implemented
              for qt/gtk/win/mac.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (sampleSVGAnimationForElementAtTimeCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::sampleSVGAnimationForElementAtTime):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::sampleSVGAnimationForElementAtTime):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::sampleSVGAnimationForElementAtTime):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::sampleSVGAnimationForElementAtTime):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::sampleSVGAnimationForElementAtTime):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      840d1766
    • snej@chromium.org's avatar
      JavaScriptCore: Added variants of find/contains/add that allow a foreign key type to be used. · bc3c1476
      snej@chromium.org authored
      This will allow AtomicString-keyed maps to be queried by C string without
      having to create a temporary AtomicString (see HTTPHeaderMap.)
      The code for this is adapted from the equivalent in HashSet.h.
      
      WebCore: Add convenience methods to Element and QualifiedName that take
      char* instead of AtomicString, in preparation for removing the
      implicit conversion between the two types (30187).
      https://bugs.webkit.org/show_bug.cgi?id=31749
      
      Reviewed by Darin Adler.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc3c1476
    • ap@apple.com's avatar
      More Windows build fix. · 9c19a120
      ap@apple.com authored
              * platform/network/cf/CredentialStorageCFNet.cpp:
              (WebCore::CredentialStorage::getFromPersistentStorage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c19a120
    • ap@apple.com's avatar
      Windows build fix. · b565dd45
      ap@apple.com authored
              * platform/network/cf/CredentialStorageCFNet.cpp: Include RetainPtr.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b565dd45
    • aroben@apple.com's avatar
      Skip more tests that fail with specific versions of CFNetwork on Windows · 64b696b1
      aroben@apple.com authored
      Rubber-stamped in advance by Brady Eidson.
      
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64b696b1
    • weinig@apple.com's avatar
      Simplify [WebView userAgentForURL:]. No need to call into helper function. · 02c9476f
      weinig@apple.com authored
      Reviewed by Mark Rowe.
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::userAgent):
      * WebView/WebView.mm:
      (-[WebView userAgentForURL:]):
      * WebView/WebViewInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02c9476f
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · aeb999ad
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=32036
              Implement CredentialStorage::getFromPersistentStorage for CFNetwork
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aeb999ad
    • pkasting@chromium.org's avatar
      [Chromium] Simplify zoom-related APIs and add a zoom level getter, · 7fbcd16a
      pkasting@chromium.org authored
      part one: Add new APIs.  (Old APIs will be removed in a second pass.)
      https://bugs.webkit.org/show_bug.cgi?id=31893
      
      Reviewed by Darin Fisher.
      
      * public/WebView.h:
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::zoomLevel):
      (WebKit::WebViewImpl::setZoomLevel):
      * src/WebViewImpl.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fbcd16a