1. 02 Jan, 2011 8 commits
    • abarth@webkit.org's avatar
      Move JavaScriptCore to Source · 76da8fc1
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51604
      
      Reviewed by Eric Seidel.
      
      Update references to JavaScriptCore to point to the new location.
      
      * Android.mk:
      * CMakeLists.txt:
      * DerivedSources.pro:
      * GNUmakefile.am:
      * Makefile:
      * WebKit.pri:
      * WebKit.pro:
      * wscript:
      
      Tools: 
      
      Update references to JavaScriptCore to point to the new location.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      * DumpRenderTree/qt/DumpRenderTree.pro:
      * DumpRenderTree/qt/ImageDiff.pro:
      * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
      * DumpRenderTree/wscript:
      * Scripts/build-jsc:
      * Scripts/build-webkit:
      * Scripts/do-file-rename:
      * Scripts/do-webcore-rename:
      * Scripts/run-javascriptcore-tests:
      * Scripts/update-javascriptcore-test-results:
      * Scripts/webkitdirs.pm:
      * Scripts/webkitpy/common/config/build_unittest.py:
      * Scripts/webkitpy/style/checker.py:
      * Scripts/webkitpy/style/checker_unittest.py:
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
      * WebKitTestRunner/qt/WebKitTestRunner.pro:
      * wx/build/settings.py:
      
      WebCore: 
      
      Update references to JavaScriptCore.
      
      * Android.derived.jscbindings.mk:
      * Android.v8bindings.mk:
      * CMakeLists.txt:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.pro:
        - These changes are subtle and might not be 100% correct.
      * move-js-headers.sh:
      
      WebKit/chromium: 
      
      * WebKit.gyp:
        - Point to JavaScriptCore in its new location.
      
      WebKit/gtk: 
      
      * GNUmakefile.am:
      * docs/GNUmakefile.am:
        - Point to JavaScriptCore in its new location.
      
      WebKit/qt: 
      
      * WebKit_pch.h:
      * docs/qtwebkit.qdocconf:
        - Point to JavaScriptCore in its new location.
      
      WebKit/win: 
      
      * WebKit.vcproj/WebKit.sln:
        - Point to JavaScriptCore in its new location.
      
      WebKit/wx: 
      
      * bindings/python/wscript:
      * wscript:
        - Point to JavaScriptCore in its new location.
      
      WebKit2: 
      
      * WebKit2.pro:
        - Point to JavaScriptCore in its new location.
      
      Websites/bugs.webkit.org: 
      
      * PrettyPatch/PrettyPatch.rb:
        - Remove reference to JavaScriptCore as a source directory.
      
      Websites/webkit.org: 
      
      * coding/assertion-guidelines.html:
        - Update documentation to point to the new location of
          JavaScriptCore.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76da8fc1
    • abarth@webkit.org's avatar
      2011-01-01 Adam Barth <abarth@webkit.org> · 442f0795
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              forbid sandboxed frames to call top.close() when allow-same-origin is not setted
              https://bugs.webkit.org/show_bug.cgi?id=38340
      
              We now pass the ScriptExecutionContext to window.close so it can find
              the Frame and check whether navigation is allowed.  This check will
              almost always pass because you can only close top-level frames, but the
              check will fail when the calling script is sandboxed.
      
              Tests: fast/frames/sandboxed-iframe-close-top-noclose.html
                     fast/frames/sandboxed-iframe-close-top.html
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::close):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      2011-01-01  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              forbid sandboxed frames to call top.close() when allow-same-origin is not setted
              https://bugs.webkit.org/show_bug.cgi?id=38340
      
              Test the interaction between the HTML5 sandbox and window.close.
      
              * fast/frames/resources/close-top.html: Added.
              * fast/frames/resources/sandboxed-iframe-close-top-does-close.html: Added.
              * fast/frames/resources/sandboxed-iframe-close-top-does-not-close.html: Added.
              * fast/frames/sandboxed-iframe-close-top-expected.txt: Added.
              * fast/frames/sandboxed-iframe-close-top-noclose-expected.txt: Added.
              * fast/frames/sandboxed-iframe-close-top-noclose.html: Added.
              * fast/frames/sandboxed-iframe-close-top.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      442f0795
    • abarth@webkit.org's avatar
      2011-01-01 Adam Barth <abarth@webkit.org> · 14e08540
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              sandbox iframes have access to top.history methods
              https://bugs.webkit.org/show_bug.cgi?id=38152
      
              To enforce the sandbox restrictions on History, we need to pass the
              ScriptExecutionContext to WebCore.  This patch leaves the original
              History methods in place because they are used directly by folks who
              don't care about security checks.
      
              Test: fast/frames/sandboxed-iframe-history-denied.html
      
              * page/History.cpp:
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
              * page/History.h:
              * page/History.idl:
      2011-01-01  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by Eric Seidel.
      
              sandbox iframes have access to top.history methods
              https://bugs.webkit.org/show_bug.cgi?id=38152
      
              Test that sandboxed iframes cannot use history to navigate the top
              frame.  This test is less than ideal, as described in the test itself.
              If I was really on top of things, I'd add a test for successful use of
              the history API when allow-top-navigation is set, but that test would
              be complicated and I'm lazy (enough to copy directly from abarth).
      
              * fast/frames/sandboxed-iframe-history-denied-expected.txt: Added.
              * fast/frames/sandboxed-iframe-history-denied.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14e08540
    • abarth@webkit.org's avatar
      Move Sources to Source · c2a176a3
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51794
      
      Reviewed by Eric Seidel.
      
      Update build files to point to the new location.
      
      * CMakeLists.txt:
      * GNUmakefile.am:
      * Makefile:
      * autogen.sh:
      * configure.ac:
      
      Tools: 
      
      Update scripts to point to the new location.
      
      * Scripts/build-webkit:
      * Scripts/do-file-rename:
      * Scripts/do-webcore-rename:
      * Scripts/webkitpy/common/config/build.py:
      * Scripts/webkitpy/common/config/build_unittest.py:
      
      Websites/bugs.webkit.org: 
      
      * PrettyPatch/PrettyPatch.rb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2a176a3
    • abarth@webkit.org's avatar
      2011-01-01 Adam Barth <abarth@webkit.org> · 94d0ffe2
      abarth@webkit.org authored
              Remove empty file.
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/DOMAllInOne.cpp:
              * dom/Entity.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94d0ffe2
    • abarth@webkit.org's avatar
      2011-01-01 Adam Barth <abarth@webkit.org> · e40200f2
      abarth@webkit.org authored
              Remove empty file.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSPopStateEventCustom.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e40200f2
    • abarth@webkit.org's avatar
      2011-01-01 Adam Barth <abarth@webkit.org> · 532170ff
      abarth@webkit.org authored
              Remove empty files.
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/generic/BindingFrame.h: Removed.
              * bindings/generic/BindingLocation.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      532170ff
    • mitz@apple.com's avatar
      4e694ab7
  2. 01 Jan, 2011 9 commits
    • commit-queue@webkit.org's avatar
      2011-01-01 Konstantin Tokarev <annulen@yandex.ru> · ab3d4bc5
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Don't include Inspector headers when Inspector is disabled
              https://bugs.webkit.org/show_bug.cgi?id=51789
      
              * bindings/js/JSDOMWindowBase.cpp: Include Inspector headers when
              Inspector is enabled
              * dom/Document.cpp: Include Inspector headers when
              Inspector is enabled
              (WebCore::Document::recalcStyle): Disabled InspectorInstrumentationCookie
              handling
              * html/HTMLDocument.cpp: Include Inspector headers when
              Inspector is enabled
              * loader/FrameLoader.cpp: Include Inspector headers when
              Inspector is enabled
              * loader/ResourceLoadNotifier.cpp: Include Inspector headers when
              Inspector is enabled
              * page/Chrome.cpp: Include Inspector headers when
              Inspector is enabled
              * page/Console.cpp: Include Inspector headers when
              Inspector is enabled
              * page/ContextMenuController.cpp: Include Inspector headers when
              Inspector is enabled
              * page/DOMWindow.cpp: Include Inspector headers when
              Inspector is enabled
              (WebCore::DOMWindow::dispatchEvent): Disabled InspectorInstrumentationCookie
              handling
              * page/EventHandler.cpp: Include Inspector headers when
              Inspector is enabled
              * page/Page.cpp: Include Inspector headers when
              Inspector is enabled
              * storage/Database.cpp: Include Inspector headers when
              Inspector is enabled
              * workers/AbstractWorker.cpp: Include Inspector headers when
              Inspector is enabled
              * workers/DefaultSharedWorkerRepository.cpp: Include Inspector headers when
              Inspector is enabled
              * workers/SharedWorker.cpp: Include Inspector headers when
              Inspector is enabled
              * workers/Worker.cpp: Include Inspector headers when
              Inspector is enabled
              * workers/WorkerContext.cpp: Include Inspector headers when
              Inspector is enabled
              * workers/WorkerMessagingProxy.cpp: Include Inspector headers when
              Inspector is enabled
              * xml/XMLHttpRequest.cpp: Include Inspector headers when
              Inspector is enabled
              (WebCore::XMLHttpRequest::callReadyStateChangeListener): Disabled
              InspectorInstrumentationCookie handling
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab3d4bc5
    • tkent@chromium.org's avatar
      2011-01-01 Kent Tamura <tkent@chromium.org> · 64f179f4
      tkent@chromium.org authored
              Unreviewed, test expectation update.
      
              One more rebaseline for a spelling test, and remove passing tests from
              test_expectations.txt.
      
              * platform/chromium-linux/editing/spelling/inline_spelling_markers-expected.checksum: Added.
              * platform/chromium-linux/editing/spelling/inline_spelling_markers-expected.png: Added.
              * platform/chromium-win/editing/spelling/inline_spelling_markers-expected.checksum: Added.
              * platform/chromium-win/editing/spelling/inline_spelling_markers-expected.png: Added.
              * platform/chromium-win/editing/spelling/inline_spelling_markers-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64f179f4
    • tkent@chromium.org's avatar
      Unreviewed, test expectation update. · ec4d8df2
      tkent@chromium.org authored
      r74844 enabled spell checker on Chromium Linux and Chromium
      Windows. So we need to update all of images with misspelled words.
      
      * platform/chromium-linux/editing/deleting/delete-3928305-fix-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-3928305-fix-expected.png:
      * platform/chromium-linux/editing/deleting/delete-3959464-fix-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-3959464-fix-expected.png:
      * platform/chromium-linux/editing/deleting/delete-and-undo-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-and-undo-expected.png:
      * platform/chromium-linux/editing/deleting/delete-block-contents-003-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-block-contents-003-expected.png:
      * platform/chromium-linux/editing/deleting/delete-contiguous-ws-001-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-contiguous-ws-001-expected.png:
      * platform/chromium-linux/editing/deleting/delete-tab-002-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-tab-002-expected.png:
      * platform/chromium-linux/editing/deleting/delete-tab-003-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-tab-003-expected.png:
      * platform/chromium-linux/editing/deleting/delete-to-select-table-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-to-select-table-expected.png:
      * platform/chromium-linux/editing/deleting/delete-trailing-ws-002-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-trailing-ws-002-expected.png:
      * platform/chromium-linux/editing/deleting/delete-ws-fixup-001-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-ws-fixup-001-expected.png:
      * platform/chromium-linux/editing/deleting/delete-ws-fixup-002-expected.checksum:
      * platform/chromium-linux/editing/deleting/delete-ws-fixup-002-expected.png:
      * platform/chromium-linux/editing/execCommand/5569741-expected.checksum:
      * platform/chromium-linux/editing/execCommand/5569741-expected.png:
      * platform/chromium-linux/editing/execCommand/insert-list-and-stitch-expected.checksum:
      * platform/chromium-linux/editing/execCommand/insert-list-and-stitch-expected.png:
      * platform/chromium-linux/editing/execCommand/insertHorizontalRule-expected.checksum:
      * platform/chromium-linux/editing/execCommand/insertHorizontalRule-expected.png:
      * platform/chromium-linux/editing/execCommand/outdent-selection-expected.checksum:
      * platform/chromium-linux/editing/execCommand/outdent-selection-expected.png:
      * platform/chromium-linux/editing/inserting/5418891-expected.checksum:
      * platform/chromium-linux/editing/inserting/5418891-expected.png:
      * platform/chromium-linux/editing/inserting/editing-empty-divs-expected.checksum:
      * platform/chromium-linux/editing/inserting/editing-empty-divs-expected.png:
      * platform/chromium-linux/editing/inserting/insert-3907422-fix-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-3907422-fix-expected.png:
      * platform/chromium-linux/editing/inserting/insert-br-004-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-br-004-expected.png:
      * platform/chromium-linux/editing/inserting/insert-br-005-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-br-005-expected.png:
      * platform/chromium-linux/editing/inserting/insert-br-007-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-br-007-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-007-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-007-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-012-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-012-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-013-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-013-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-014-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-014-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-015-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-015-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-016-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-016-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-017-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-017-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-018-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-018-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-019-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-019-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-020-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-020-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-021-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-021-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-022-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-022-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-025-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-025-expected.png:
      * platform/chromium-linux/editing/inserting/insert-div-027-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-div-027-expected.png:
      * platform/chromium-linux/editing/inserting/insert-paragraph-02-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-paragraph-02-expected.png:
      * platform/chromium-linux/editing/inserting/insert-paragraph-03-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-paragraph-03-expected.png:
      * platform/chromium-linux/editing/inserting/insert-tab-002-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-tab-002-expected.png:
      * platform/chromium-linux/editing/inserting/insert-tab-003-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-tab-003-expected.png:
      * platform/chromium-linux/editing/inserting/insert-text-with-newlines-expected.checksum:
      * platform/chromium-linux/editing/inserting/insert-text-with-newlines-expected.png:
      * platform/chromium-linux/editing/inserting/paragraph-separator-01-expected.checksum:
      * platform/chromium-linux/editing/inserting/paragraph-separator-01-expected.png:
      * platform/chromium-linux/editing/inserting/paragraph-separator-02-expected.checksum:
      * platform/chromium-linux/editing/inserting/paragraph-separator-02-expected.png:
      * platform/chromium-linux/editing/inserting/paragraph-separator-03-expected.checksum:
      * platform/chromium-linux/editing/inserting/paragraph-separator-03-expected.png:
      * platform/chromium-linux/editing/inserting/return-key-with-selection-001-expected.checksum:
      * platform/chromium-linux/editing/inserting/return-key-with-selection-001-expected.png:
      * platform/chromium-linux/editing/inserting/return-key-with-selection-002-expected.checksum:
      * platform/chromium-linux/editing/inserting/return-key-with-selection-002-expected.png:
      * platform/chromium-linux/editing/inserting/return-key-with-selection-003-expected.checksum:
      * platform/chromium-linux/editing/inserting/return-key-with-selection-003-expected.png:
      * platform/chromium-linux/editing/inserting/typing-002-expected.checksum:
      * platform/chromium-linux/editing/inserting/typing-002-expected.png:
      * platform/chromium-linux/editing/inserting/typing-around-br-001-expected.checksum:
      * platform/chromium-linux/editing/inserting/typing-around-br-001-expected.png:
      * platform/chromium-linux/editing/pasteboard/4242293-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/4242293-expected.png:
      * platform/chromium-linux/editing/pasteboard/4944770-1-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/4944770-1-expected.png:
      * platform/chromium-linux/editing/pasteboard/8145-2-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/8145-2-expected.png:
      * platform/chromium-linux/editing/pasteboard/cut-text-001-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/cut-text-001-expected.png:
      * platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png:
      * platform/chromium-linux/editing/pasteboard/merge-after-delete-1-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/merge-after-delete-1-expected.png:
      * platform/chromium-linux/editing/pasteboard/merge-after-delete-2-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/merge-after-delete-2-expected.png:
      * platform/chromium-linux/editing/pasteboard/merge-after-delete-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/merge-after-delete-expected.png:
      * platform/chromium-linux/editing/pasteboard/merge-end-4-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/merge-end-4-expected.png:
      * platform/chromium-linux/editing/pasteboard/merge-end-blockquote-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/merge-end-blockquote-expected.png:
      * platform/chromium-linux/editing/pasteboard/merge-end-list-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/merge-end-list-expected.png:
      * platform/chromium-linux/editing/pasteboard/merge-end-table-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/merge-end-table-expected.png:
      * platform/chromium-linux/editing/pasteboard/paste-blockquote-3-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/paste-blockquote-3-expected.png:
      * platform/chromium-linux/editing/pasteboard/paste-text-001-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/paste-text-001-expected.png:
      * platform/chromium-linux/editing/pasteboard/paste-text-012-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/paste-text-012-expected.png:
      * platform/chromium-linux/editing/pasteboard/paste-text-013-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/paste-text-013-expected.png:
      * platform/chromium-linux/editing/pasteboard/paste-text-014-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/paste-text-014-expected.png:
      * platform/chromium-linux/editing/pasteboard/paste-text-019-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/paste-text-019-expected.png:
      * platform/chromium-linux/editing/pasteboard/paste-xml-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/paste-xml-expected.png:
      * platform/chromium-linux/editing/pasteboard/undoable-fragment-removes-expected.checksum:
      * platform/chromium-linux/editing/pasteboard/undoable-fragment-removes-expected.png:
      * platform/chromium-linux/editing/selection/13804-expected.checksum:
      * platform/chromium-linux/editing/selection/13804-expected.png:
      * platform/chromium-linux/editing/selection/5234383-1-expected.checksum:
      * platform/chromium-linux/editing/selection/5234383-1-expected.png:
      * platform/chromium-linux/editing/selection/5234383-2-expected.checksum:
      * platform/chromium-linux/editing/selection/5234383-2-expected.png:
      * platform/chromium-linux/editing/selection/extend-by-word-001-expected.checksum:
      * platform/chromium-linux/editing/selection/extend-by-word-001-expected.png:
      * platform/chromium-linux/editing/selection/move-backwords-by-word-001-expected.checksum:
      * platform/chromium-linux/editing/selection/move-backwords-by-word-001-expected.png:
      * platform/chromium-linux/editing/selection/move-by-character-001-expected.checksum:
      * platform/chromium-linux/editing/selection/move-by-character-001-expected.png:
      * platform/chromium-linux/editing/selection/move-by-line-001-expected.checksum:
      * platform/chromium-linux/editing/selection/move-by-line-001-expected.png:
      * platform/chromium-linux/editing/selection/move-by-word-001-expected.checksum:
      * platform/chromium-linux/editing/selection/move-by-word-001-expected.png:
      * platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.checksum:
      * platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.png:
      * platform/chromium-linux/editing/selection/unrendered-002-expected.checksum:
      * platform/chromium-linux/editing/selection/unrendered-002-expected.png:
      * platform/chromium-linux/editing/spelling/spelling-expected.checksum:
      * platform/chromium-linux/editing/spelling/spelling-expected.png:
      * platform/chromium-linux/editing/style/5046875-2-expected.checksum:
      * platform/chromium-linux/editing/style/5046875-2-expected.png:
      * platform/chromium-linux/editing/style/block-styles-007-expected.checksum:
      * platform/chromium-linux/editing/style/block-styles-007-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-002-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-002-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-003-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-003-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-004-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-004-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-006-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-006-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-008-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-008-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-009-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-009-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-011-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-011-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-012-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-012-expected.png:
      * platform/chromium-linux/editing/style/create-block-for-style-013-expected.checksum:
      * platform/chromium-linux/editing/style/create-block-for-style-013-expected.png:
      * platform/chromium-linux/fast/dom/blur-contenteditable-expected.checksum:
      * platform/chromium-linux/fast/dom/blur-contenteditable-expected.png:
      * platform/chromium-win/editing/deleting/delete-3928305-fix-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-3928305-fix-expected.png:
      * platform/chromium-win/editing/deleting/delete-3959464-fix-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-3959464-fix-expected.png:
      * platform/chromium-win/editing/deleting/delete-and-undo-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-and-undo-expected.png:
      * platform/chromium-win/editing/deleting/delete-block-contents-003-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-block-contents-003-expected.png:
      * platform/chromium-win/editing/deleting/delete-contiguous-ws-001-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-contiguous-ws-001-expected.png:
      * platform/chromium-win/editing/deleting/delete-tab-002-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-tab-002-expected.png:
      * platform/chromium-win/editing/deleting/delete-tab-003-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-tab-003-expected.png:
      * platform/chromium-win/editing/deleting/delete-to-select-table-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-to-select-table-expected.png:
      * platform/chromium-win/editing/deleting/delete-trailing-ws-002-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-trailing-ws-002-expected.png:
      * platform/chromium-win/editing/deleting/delete-ws-fixup-001-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-ws-fixup-001-expected.png:
      * platform/chromium-win/editing/deleting/delete-ws-fixup-002-expected.checksum:
      * platform/chromium-win/editing/deleting/delete-ws-fixup-002-expected.png:
      * platform/chromium-win/editing/deleting/smart-delete-002-expected.checksum:
      * platform/chromium-win/editing/deleting/smart-delete-002-expected.png:
      * platform/chromium-win/editing/deleting/smart-delete-003-expected.checksum:
      * platform/chromium-win/editing/deleting/smart-delete-003-expected.png:
      * platform/chromium-win/editing/deleting/smart-delete-004-expected.checksum:
      * platform/chromium-win/editing/deleting/smart-delete-004-expected.png:
      * platform/chromium-win/editing/execCommand/5569741-expected.checksum:
      * platform/chromium-win/editing/execCommand/5569741-expected.png:
      * platform/chromium-win/editing/execCommand/insert-list-and-stitch-expected.checksum:
      * platform/chromium-win/editing/execCommand/insert-list-and-stitch-expected.png:
      * platform/chromium-win/editing/execCommand/insertHorizontalRule-expected.checksum:
      * platform/chromium-win/editing/execCommand/insertHorizontalRule-expected.png:
      * platform/chromium-win/editing/execCommand/outdent-selection-expected.checksum:
      * platform/chromium-win/editing/execCommand/outdent-selection-expected.png:
      * platform/chromium-win/editing/inserting/5418891-expected.checksum:
      * platform/chromium-win/editing/inserting/5418891-expected.png:
      * platform/chromium-win/editing/inserting/editing-empty-divs-expected.checksum:
      * platform/chromium-win/editing/inserting/editing-empty-divs-expected.png:
      * platform/chromium-win/editing/inserting/insert-3907422-fix-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-3907422-fix-expected.png:
      * platform/chromium-win/editing/inserting/insert-br-004-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-br-004-expected.png:
      * platform/chromium-win/editing/inserting/insert-br-005-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-br-005-expected.png:
      * platform/chromium-win/editing/inserting/insert-br-007-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-br-007-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-007-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-007-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-012-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-012-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-013-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-013-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-014-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-014-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-015-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-015-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-016-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-016-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-017-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-017-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-018-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-018-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-019-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-019-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-020-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-020-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-021-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-021-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-022-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-022-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-025-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-025-expected.png:
      * platform/chromium-win/editing/inserting/insert-div-027-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-div-027-expected.png:
      * platform/chromium-win/editing/inserting/insert-paragraph-02-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-paragraph-02-expected.png:
      * platform/chromium-win/editing/inserting/insert-paragraph-03-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-paragraph-03-expected.png:
      * platform/chromium-win/editing/inserting/insert-tab-002-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-tab-002-expected.png:
      * platform/chromium-win/editing/inserting/insert-tab-003-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-tab-003-expected.png:
      * platform/chromium-win/editing/inserting/insert-text-with-newlines-expected.checksum:
      * platform/chromium-win/editing/inserting/insert-text-with-newlines-expected.png:
      * platform/chromium-win/editing/inserting/paragraph-separator-01-expected.checksum:
      * platform/chromium-win/editing/inserting/paragraph-separator-01-expected.png:
      * platform/chromium-win/editing/inserting/paragraph-separator-02-expected.checksum:
      * platform/chromium-win/editing/inserting/paragraph-separator-02-expected.png:
      * platform/chromium-win/editing/inserting/paragraph-separator-03-expected.checksum:
      * platform/chromium-win/editing/inserting/paragraph-separator-03-expected.png:
      * platform/chromium-win/editing/inserting/return-key-with-selection-001-expected.checksum:
      * platform/chromium-win/editing/inserting/return-key-with-selection-001-expected.png:
      * platform/chromium-win/editing/inserting/return-key-with-selection-002-expected.checksum:
      * platform/chromium-win/editing/inserting/return-key-with-selection-002-expected.png:
      * platform/chromium-win/editing/inserting/return-key-with-selection-003-expected.checksum:
      * platform/chromium-win/editing/inserting/return-key-with-selection-003-expected.png:
      * platform/chromium-win/editing/inserting/typing-002-expected.checksum:
      * platform/chromium-win/editing/inserting/typing-002-expected.png:
      * platform/chromium-win/editing/inserting/typing-around-br-001-expected.checksum:
      * platform/chromium-win/editing/inserting/typing-around-br-001-expected.png:
      * platform/chromium-win/editing/pasteboard/4242293-expected.checksum:
      * platform/chromium-win/editing/pasteboard/4242293-expected.png:
      * platform/chromium-win/editing/pasteboard/4944770-1-expected.checksum:
      * platform/chromium-win/editing/pasteboard/4944770-1-expected.png:
      * platform/chromium-win/editing/pasteboard/8145-2-expected.checksum:
      * platform/chromium-win/editing/pasteboard/8145-2-expected.png:
      * platform/chromium-win/editing/pasteboard/cut-text-001-expected.checksum:
      * platform/chromium-win/editing/pasteboard/cut-text-001-expected.png:
      * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.checksum:
      * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png:
      * platform/chromium-win/editing/pasteboard/merge-after-delete-1-expected.checksum:
      * platform/chromium-win/editing/pasteboard/merge-after-delete-1-expected.png:
      * platform/chromium-win/editing/pasteboard/merge-after-delete-2-expected.checksum:
      * platform/chromium-win/editing/pasteboard/merge-after-delete-2-expected.png:
      * platform/chromium-win/editing/pasteboard/merge-after-delete-expected.checksum:
      * platform/chromium-win/editing/pasteboard/merge-after-delete-expected.png:
      * platform/chromium-win/editing/pasteboard/merge-end-4-expected.checksum:
      * platform/chromium-win/editing/pasteboard/merge-end-4-expected.png:
      * platform/chromium-win/editing/pasteboard/merge-end-blockquote-expected.checksum:
      * platform/chromium-win/editing/pasteboard/merge-end-blockquote-expected.png:
      * platform/chromium-win/editing/pasteboard/merge-end-list-expected.checksum:
      * platform/chromium-win/editing/pasteboard/merge-end-list-expected.png:
      * platform/chromium-win/editing/pasteboard/merge-end-table-expected.checksum:
      * platform/chromium-win/editing/pasteboard/merge-end-table-expected.png:
      * platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.checksum:
      * platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.png:
      * platform/chromium-win/editing/pasteboard/paste-text-001-expected.checksum:
      * platform/chromium-win/editing/pasteboard/paste-text-001-expected.png:
      * platform/chromium-win/editing/pasteboard/paste-text-012-expected.checksum:
      * platform/chromium-win/editing/pasteboard/paste-text-012-expected.png:
      * platform/chromium-win/editing/pasteboard/paste-text-013-expected.checksum:
      * platform/chromium-win/editing/pasteboard/paste-text-013-expected.png:
      * platform/chromium-win/editing/pasteboard/paste-text-014-expected.checksum:
      * platform/chromium-win/editing/pasteboard/paste-text-014-expected.png:
      * platform/chromium-win/editing/pasteboard/paste-text-019-expected.checksum:
      * platform/chromium-win/editing/pasteboard/paste-text-019-expected.png:
      * platform/chromium-win/editing/pasteboard/paste-xml-expected.checksum:
      * platform/chromium-win/editing/pasteboard/paste-xml-expected.png:
      * platform/chromium-win/editing/pasteboard/undoable-fragment-removes-expected.checksum:
      * platform/chromium-win/editing/pasteboard/undoable-fragment-removes-expected.png:
      * platform/chromium-win/editing/selection/13804-expected.checksum:
      * platform/chromium-win/editing/selection/13804-expected.png:
      * platform/chromium-win/editing/selection/5234383-1-expected.checksum:
      * platform/chromium-win/editing/selection/5234383-1-expected.png:
      * platform/chromium-win/editing/selection/5234383-2-expected.checksum:
      * platform/chromium-win/editing/selection/5234383-2-expected.png:
      * platform/chromium-win/editing/selection/extend-by-word-001-expected.checksum:
      * platform/chromium-win/editing/selection/extend-by-word-001-expected.png:
      * platform/chromium-win/editing/selection/move-backwords-by-word-001-expected.checksum:
      * platform/chromium-win/editing/selection/move-backwords-by-word-001-expected.png:
      * platform/chromium-win/editing/selection/move-by-character-001-expected.checksum:
      * platform/chromium-win/editing/selection/move-by-character-001-expected.png:
      * platform/chromium-win/editing/selection/move-by-line-001-expected.checksum:
      * platform/chromium-win/editing/selection/move-by-line-001-expected.png:
      * platform/chromium-win/editing/selection/move-by-word-001-expected.checksum:
      * platform/chromium-win/editing/selection/move-by-word-001-expected.png:
      * platform/chromium-win/editing/selection/select-from-textfield-outwards-expected.checksum:
      * platform/chromium-win/editing/selection/select-from-textfield-outwards-expected.png:
      * platform/chromium-win/editing/selection/unrendered-002-expected.checksum:
      * platform/chromium-win/editing/selection/unrendered-002-expected.png:
      * platform/chromium-win/editing/spelling/spelling-expected.checksum:
      * platform/chromium-win/editing/spelling/spelling-expected.png:
      * platform/chromium-win/editing/style/5046875-2-expected.checksum:
      * platform/chromium-win/editing/style/5046875-2-expected.png:
      * platform/chromium-win/editing/style/block-styles-007-expected.checksum:
      * platform/chromium-win/editing/style/block-styles-007-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-002-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-002-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-003-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-003-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-004-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-004-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-006-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-006-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-008-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-008-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-009-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-009-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-011-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-011-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-012-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-012-expected.png:
      * platform/chromium-win/editing/style/create-block-for-style-013-expected.checksum:
      * platform/chromium-win/editing/style/create-block-for-style-013-expected.png:
      * platform/chromium-win/fast/dom/blur-contenteditable-expected.checksum:
      * platform/chromium-win/fast/dom/blur-contenteditable-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec4d8df2
    • tkent@chromium.org's avatar
      2010-12-31 Kent Tamura <tkent@chromium.org> · 5c2ec832
      tkent@chromium.org authored
              Reviewed by Eric Seidel.
      
              [DRT/Chromium] Enable mock spell checker on non-OSX
              https://bugs.webkit.org/show_bug.cgi?id=51401
      
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::spellCheck):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c2ec832
    • abarth@webkit.org's avatar
      2010-12-31 Adam Barth <abarth@webkit.org> · c73581d2
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              fast/loader/about-blank-hash-change.html fails on Chromium
              https://bugs.webkit.org/show_bug.cgi?id=51788
      
              I'm unable to reproduce the failure locally, so this patch is slightly
              speculative.  We need to be slighly more careful how we compare the
              fragment identifiers for Chromium because Chromium uses a URL parser
              that is more agressive about canonicalization.
      
              * page/Location.cpp:
              (WebCore::Location::setHash):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c73581d2
    • mrobinson@webkit.org's avatar
      2010-12-31 Martin Robinson <mrobinson@igalia.com> · fa5135b5
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Use GLib/GIO API for FileSystemGtk implementation
              https://bugs.webkit.org/show_bug.cgi?id=51617
      
              Complete implementation of FileSystem platform code for GLib. This
              converts remaining API points using POSIX calls to platform-independent
              GLib calls and fixes other compilation errors.
      
              No new tests. This code will be tested when an implementation
              of beginDragWithFiles is complete.
      
              (WebCore::JSDirectoryEntry::getFile):
              (WebCore::JSDirectoryEntry::getDirectory):
              * platform/FileSystem.h: Added forward declarations for GLib types to
              avoid GLib includes and changed the PlatformFileHandle to be a GIOStream.
              * platform/gtk/FileSystemGtk.cpp:
              (WebCore::openTemporaryFile): Reimplement using only GLib calls.
              (WebCore::openFile): Ditto.
              (WebCore::closeFile): Ditto.
              (WebCore::seekFile): Added implementation.
              (WebCore::writeToFile): Reimplement using only GLib calls.
              (WebCore::readFromFile): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa5135b5
    • darin@apple.com's avatar
      2010-12-31 Darin Adler <darin@apple.com> · 7e8868d3
      darin@apple.com authored
              Reviewed by Dan Bernstein.
      
              Some renaming and refactoring of form element code
              https://bugs.webkit.org/show_bug.cgi?id=51784
      
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              (WebCore::JSHTMLSelectElement::remove): Call new overload of remove
              for option elements instead of putting the logic in the binding.
      
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::HTMLButtonElement): Updated for name changes.
              (WebCore::HTMLButtonElement::defaultEventHandler): Renamed argument to
              "event" instead of "evt". Also updated for name changes.
              (WebCore::HTMLButtonElement::isActivatedSubmit): Ditto.
              (WebCore::HTMLButtonElement::setActivatedSubmit): Ditto.
              (WebCore::HTMLButtonElement::appendFormData): Ditto.
              * html/HTMLButtonElement.h: Renamed m_activeSubmit to m_isActivatedSubmit
              to match the getter function name. The name still doesn't seem great.
      
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::HTMLFormElement): Updated for name changes.
              (WebCore::HTMLFormElement::~HTMLFormElement): Use autoComplete function
              instead of m_autocomplete data member.
              (WebCore::HTMLFormElement::rendererIsNeeded): Use m_wasDemoted data member
              instead of otherwise-unused isDemoted function.
              (WebCore::HTMLFormElement::submitImplicitly): Updated for name changes.
              (WebCore::HTMLFormElement::validateInteractively): Removed code to clear
              m_insubmit. This is now handled by the caller, prepareForSubmission.
              (WebCore::HTMLFormElement::prepareForSubmission): Renamed. Updated for
              name changes. Moved code to clear m_isSubmittingOrPreparingForSubmission
              here from validateInteractively. Removed unneeded check of m_doingsubmit
              boolean before setting it.
              (WebCore::HTMLFormElement::submit): Factored this function into two.
              One for JavaScript and one for non-JavaScript. Neither function needs a frame
              argument, because the question being asked, anyPageIsProcessingUserGesture,
              is a question asked of an entire page group, not a specific frame or page,
              so it's not important which is the active frame.
              (WebCore::HTMLFormElement::submitFromJavaScript): Ditto.
              (WebCore::HTMLFormElement::reset): Updated for name changes.
              (WebCore::HTMLFormElement::parseMappedAttribute): Removed code to parse
              acceptAttr and got rid of code to set m_autocomplete.
              (WebCore::HTMLFormElement::elementForAlias): Changed return type to a raw
              pointer.
              (WebCore::HTMLFormElement::getNamedElements): Updated to use raw pointer
              and the vector find function. Added a FIXME about the comment.
              (WebCore::HTMLFormElement::documentDidBecomeActive): Use autoComplete
              function instead of m_autocomplete data member.
              (WebCore::HTMLFormElement::willMoveToNewOwnerDocument): Ditto.
              (WebCore::HTMLFormElement::didMoveToNewOwnerDocument): Ditto.
              (WebCore::HTMLFormElement::autoComplete): Ditto.
              * html/HTMLFormElement.h: Added a FIXME about renaming the autoComplete
              function. Renamed prepareSubmit to prepareForSubmission. Got rid of the
              frame argument from the submit function and added a new submitFromJavaScript
              variant. Removed the unneeded isDemoted function. Changed the return type
              of elementForAlias to a raw pointer. Removed m_autocomplete. Renamed
              m_insubmit to m_isSubmittingOrPreparingForSubmission, m_doingsubmit to
              m_shouldSubmit, m_inreset to m_inResetFunction, m_malformed to m_wasMalformed,
              m_demoted to m_wasDemoted. Use plain bool instead of bitfields.
      
              * html/HTMLFormElement.idl: Use the function named submitFromJavaScript
              instead of using CallWith=DynamicFrame because we don't need to know
              what frame is calling. If we did, it's not clear that the "dynamic"
              frame would be the right one anyway.
      
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::remove): Added an overload that takes an option
              element, since the JavaScript binding supports this.
              * html/HTMLSelectElement.h: Ditto.
      
              * html/ImageInputType.cpp:
              (WebCore::ImageInputType::handleDOMActivateEvent): Updated for name changes.
              * html/ImageInputType.h: Ditto.
              * html/SubmitInputType.cpp:
              (WebCore::SubmitInputType::handleDOMActivateEvent): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e8868d3
    • jberlin@webkit.org's avatar
      The correct temporary fix for media/video-element-other-namespace-crash.html timing out on · 1c8a8b4a
      jberlin@webkit.org authored
      the Windows 7 Release Test bots is to add it to the Windows skipped list.
      
      Unreviewed.
      
      https://bugs.webkit.org/show_bug.cgi?id=51787
      
      * platform/win/Skipped:
      * platform/win/media/video-element-other-namespace-crash-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c8a8b4a
    • dbates@webkit.org's avatar
      2010-12-31 Daniel Bates <dbates@rim.com> · 9d7dff1a
      dbates@webkit.org authored
              Reviewed by Darin Adler.
      
              Pass style for <area> instead of associated <img> when querying whether
              the theme draws the focus ring for an <area>
              https://bugs.webkit.org/show_bug.cgi?id=51632
      
              Fixes an issue where the style for the associated <img> of an <area>
              was passed when considering whether the theme should draw a focus ring
              for the <area>. Instead, we should pass the theme the style for the <area>.
      
              It's not possible to test this at this time since there are no themes
              that override focus ring drawing for <area>s.
      
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::paintFocusRing): Moved call to RenderTheme::supportsFocusRing()
              such that it's called with respect to the focused <area>.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d7dff1a
  3. 31 Dec, 2010 23 commits
    • abarth@webkit.org's avatar
      2010-12-31 Adam Barth <abarth@webkit.org> · 5b65a9b1
      abarth@webkit.org authored
              Update SVN ignore property to hide two more external dependencies.
      
              * chromium: Modified property svn:ignore.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b65a9b1
    • jberlin@webkit.org's avatar
      Add Windows-specific (failing) expected results for · 40a9b923
      jberlin@webkit.org authored
      media/video-element-other-namespace-crash.html in order to get the Windows 7 Release test bot green again.
      Unreviewed.
      https://bugs.webkit.org/show_bug.cgi?id=51787
      
      * platform/win/media/video-element-other-namespace-crash-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40a9b923
    • jberlin@webkit.org's avatar
      Add Windows-specific (failing) expected results for · 9fd29a72
      jberlin@webkit.org authored
      svg/dom/length-list-parser.html in order to get the Windows 7 Release test bot green again.
      Unreviewed.
      https://bugs.webkit.org/show_bug.cgi?id=51786
      
      * platform/win/svg/dom: Added.
      * platform/win/svg/dom/length-list-parser-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fd29a72
    • abarth@webkit.org's avatar
      2010-12-31 Adam Barth <abarth@webkit.org> · 091ae8ce
      abarth@webkit.org authored
              Remove custom Chromium expectation for invalid-protocol.  Now that we
              share more code with JavaScriptCore, we throw exactly the same
              exception and therefore can share results.
      
              * platform/chromium/fast/dom/Window/invalid-protocol-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      091ae8ce
    • darin@apple.com's avatar
      * WebCore.xcodeproj/project.pbxproj: Added back the language. · fa77fc94
      darin@apple.com authored
      Developers should be using Xcode 3.2.5 or newer.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa77fc94
    • abarth@webkit.org's avatar
      2010-12-31 Adam Barth <abarth@webkit.org> · 90ba778d
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Move V8 to WebCore Location implementation
              https://bugs.webkit.org/show_bug.cgi?id=51768
      
              * bindings/generic/BindingFrame.h:
              * bindings/generic/BindingLocation.h:
              * bindings/v8/V8Binding.h:
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::V8DOMWindowShell::setLocation):
              * bindings/v8/V8Utilities.cpp:
              * bindings/v8/V8Utilities.h:
              * bindings/v8/custom/V8LocationCustom.cpp:
              (WebCore::V8Location::hashAccessorSetter):
              (WebCore::V8Location::hostAccessorSetter):
              (WebCore::V8Location::hostnameAccessorSetter):
              (WebCore::V8Location::hrefAccessorSetter):
              (WebCore::V8Location::pathnameAccessorSetter):
              (WebCore::V8Location::portAccessorSetter):
              (WebCore::V8Location::protocolAccessorSetter):
              (WebCore::V8Location::searchAccessorSetter):
              (WebCore::V8Location::reloadCallback):
              (WebCore::V8Location::replaceCallback):
              (WebCore::V8Location::assignCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90ba778d
    • commit-queue@webkit.org's avatar
      2010-12-31 Yi Shen <yi.4.shen@nokia.com> · 50a5de37
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Make retrieving extraMediaControlsStyleSheet be page dependent.
              https://bugs.webkit.org/show_bug.cgi?id=51752
      
              Use themeForPage to retrieve extraMediaControlsStyleSheet for media
              controls.
      
              No new tests because no platform-specific theme implementation uses
              the passed page pointer yet.
      
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::styleForElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50a5de37
    • abarth@webkit.org's avatar
      2010-12-31 Adam Barth <abarth@webkit.org> · 37a1ceff
      abarth@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              Remove Tools/Scripts/wkstyle
              https://bugs.webkit.org/show_bug.cgi?id=51774
      
              This script appears to not have been touched in a while and seems to
              have been replaced by check-webkit-style.
      
              * Scripts/wkstyle: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37a1ceff
    • loislo@chromium.org's avatar
      2010-12-31 Ilya Tikhonovsky <loislo@chromium.org> · 29574ecc
      loislo@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [REGRESSION] WebInspector.ResourcesPanel.prototype.canShowSourceLine() broken.
      
              https://bugs.webkit.org/show_bug.cgi?id=51709
      
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.canShowSourceLine):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29574ecc
    • paroga@webkit.org's avatar
      2010-12-31 Patrick Gansterer <paroga@webkit.org> · bd0f2e39
      paroga@webkit.org authored
              Reviewed by Darin Adler.
      
              Add a fast case for ASCII strings in HashAndUTF8CharactersTranslator::equal
              https://bugs.webkit.org/show_bug.cgi?id=50517
      
              This change shows about 2% performance win on the xml-parser benchmark.
      
              * wtf/text/AtomicString.cpp:
              (WTF::HashAndUTF8CharactersTranslator::equal):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd0f2e39
    • paroga@webkit.org's avatar
      2010-12-31 Patrick Gansterer <paroga@webkit.org> · 06afa2d8
      paroga@webkit.org authored
              Unreviewed build fix after r74800.
      
              * bindings/js/JSDOMWindowCustom.cpp: Add missing header.
              * bindings/js/JSLocationCustom.cpp: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06afa2d8
    • loislo@chromium.org's avatar
      2010-12-31 Ilya Tikhonovsky <loislo@chromium.org> · bdc00940
      loislo@chromium.org authored
              Unreviewed. Coding style fix.
      
              * DumpRenderTree/chromium/TestShell.h:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdc00940
    • loislo@chromium.org's avatar
      2010-12-31 Ilya Tikhonovsky <loislo@chromium.org> · 9de6e6dd
      loislo@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Inspector's tests are very slow on Win(Dbg).
      
              It was a problem with Chromium DRT. DevToolsAgent object instance was
              attached not only to the inspected page but to the DevTools window too.
              As result all the inspector files were interpreted as a content of inspected page
              and were transfered to the DevTools scripts panel for debugging etc.
      
              https://bugs.webkit.org/show_bug.cgi?id=51735
      
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::TestShell):
              (TestShell::bindJSObjectsToWindow):
              (TestShell::createNewWindow):
              * DumpRenderTree/chromium/TestShell.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9de6e6dd
    • abarth@webkit.org's avatar
      Move HTML and XML parser benchmarks into PerformanceTests/Parser · db82c3c6
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51772
      
      Rubber-stamped by Eric Seidel.
      
      Actually move the directory.
      
      * PerformanceTests/Parser: Copied from WebCore/benchmarks/parser.
      
      PerformanceTests/Parser: 
      
      Add a ChangeLog for tracking changes to the Parser PerformanceTest.
      
      * ChangeLog: Added.
      
      WebCore: 
      
      Remove the benchmarks folder now that it's empty.  Future benchmarks
      should go in the PerformanceTests directory.
      
      * benchmarks: Removed.
      * benchmarks/parser: Removed.
      * benchmarks/parser/html-parser.html: Removed.
      * benchmarks/parser/resources: Removed.
      * benchmarks/parser/resources/html5.html: Removed.
      * benchmarks/parser/resources/runner.js: Removed.
      * benchmarks/parser/xml-parser.html: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db82c3c6
    • abarth@webkit.org's avatar
      2010-12-31 Patrick Gansterer <paroga@webkit.org> · 5878fac5
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Add XML parser benchmark
              https://bugs.webkit.org/show_bug.cgi?id=51612
      
              Move the JavaScript code of html parser into a separate file to share it with xml parser.
      
              * benchmarks/parser/html-parser.html:
              * benchmarks/parser/resources/runner.js: Copied from WebCore/benchmarks/parser/html-parser.html.
              (runFunction):
              (run):
              (start):
              * benchmarks/parser/xml-parser.html: Copied from WebCore/benchmarks/parser/html-parser.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5878fac5
    • abarth@webkit.org's avatar
      Move PageLoadTests to PerformanceTests/PageLoad · c871a7fa
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51771
      
      Rubber-stamped by Eric Seidel.
      
      Actually move the directory.
      
      * PageLoadTests: Removed.
      * PageLoadTests/svg: Removed.
      * PageLoadTests/svg/LICENSES: Removed.
      * PageLoadTests/svg/files: Removed.
      * PageLoadTests/svg/files/33041-Samurai.svg: Removed.
      * PageLoadTests/svg/files/42450-under the see.svg: Removed.
      * PageLoadTests/svg/files/42470-flower_from_my_garden_v2.svg: Removed.
      * PageLoadTests/svg/files/44057-drops on a blade.svg: Removed.
      * PageLoadTests/svg/files/Harvey_Rayner.svg: Removed.
      * PageLoadTests/svg/files/az-lizard_benji_park_01.svg: Removed.
      * PageLoadTests/svg/files/bamboo_01.svg: Removed.
      * PageLoadTests/svg/files/cacuts_01.svg: Removed.
      * PageLoadTests/svg/files/cowboy.svg: Removed.
      * PageLoadTests/svg/files/crawfish2_ganson.svg: Removed.
      * PageLoadTests/svg/files/deb9frac1.svg: Removed.
      * PageLoadTests/svg/files/food_leif_lodahl_01.svg: Removed.
      * PageLoadTests/svg/files/france.svg: Removed.
      * PageLoadTests/svg/files/francobollo_gnome_ezechi_02.svg: Removed.
      * PageLoadTests/svg/files/gearflowers.svg: Removed.
      * PageLoadTests/svg/files/hereGear4.svg: Removed.
      * PageLoadTests/svg/files/mtsthelens.svg: Removed.
      * PageLoadTests/svg/files/mtsthelens0.jpg: Removed.
      * PageLoadTests/svg/files/world-iso.svg: Removed.
      * PageLoadTests/svg/files/worldcup.svg: Removed.
      * PageLoadTests/svg/svg.pltsuite: Removed.
      * PerformanceTests/PageLoad: Copied from PageLoadTests.
      * Sources/cmake/WebKitPackaging.cmake:
      
      PerformanceTests/PageLoad: 
      
      Update URLs to point to the new directory name.
      
      * svg/svg.pltsuite:
      
      Tools: 
      
      Update references to PageLoadTests to point to the new location.
      
      * Scripts/run-pageloadtest:
      * Scripts/webkitpy/common/config/build.py:
      
      Websites/bugs.webkit.org: 
      
      Update list of top-level open-source directories.
      
      * PrettyPatch/PrettyPatch.rb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c871a7fa
    • abarth@webkit.org's avatar
      Move SunSpider into PerformanceTests · 932a0117
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51769
      
      Rubber-stamped by Eric Seidel.
      
      Actually move the directory.
      
      * PerformanceTests: Added.
      * PerformanceTests/SunSpider: Copied from SunSpider.
      * Sources/cmake/WebKitPackaging.cmake:
      * SunSpider: Removed.
      * SunSpider/SunSpider.make: Removed.
      * SunSpider/TODO: Removed.
      * SunSpider/UNCOVERED: Removed.
      * SunSpider/hosted: Removed.
      * SunSpider/hosted/json2.js: Removed.
      * SunSpider/hosted/sunspider.css: Removed.
      * SunSpider/hosted/sunspider.html: Removed.
      * SunSpider/hosted/versions.html: Removed.
      * SunSpider/make-hosted: Removed.
      * SunSpider/resources: Removed.
      * SunSpider/resources/TEMPLATE.html: Removed.
      * SunSpider/resources/driver-TEMPLATE.html: Removed.
      * SunSpider/resources/results-TEMPLATE.html: Removed.
      * SunSpider/resources/sunspider-analyze-results.js: Removed.
      * SunSpider/resources/sunspider-compare-results.js: Removed.
      * SunSpider/resources/sunspider-standalone-compare.js: Removed.
      * SunSpider/resources/sunspider-standalone-driver.js: Removed.
      * SunSpider/sunspider: Removed.
      * SunSpider/sunspider-compare-results: Removed.
      * SunSpider/tests: Removed.
      * SunSpider/tests/parse-only: Removed.
      * SunSpider/tests/parse-only/LIST: Removed.
      * SunSpider/tests/parse-only/concat-jquery-mootools-prototype.js: Removed.
      * SunSpider/tests/parse-only/jquery-1.3.2.js: Removed.
      * SunSpider/tests/parse-only/mootools-1.2.2-core-nc.js: Removed.
      * SunSpider/tests/parse-only/prototype-1.6.0.3.js: Removed.
      * SunSpider/tests/sunspider-0.9: Removed.
      * SunSpider/tests/sunspider-0.9.1: Removed.
      * SunSpider/tests/sunspider-0.9.1/3d-cube.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/3d-morph.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/3d-raytrace.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/LIST: Removed.
      * SunSpider/tests/sunspider-0.9.1/access-binary-trees.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/access-fannkuch.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/access-nbody.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/access-nsieve.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/bitops-3bit-bits-in-byte.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/bitops-bits-in-byte.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/bitops-bitwise-and.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/bitops-nsieve-bits.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/controlflow-recursive.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/crypto-aes.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/crypto-md5.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/crypto-sha1.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/date-format-tofte.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/date-format-xparb.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/math-cordic.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/math-partial-sums.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/math-spectral-norm.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/regexp-dna.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/string-base64.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/string-fasta.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/string-tagcloud.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/string-unpack-code.js: Removed.
      * SunSpider/tests/sunspider-0.9.1/string-validate-input.js: Removed.
      * SunSpider/tests/sunspider-0.9/3d-cube.js: Removed.
      * SunSpider/tests/sunspider-0.9/3d-morph.js: Removed.
      * SunSpider/tests/sunspider-0.9/3d-raytrace.js: Removed.
      * SunSpider/tests/sunspider-0.9/LIST: Removed.
      * SunSpider/tests/sunspider-0.9/access-binary-trees.js: Removed.
      * SunSpider/tests/sunspider-0.9/access-fannkuch.js: Removed.
      * SunSpider/tests/sunspider-0.9/access-nbody.js: Removed.
      * SunSpider/tests/sunspider-0.9/access-nsieve.js: Removed.
      * SunSpider/tests/sunspider-0.9/bitops-3bit-bits-in-byte.js: Removed.
      * SunSpider/tests/sunspider-0.9/bitops-bits-in-byte.js: Removed.
      * SunSpider/tests/sunspider-0.9/bitops-bitwise-and.js: Removed.
      * SunSpider/tests/sunspider-0.9/bitops-nsieve-bits.js: Removed.
      * SunSpider/tests/sunspider-0.9/controlflow-recursive.js: Removed.
      * SunSpider/tests/sunspider-0.9/crypto-aes.js: Removed.
      * SunSpider/tests/sunspider-0.9/crypto-md5.js: Removed.
      * SunSpider/tests/sunspider-0.9/crypto-sha1.js: Removed.
      * SunSpider/tests/sunspider-0.9/date-format-tofte.js: Removed.
      * SunSpider/tests/sunspider-0.9/date-format-xparb.js: Removed.
      * SunSpider/tests/sunspider-0.9/math-cordic.js: Removed.
      * SunSpider/tests/sunspider-0.9/math-partial-sums.js: Removed.
      * SunSpider/tests/sunspider-0.9/math-spectral-norm.js: Removed.
      * SunSpider/tests/sunspider-0.9/regexp-dna.js: Removed.
      * SunSpider/tests/sunspider-0.9/string-base64.js: Removed.
      * SunSpider/tests/sunspider-0.9/string-fasta.js: Removed.
      * SunSpider/tests/sunspider-0.9/string-tagcloud.js: Removed.
      * SunSpider/tests/sunspider-0.9/string-unpack-code.js: Removed.
      * SunSpider/tests/sunspider-0.9/string-validate-input.js: Removed.
      * SunSpider/tests/ubench: Removed.
      * SunSpider/tests/ubench/LIST: Removed.
      * SunSpider/tests/ubench/function-closure.js: Removed.
      * SunSpider/tests/ubench/function-correct-args.js: Removed.
      * SunSpider/tests/ubench/function-empty.js: Removed.
      * SunSpider/tests/ubench/function-excess-args.js: Removed.
      * SunSpider/tests/ubench/function-missing-args.js: Removed.
      * SunSpider/tests/ubench/function-sum.js: Removed.
      * SunSpider/tests/ubench/loop-empty-resolve.js: Removed.
      * SunSpider/tests/ubench/loop-empty.js: Removed.
      * SunSpider/tests/ubench/loop-sum.js: Removed.
      * SunSpider/tests/v8-v4: Removed.
      * SunSpider/tests/v8-v4/LIST: Removed.
      * SunSpider/tests/v8-v4/v8-crypto.js: Removed.
      * SunSpider/tests/v8-v4/v8-deltablue.js: Removed.
      * SunSpider/tests/v8-v4/v8-earley-boyer.js: Removed.
      * SunSpider/tests/v8-v4/v8-raytrace.js: Removed.
      * SunSpider/tests/v8-v4/v8-regexp.js: Removed.
      * SunSpider/tests/v8-v4/v8-richards.js: Removed.
      * SunSpider/tests/v8-v4/v8-splay.js: Removed.
      * SunSpider/tests/v8-v5: Removed.
      * SunSpider/tests/v8-v5/LIST: Removed.
      * SunSpider/tests/v8-v5/v8-crypto.js: Removed.
      * SunSpider/tests/v8-v5/v8-deltablue.js: Removed.
      * SunSpider/tests/v8-v5/v8-earley-boyer.js: Removed.
      * SunSpider/tests/v8-v5/v8-raytrace.js: Removed.
      * SunSpider/tests/v8-v5/v8-regexp.js: Removed.
      * SunSpider/tests/v8-v5/v8-richards.js: Removed.
      * SunSpider/tests/v8-v5/v8-splay.js: Removed.
      * SunSpider/tests/v8-v6: Removed.
      * SunSpider/tests/v8-v6/LIST: Removed.
      * SunSpider/tests/v8-v6/v8-crypto.js: Removed.
      * SunSpider/tests/v8-v6/v8-deltablue.js: Removed.
      * SunSpider/tests/v8-v6/v8-earley-boyer.js: Removed.
      * SunSpider/tests/v8-v6/v8-raytrace.js: Removed.
      * SunSpider/tests/v8-v6/v8-regexp.js: Removed.
      * SunSpider/tests/v8-v6/v8-richards.js: Removed.
      * SunSpider/tests/v8-v6/v8-splay.js: Removed.
      * SunSpider/xcopy.excludes: Removed.
      
      Tools: 
      
      Update these scripts to point to the new location.
      
      * Scripts/run-sunspider:
      * Scripts/sunspider-compare-results:
      
      Websites/bugs.webkit.org: 
      
      Update list of top-level open-source directories.
      
      * PrettyPatch/PrettyPatch.rb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      932a0117
    • mihaip@chromium.org's avatar
      2010-12-30 Mihai Parparita <mihaip@chromium.org> · 593f7720
      mihaip@chromium.org authored
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
              https://bugs.webkit.org/show_bug.cgi?id=51728
      
              Add implementation of the Mac WebThemeEngine that uses an NSScroller
              to render top-level scrollbars. This makes them match the Mac port's
              use of an NSScrollView, which means that we'll be able to share more
              pixel baselines.
      
              The new rendering code will not be activated until the
              USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define is fliped in
              ScrollbarThemeChromiumMac.
      
              * DumpRenderTree/DumpRenderTree.gypi:
              * DumpRenderTree/chromium/TestShellMac.mm:
              (platformInit):
              * DumpRenderTree/chromium/WebThemeEngineDRTMac.h: Added.
              * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm: Added.
              (+[FakeActiveWindow alwaysActiveWindow]):
              (+[FakeActiveWindow alwaysInactiveWindow]):
              (-[FakeActiveWindow initWithActiveControls:]):
              (-[FakeActiveWindow _hasActiveControls]):
              (WebThemeEngineDRTMac::paintScrollbarThumb):
              (stateToHIEnableState):
              (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
              (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
      2010-12-30  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
              https://bugs.webkit.org/show_bug.cgi?id=51728
      
              Roll DEPS to pick up WebThemeEngine changes.
      
              * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      593f7720
    • zmo@google.com's avatar
      2010-12-29 Zhenyao Mo <zmo@google.com> · ccd6c76d
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Update validation of stencil mask and ref values
              https://bugs.webkit.org/show_bug.cgi?id=50716
      
              * fast/canvas/webgl/webgl-specific-expected.txt: Sync with khronos: refactor the test, also update the stencil setting test due to spec change.
              * fast/canvas/webgl/webgl-specific.html: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccd6c76d
    • inferno@chromium.org's avatar
      2010-12-30 Abhishek Arya <inferno@chromium.org> · f9cd1f5c
      inferno@chromium.org authored
              Unreviewed.
      
              Skipping media/video-element-other-namespace-crash.html for chromium
              since it uses codecs that chromium does not support.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9cd1f5c
    • zmo@google.com's avatar
      2010-12-29 Zhenyao Mo <zmo@google.com> · 13daadda
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Update validation of stencil mask and ref values
              https://bugs.webkit.org/show_bug.cgi?id=50716
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::initializeNewContext): Initialize cached stencil settings.
              (WebCore::WebGLRenderingContext::drawArrays): Validate stencil settings.
              (WebCore::WebGLRenderingContext::drawElements): Ditto.
              (WebCore::WebGLRenderingContext::stencilFunc): Cache stencil settings, but generate no error.
              (WebCore::WebGLRenderingContext::stencilFuncSeparate): Ditto.
              (WebCore::WebGLRenderingContext::stencilMask): Ditto.
              (WebCore::WebGLRenderingContext::stencilMaskSeparate): Ditto.
              (WebCore::WebGLRenderingContext::validateStencilSettings): Helper function to validate stencil settings.
              * html/canvas/WebGLRenderingContext.h: Declare stencil setting members.
      2010-12-29  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Update validation of stencil mask and ref values
              https://bugs.webkit.org/show_bug.cgi?id=50716
      
              * fast/canvas/webgl/webgl-specific-expected.txt: Sync with khronos: refactor the test, also update the stencil setting test due to spec change.
              * fast/canvas/webgl/webgl-specific.html: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13daadda
    • mrobinson@webkit.org's avatar
      2010-12-30 Martin Robinson <mrobinson@igalia.com> · c54e30e5
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Fork pieces of RenderThemeGtk that will differ for GTK+ 3
              https://bugs.webkit.org/show_bug.cgi?id=51755
      
              Split out pieces of RenderThemeGtk into RenderThemeGtk2 and RenderThemeGtk3
              if they are going to differ between GTK+ 2.x and GTK+ 3.x. This is the preliminary
              step to landing support for the new GTK+ 3.x theming API.
      
              No new tests. This should not change functionality.
      
              * GNUmakefile.am: Add RenderThemeGtk2 and RenderThemeGtk3 to the sources list.
              * platform/gtk/RenderThemeGtk.cpp:
              (WebCore::RenderThemeGtk::adjustTextFieldStyle): Call the setTextInputBorders static method.
              (WebCore::RenderThemeGtk::adjustTextAreaStyle): Ditto.
              (WebCore::RenderThemeGtk::paintMediaButton): Ditto.
              (WebCore::RenderThemeGtk::adjustProgressBarStyle): ditto.
              * platform/gtk/RenderThemeGtk.h: Make setTextInputBorders a method, so that
              it can be exist in RenderThemeGtk{2,3} and be called from RenderThemeGtk.
              * platform/gtk/RenderThemeGtk2.cpp: Added. A fork of the bits of RenderThemeGtk
              that will eventually be platform-dependent.
              * platform/gtk/RenderThemeGtk3.cpp: Added. Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c54e30e5
    • jschuh@chromium.org's avatar
      2010-12-30 Justin Schuh <jschuh@chromium.org> · 77989d8f
      jschuh@chromium.org authored
              Reviewed by James Robinson.
      
              Reverting r74292 because it introduced a crash with ruby text.
              https://bugs.webkit.org/show_bug.cgi?id=51637
      
              Test: fast/css/counters/counter-ruby-text-cleared.html
      
              * rendering/RenderCounter.cpp:
              (WebCore::findPlaceForCounter):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::addChild):
              * rendering/RenderObjectChildList.cpp:
              (WebCore::RenderObjectChildList::appendChildNode):
              (WebCore::RenderObjectChildList::insertChildNode):
      2010-12-30  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by James Robinson.
      
              Check for crash when deleting ruby text with counters.
              https://bugs.webkit.org/show_bug.cgi?id=51637
      
              * fast/css/counters/counter-ruby-text-cleared-expected.txt: Added.
              * fast/css/counters/counter-ruby-text-cleared.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77989d8f