1. 24 Nov, 2010 4 commits
  2. 23 Nov, 2010 36 commits
    • paroga@webkit.org's avatar
      2010-11-23 Patrick Gansterer <paroga@webkit.org> · b39daa91
      paroga@webkit.org authored
              Reviewed by David Levin.
      
              Add WebKit2 VisualStudio files to .gitattributes
              https://bugs.webkit.org/show_bug.cgi?id=49969
      
              * .gitattributes:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b39daa91
    • inferno@chromium.org's avatar
      2010-11-23 Abhishek Arya <inferno@chromium.org> · bd204fe8
      inferno@chromium.org authored
              Unreviewed.
      
              Drag and drop not working properly. Skipping just like other similar drag
              and drop tests. E.g. similar test drag-image-in-about-blank-frame.html.
      
              * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd204fe8
    • inferno@chromium.org's avatar
      2010-11-22 Abhishek Arya <inferno@chromium.org> · 199b8da4
      inferno@chromium.org authored
              Reviewed by Adam Barth.
      
              r71925 broke the chrome new tab page. r71925 blocked drag and drop
              of same security origin objects onto themselves if their origin is
              marked unique. We need to allow drag and drop in that scenario.
              https://bugs.webkit.org/show_bug.cgi?id=49098
      
              Test: http/tests/security/drag-drop-same-unique-origin.html
      
              * page/SecurityOrigin.cpp:
              (WebCore::SecurityOrigin::canReceiveDragData):
      2010-11-23  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Tests that drag and drop is allowed across the same security origin object,
              even if they are marked unique.
      
              * http/tests/security/drag-drop-same-unique-origin-expected.txt: Added.
              * http/tests/security/drag-drop-same-unique-origin.html: Added.
              * http/tests/security/resources/drag-drop-allowed.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      199b8da4
    • rniwa@webkit.org's avatar
      2010-11-23 Ryosuke Niwa <rniwa@webkit.org> · 0dd6d60f
      rniwa@webkit.org authored
              Unreviewed update of GTK's skipped list.
      
              Disabled editing/deleting/delete-by-word-001.html and editing/deleting/delete-by-word-002.html
              because they require editing delegates dump which haven't been implemented in GTK.
      
              * platform/gtk/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0dd6d60f
    • tony@chromium.org's avatar
      2010-11-23 Tony Chang <tony@chromium.org> · 5dd717ea
      tony@chromium.org authored
              Unreviewed, [chromium] merge the plugin failures in test_expectations
              https://bugs.webkit.org/show_bug.cgi?id=49993
      
              * platform/chromium/drt_expectations.txt: Remove plugin failures
              * platform/chromium/test_expectations.txt: Move them into this file
                  with expectations that are valid for either plugin.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5dd717ea
    • dpranke@chromium.org's avatar
      2010-11-23 Dirk Pranke <dpranke@chromium.org> · 8ca1df17
      dpranke@chromium.org authored
              Reviewed by Tony Chang.
      
              This patch cleans up the logic used to shard tests into groups a
              bit and adds the --worker-model flag to NRWT. The flag is only
              used at the moment to control whether to run single-threaded or
              not, but eventually will also allow toggling between threads and
              processes.
      
              Also add a minor cleanup with _test_is_slow(), which just
              eliminates some repetition and gives slightly better encapsulation.
      
              https://bugs.webkit.org/show_bug.cgi?id=49773
      
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ca1df17
    • mihaip@chromium.org's avatar
      2010-11-23 Mihai Parparita <mihaip@chromium.org> · cf0afed8
      mihaip@chromium.org authored
              Reviewed by Tony Chang.
      
              Rebaseline server: list current baselines and platforms
              https://bugs.webkit.org/show_bug.cgi?id=49991
      
              List existing baselines (with Trac links) for tests.
      
              Add dropdowns for choosing with platform baselines to target (and what
              to do with existing ones).
      
              Also fix MockFileSystem.join to behave more like os.path.join (unit
              test was ending up with two consecutive slashes in a layout test
              path).
      
              * Scripts/webkitpy/common/system/filesystem_mock.py:
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
              * Scripts/webkitpy/tool/commands/rebaselineserver.py:
              * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf0afed8
    • inferno@chromium.org's avatar
      2010-11-23 Cris Neckar <cdn@chromium.org> · 9a4e5045
      inferno@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Removed unneeded conversions to RenderBlock.
              https://bugs.webkit.org/show_bug.cgi?id=49896
      
              Test: fast/css/input-search-table-column-crash.html
      
              * rendering/RenderTextControlSingleLine.cpp:
              (WebCore::RenderTextControlSingleLine::adjustControlHeightBasedOnLineHeight):
      2010-11-23  Cris Neckar  <cdn@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Test for crash with input type search and table column style.
              https://bugs.webkit.org/show_bug.cgi?id=49896
      
              * fast/css/input-search-table-column-crash-expected.txt: Added.
              * fast/css/input-search-table-column-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a4e5045
    • rniwa@webkit.org's avatar
      2010-11-23 Ryosuke Niwa <rniwa@webkit.org> · db5604ca
      rniwa@webkit.org authored
              Reviewed by Adam Barth.
      
              XMLDocumentParser::notifyFinished calls ScriptController's executeScript without updating isEvaluated flag
              https://bugs.webkit.org/show_bug.cgi?id=49701
      
              Fixed the bug by calling ScriptElement's executeScript, which sets isEvaluated flag to true.
      
              Test: fast/dom/script-clone-rerun-src.xhtml
      
              * dom/XMLDocumentParser.cpp:
              (WebCore::XMLDocumentParser::notifyFinished):
      2010-11-23  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Adam Barth.
      
              XMLDocumentParser::notifyFinished calls ScriptController's executeScript without updating isEvaluated flag
              https://bugs.webkit.org/show_bug.cgi?id=49701
      
              Added a test to ensure WebKit doesn't run the script twice when a script element with an external script file
              is cloned in a XML document.
      
              * fast/dom/resources/script-clone-rerun-src.js: Added.
              * fast/dom/script-clone-rerun-src.xhtml: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db5604ca
    • rniwa@webkit.org's avatar
      2010-11-23 Ryosuke Niwa <rniwa@webkit.org> · ec6bd130
      rniwa@webkit.org authored
              Reviewed by Tony Chang.
      
              dumpAsText conversion: editing/deleting/delete-by-word-001.html and delete-by-word-002.html
              https://bugs.webkit.org/show_bug.cgi?id=48130
      
              Converted editing/deleting/delete-by-word-001.html and delete-by-word-002.html to dumpAsText tests
              by replacing calls to runEditingTest by runDumpAsTextEditingTest.
      
              * editing/deleting/delete-by-word-001-expected.txt: Added.
              * editing/deleting/delete-by-word-001.html:
              * editing/deleting/delete-by-word-002-expected.txt: Added.
              * editing/deleting/delete-by-word-002.html:
              * platform/chromium-linux/editing/deleting/delete-by-word-001-expected.checksum: Removed.
              * platform/chromium-linux/editing/deleting/delete-by-word-001-expected.png: Removed.
              * platform/chromium-linux/editing/deleting/delete-by-word-002-expected.checksum: Removed.
              * platform/chromium-linux/editing/deleting/delete-by-word-002-expected.png: Removed.
              * platform/chromium-win/editing/deleting/delete-by-word-001-expected.checksum: Removed.
              * platform/chromium-win/editing/deleting/delete-by-word-001-expected.png: Removed.
              * platform/chromium-win/editing/deleting/delete-by-word-001-expected.txt: Removed.
              * platform/chromium-win/editing/deleting/delete-by-word-002-expected.checksum: Removed.
              * platform/chromium-win/editing/deleting/delete-by-word-002-expected.png: Removed.
              * platform/chromium-win/editing/deleting/delete-by-word-002-expected.txt: Removed.
              * platform/gtk/editing/deleting/delete-by-word-001-expected.txt: Removed.
              * platform/mac/editing/deleting/delete-by-word-001-expected.checksum: Removed.
              * platform/mac/editing/deleting/delete-by-word-001-expected.png: Removed.
              * platform/mac/editing/deleting/delete-by-word-001-expected.txt: Removed.
              * platform/mac/editing/deleting/delete-by-word-002-expected.checksum: Removed.
              * platform/mac/editing/deleting/delete-by-word-002-expected.png: Removed.
              * platform/mac/editing/deleting/delete-by-word-002-expected.txt: Removed.
              * platform/qt/editing/deleting/delete-by-word-001-expected.checksum: Removed.
              * platform/qt/editing/deleting/delete-by-word-001-expected.png: Removed.
              * platform/qt/editing/deleting/delete-by-word-001-expected.txt: Removed.
              * platform/qt/editing/deleting/delete-by-word-002-expected.checksum: Removed.
              * platform/qt/editing/deleting/delete-by-word-002-expected.png: Removed.
              * platform/qt/editing/deleting/delete-by-word-002-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec6bd130
    • ojan@chromium.org's avatar
      2010-11-23 Ojan Vafai <ojan@chromium.org> · 0fff8913
      ojan@chromium.org authored
              Reviewed by Tony Chang.
      
              remove timeout argument to urlopen
              https://bugs.webkit.org/show_bug.cgi?id=49995
      
              Apparently the version of python we have on the bots doesn't accept a timeout argument.
      
              * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fff8913
    • commit-queue@webkit.org's avatar
      2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com> · ae0158a3
      commit-queue@webkit.org authored
              Unreviewed, rolling out r72628.
              http://trac.webkit.org/changeset/72628
              https://bugs.webkit.org/show_bug.cgi?id=49994
      
              This patch is causing layout-test failtures on GTK Linux
              64-bit Debug (Requested by ctguil on #webkit).
      
              * accessibility/iframe-has-document-expected.txt: Removed.
              * accessibility/iframe-has-document.html: Removed.
              * platform/win/Skipped:
      2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r72628.
              http://trac.webkit.org/changeset/72628
              https://bugs.webkit.org/show_bug.cgi?id=49994
      
              This patch is causing layout-test failtures on GTK Linux
              64-bit Debug (Requested by ctguil on #webkit).
      
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::renderParentObject):
              (WebCore::AccessibilityRenderObject::addChildren):
              * accessibility/AccessibilityRenderObject.h:
              * accessibility/chromium/AccessibilityObjectChromium.cpp:
              (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
      2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r72628.
              http://trac.webkit.org/changeset/72628
              https://bugs.webkit.org/show_bug.cgi?id=49994
      
              This patch is causing layout-test failtures on GTK Linux
              64-bit Debug (Requested by ctguil on #webkit).
      
              * public/WebAccessibilityObject.h:
              * src/WebAccessibilityObject.cpp:
              (WebKit::WebAccessibilityObject::parentObject):
      2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r72628.
              http://trac.webkit.org/changeset/72628
              https://bugs.webkit.org/show_bug.cgi?id=49994
      
              This patch is causing layout-test failtures on GTK Linux
              64-bit Debug (Requested by ctguil on #webkit).
      
              * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
              (AccessibilityUIElement::AccessibilityUIElement):
              (AccessibilityUIElement::parentElementCallback):
              * DumpRenderTree/chromium/AccessibilityUIElement.h:
              * DumpRenderTree/chromium/CppBoundClass.cpp:
              * DumpRenderTree/chromium/CppBoundClass.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae0158a3
    • xan@webkit.org's avatar
      WebCore: · d81652c9
      xan@webkit.org authored
      2010-11-23  Xan Lopez  <xlopez@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Fix IFrame DOM bindings API
              https://bugs.webkit.org/show_bug.cgi?id=49980
      
              Fix IFrame API naming. It needs special casing because of the two
              consecutive capital letters.
      
              * bindings/scripts/CodeGeneratorGObject.pm:
      
      WebKit/gtk:
      
      2010-11-23  Xan Lopez  <xlopez@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Fix IFrame DOM bindings API
              https://bugs.webkit.org/show_bug.cgi?id=49980
      
              * tests/testdomdocument.c:
              (test_dom_document_garbage_collection): change to use the fixed
              IFrame APIs.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d81652c9
    • ojan@chromium.org's avatar
      2010-11-22 Ojan Vafai <ojan@chromium.org> · 20e2e9ca
      ojan@chromium.org authored
              Reviewed by Tony Chang.
      
              speculative fix for upload errors: stop using mechanize to upload to test-results.appspot.com
              https://bugs.webkit.org/show_bug.cgi?id=49944
      
              * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20e2e9ca
    • jparent@chromium.org's avatar
      Unreviewed, fixing chromium gpu_test expectations. · 183f873a
      jparent@chromium.org authored
      Remove entries for tests that no longer exist, removed in r71822.
      Remove duplicates introduced in r72613.
      
      * platform/chromium-gpu/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      183f873a
    • commit-queue@webkit.org's avatar
      2010-11-23 Shimeng (Simon) Wang <swang@google.com> · 9c0c474c
      commit-queue@webkit.org authored
              Reviewed by Steve Block.
      
              Use platform bridge to set scroll position.
              https://bugs.webkit.org/show_bug.cgi?id=49550
      
              Refactoring only.  Existing tests shall suffice.
      
              * platform/android/PlatformBridge.h:
              * platform/android/ScrollViewAndroid.cpp:
              (WebCore::ScrollView::platformSetScrollPosition):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c0c474c
    • commit-queue@webkit.org's avatar
      2010-11-23 Andreas Kling <kling@webkit.org> · 7c30afb7
      commit-queue@webkit.org authored
              Reviewed by Tor Arne Vestbø.
      
              [Qt] Selecting shadowed text causes rendering artifacts
              https://bugs.webkit.org/show_bug.cgi?id=49990
      
              When selecting text starting from the end of a word, we need to use
              the X coordinate of the start of the substring when calculating the
              bounding rect for a ContextShadow.
      
              * platform/graphics/qt/FontQt.cpp:
              (WebCore::drawTextCommon):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c30afb7
    • crogers@google.com's avatar
      2010-11-23 Chris Rogers <crogers@google.com> · bacfad22
      crogers@google.com authored
              Unreviewed.
      
              Disable new XMLHttpRequest layout tests for Qt and gtk since they require ArrayBuffer support
              https://bugs.webkit.org/show_bug.cgi?id=49992
      
              * platform/gtk/Skipped:
              * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bacfad22
    • commit-queue@webkit.org's avatar
      2010-11-23 Chris Guillory <chris.guillory@google.com> · 307974e9
      commit-queue@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Include the FrameView widget of a RenderWidget in the accessibility tree.
              https://bugs.webkit.org/show_bug.cgi?id=49106
      
              * accessibility/iframe-has-document-expected.txt: Added.
              * accessibility/iframe-has-document.html: Added.
              * platform/win/Skipped:
      2010-11-23  Chris Guillory  <chris.guillory@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Include the FrameView widget of a RenderWidget in the accessibility tree.
              https://bugs.webkit.org/show_bug.cgi?id=49106
      
              Include render widget children in the accessibility tree for not mac webkit ports.
      
              Test: accessibility/iframe-has-document.html
      
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::renderParentObject):
              (WebCore::AccessibilityRenderObject::addChildren):
              (WebCore::AccessibilityRenderObject::addRenderWidgetChildren):
              * accessibility/AccessibilityRenderObject.h:
              * accessibility/chromium/AccessibilityObjectChromium.cpp:
              (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
      2010-11-23  Chris Guillory  <chris.guillory@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Include the FrameView widget of a RenderWidget in the accessibility tree.
              https://bugs.webkit.org/show_bug.cgi?id=49106
      
              * public/WebAccessibilityObject.h:
              * src/WebAccessibilityObject.cpp:
              (WebKit::WebAccessibilityObject::equals):
              (WebKit::WebAccessibilityObject::parentObject):
      2010-11-23  Chris Guillory  <chris.guillory@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Include the FrameView widget of a RenderWidget in the accessibility tree.
              https://bugs.webkit.org/show_bug.cgi?id=49106
      
              * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
              (AccessibilityUIElement::AccessibilityUIElement):
              (AccessibilityUIElement::parentElementCallback):
              (AccessibilityUIElement::isEqualCallback):
              * DumpRenderTree/chromium/AccessibilityUIElement.h:
              * DumpRenderTree/chromium/CppBoundClass.cpp:
              (CppBoundClass::getFromCppVariant):
              * DumpRenderTree/chromium/CppBoundClass.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      307974e9
    • tony@chromium.org's avatar
      2010-11-23 Tony Chang <tony@chromium.org> · f0aa31fb
      tony@chromium.org authored
              Reviewed by Ojan Vafai.
      
              [chromium] update plugin expectations
              https://bugs.webkit.org/show_bug.cgi?id=49988
      
              * platform/chromium/drt_expectations.txt: These tests are passing on the bot
              * platform/chromium/test_expectations.txt: Group and sort alphabetically
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0aa31fb
    • crogers@google.com's avatar
      2010-11-23 Chris Rogers <crogers@google.com> · 01f283a2
      crogers@google.com authored
              Reviewed by Alexey Proskuryakov.
      
              Add .responseType and .response to XMLHttpRequest
              https://bugs.webkit.org/show_bug.cgi?id=49633
      
              Tests: fast/xmlhttprequest/xmlhttprequest-responsetype-abort.html
                     fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer.html
                     fast/xmlhttprequest/xmlhttprequest-responsetype-document.html
                     fast/xmlhttprequest/xmlhttprequest-responsetype-text.html
      
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::markChildren):
              (WebCore::JSXMLHttpRequest::open):
              (WebCore::JSXMLHttpRequest::response):
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::V8XMLHttpRequest::responseAccessorGetter):
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::XMLHttpRequest):
              (WebCore::XMLHttpRequest::responseText):
              (WebCore::XMLHttpRequest::responseXML):
              (WebCore::XMLHttpRequest::responseBlob):
              (WebCore::XMLHttpRequest::responseArrayBuffer):
              (WebCore::XMLHttpRequest::setResponseType):
              (WebCore::XMLHttpRequest::responseType):
              (WebCore::XMLHttpRequest::setAsBlob):
              (WebCore::XMLHttpRequest::open):
              (WebCore::XMLHttpRequest::clearResponse):
              (WebCore::XMLHttpRequest::didFinishLoading):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/XMLHttpRequest.h:
              (WebCore::XMLHttpRequest::asBlob):
              (WebCore::XMLHttpRequest::optionalResponseXML):
              (WebCore::XMLHttpRequest::optionalResponseBlob):
              (WebCore::XMLHttpRequest::responseTypeCode):
              (WebCore::XMLHttpRequest::optionalResponseArrayBuffer):
              * xml/XMLHttpRequest.idl:
      2010-11-23  Chris Rogers  <crogers@google.com>
      
              Reviewed by Alexey Proskuryakov.
      
              Add .responseType and .response to XMLHttpRequest
              https://bugs.webkit.org/show_bug.cgi?id=49633
      
              * fast/xmlhttprequest/xmlhttprequest-responsetype-abort-expected.txt: Added.
              * fast/xmlhttprequest/xmlhttprequest-responsetype-abort.html: Added.
              * fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt: Added.
              * fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer.html: Added.
              * fast/xmlhttprequest/xmlhttprequest-responsetype-document-expected.txt: Added.
              * fast/xmlhttprequest/xmlhttprequest-responsetype-document.html: Added.
              * fast/xmlhttprequest/xmlhttprequest-responsetype-text-expected.txt: Added.
              * fast/xmlhttprequest/xmlhttprequest-responsetype-text.html: Added.
              * http/tests/resources/balls-of-the-orient.aif: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01f283a2
    • inferno@chromium.org's avatar
      2010-11-23 Abhishek Arya <inferno@chromium.org> · 19619a92
      inferno@chromium.org authored
              Reviewed by Adam Barth.
      
              dispatchEvent call in EventSource endRequest can lead to calling endRequest
              again which frees up the pending activity. Make sure we have request in flight
              to prevent that from happening.
              https://bugs.webkit.org/show_bug.cgi?id=49448
      
              Test: http/tests/eventsource/eventsource-status-error-iframe-crash.html
      
              * page/EventSource.cpp:
              (WebCore::EventSource::endRequest):
              (WebCore::EventSource::close):
      2010-11-23  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Tests that we do not crash on EventSource status errors inside an iframe.
              https://bugs.webkit.org/show_bug.cgi?id=49448
      
              * http/tests/eventsource/eventsource-status-error-iframe-crash-expected.txt: Added.
              * http/tests/eventsource/eventsource-status-error-iframe-crash.html: Added.
              * http/tests/eventsource/resources/request-status-error.htm: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19619a92
    • commit-queue@webkit.org's avatar
      2010-11-23 John Knottenbelt <jknotten@chromium.org> · 3a3d94cb
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition.
              https://bugs.webkit.org/show_bug.cgi?id=49735
      
              Introduce WebKit API types so that the browser implementation can feed
              position and error updates to the WebCore::GeolocationController.
      
              * WebKit.gyp:
              * public/WebGeolocationError.h: Added.
              (WebKit::WebGeolocationError::WebGeolocationError):
              (WebKit::WebGeolocationError::~WebGeolocationError):
              * public/WebGeolocationPosition.h: Added.
              (WebKit::WebGeolocationPosition::WebGeolocationPosition):
              (WebKit::WebGeolocationPosition::~WebGeolocationPosition):
              * src/WebGeolocationError.cpp: Added.
              (WebKit::WebGeolocationError::assign):
              (WebKit::WebGeolocationError::reset):
              (WebKit::WebGeolocationError::WebGeolocationError):
              (WebKit::WebGeolocationError::operator=):
              (WebKit::WebGeolocationError::operator WTF::PassRefPtr<WebCore::GeolocationError>):
              * src/WebGeolocationPosition.cpp: Added.
              (WebKit::WebGeolocationPosition::assign):
              (WebKit::WebGeolocationPosition::reset):
              (WebKit::WebGeolocationPosition::operator=):
              (WebKit::WebGeolocationPosition::operator PassRefPtr<WebCore::GeolocationPosition>):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a3d94cb
    • commit-queue@webkit.org's avatar
      2010-11-23 Jonathan Backer <backer@chromium.org> · e4f54c9f
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              Renderer is resizing IOSurfaces when accelerated compositing is disabled.
              https://bugs.webkit.org/show_bug.cgi?id=49827
      
              - IOSurfaces are only presented when accelerated compositing is enabled.
              - Slight performance increase (and clean-up for using this path for Linux and Windows).
      
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::resize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4f54c9f
    • jparent@chromium.org's avatar
      2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com> · a77a7e69
      jparent@chromium.org authored
              Unreviewed, rolling out r72618.
              http://trac.webkit.org/changeset/72618
              https://bugs.webkit.org/show_bug.cgi?id=49987
      
              "Newly added test is failing on Chromium-linux, patch author
              said to rollout" (Requested by jparent on #webkit).
      
              * editing/EditingBehavior.h:
              * page/EventHandler.cpp:
              (WebCore::EventHandler::sendContextMenuEvent):
      2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r72618.
              http://trac.webkit.org/changeset/72618
              https://bugs.webkit.org/show_bug.cgi?id=49987
      
              "Newly added test is failing on Chromium-linux, patch author
              said to rollout" (Requested by jparent on #webkit).
      
              * editing/selection/context-menu-text-selection-expected.txt: Removed.
              * editing/selection/context-menu-text-selection.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a77a7e69
    • mrobinson@webkit.org's avatar
      2010-11-23 Carlos Garcia Campos <cgarcia@igalia.com> · 31c1cb0c
      mrobinson@webkit.org authored
              Reviewed by Martin Robinson.
      
              focus issue with links that have tooltips
              https://bugs.webkit.org/show_bug.cgi?id=49498
      
              Set the area of the widget where the tooltip should be shown when
              a new tooltip is set. Since the widget is the same (the view), if
              the tooltip area is not set and a new tooltip is triggered while
              the previous one is still visible, the text of the tooltip is
              updated but its position doesn't change.
      
              * WebCoreSupport/ChromeClientGtk.cpp:
              (WebKit::ChromeClient::mouseDidMoveOverElement):
              * webkit/webkitprivate.h:
              * webkit/webkitwebview.cpp:
              (webkit_web_view_query_tooltip):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31c1cb0c
    • commit-queue@webkit.org's avatar
      2010-11-23 Grace Kloba <klobag@chromium.org> · be45299e
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              [chromium] Accumulated scroll damage rect should be in the content space
              https://bugs.webkit.org/show_bug.cgi?id=49842
      
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be45299e
    • jparent@chromium.org's avatar
      Unreviewed, fixing chromium baselines. · e035c2ac
      jparent@chromium.org authored
      Adding back baselines that were removed in r72542 due to r72527, because
      r72527 was rolled ou in r72582.
      
      * platform/chromium-mac/fast/lists/001-vertical-expected.checksum:
      * platform/chromium-mac/fast/lists/001-vertical-expected.png:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e035c2ac
    • commit-queue@webkit.org's avatar
      2010-11-23 Avi Drissman <avi@google.com> · 74afb704
      commit-queue@webkit.org authored
              Reviewed by Antonio Gomes.
      
              Add preference to not select when right-clicked
              https://bugs.webkit.org/show_bug.cgi?id=23351
      
              * editing/selection/context-menu-text-selection-expected.txt: Added.
              * editing/selection/context-menu-text-selection.html: Added.
      2010-11-23  Avi Drissman  <avi@google.com>
      
              Reviewed by Antonio Gomes.
      
              Add preference to not select when right-clicked
              https://bugs.webkit.org/show_bug.cgi?id=23351
      
              Test: editing/selection/context-menu-text-selection.html
      
              * editing/EditingBehavior.h:
              (WebCore::EditingBehavior::shouldSelectOnContextualMenuClick):
              * page/EventHandler.cpp:
              (WebCore::EventHandler::sendContextMenuEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74afb704
    • commit-queue@webkit.org's avatar
      2010-11-23 Alex Grilo <abgrilo@profusion.mobi> · ff38ce92
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [EFL] Add tiled backing store to EWebLauncher
              https://bugs.webkit.org/show_bug.cgi?id=45777
      
              Allow EWebLauncher to choose between single and tiled backing store
      
              * EWebLauncher/main.c:
              (on_key_down):
              (browserCreate):
              (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff38ce92
    • darin@chromium.org's avatar
      2010-11-18 Darin Fisher <darin@chromium.org> · 80ae7453
      darin@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Add a mechanism for creating a WebURLLoader that is associated with a
              particular WebFrame.
              https://bugs.webkit.org/show_bug.cgi?id=49764
      
              This will be used by code that calls webKitClient()->createURLLoader()
              from within the Chromium source tree.
      
              An associated WebURLLoader should be treated like a subresource of the
              WebFrame's document.
      
              * WebKit.gyp:
              * public/WebFrame.h:
              * src/AssociatedURLLoader.cpp: Added.
              (WebKit::AssociatedURLLoader::AssociatedURLLoader):
              (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
              (WebKit::AssociatedURLLoader::loadSynchronously):
              (WebKit::AssociatedURLLoader::loadAsynchronously):
              (WebKit::AssociatedURLLoader::cancel):
              (WebKit::AssociatedURLLoader::setDefersLoading):
              (WebKit::AssociatedURLLoader::PrepareRequest):
              * src/AssociatedURLLoader.h: Added.
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::createAssociatedURLLoader):
              * src/WebFrameImpl.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80ae7453
    • apavlov@chromium.org's avatar
      2010-11-23 Alexander Pavlov <apavlov@chromium.org> · 3c0a5f65
      apavlov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [STYLES] invalid color values are not marked as such.
              https://bugs.webkit.org/show_bug.cgi?id=49960
      
              Properties having a valid structure but invalid values will also
              be marked as non-parsedOk in the Styles pane.
      
              WebCore:
              * css/CSSGrammar.y:
              * inspector/InspectorStyleSheet.cpp:
              (WebCore::InspectorStyle::populateObjectWithStyleProperties):
      
              LayoutTests:
              * inspector/resources/styles-new-API.css:
              (body):
              * inspector/styles-new-API-expected.txt:
              * inspector/styles-source-offsets-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c0a5f65
    • commit-queue@webkit.org's avatar
      2010-11-23 Adam Bergkvist <adam.bergkvist@ericsson.com> · 315e5d0b
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Building with Blob support fails
              https://bugs.webkit.org/show_bug.cgi?id=49724
      
              Build fix.
      
              * GNUmakefile.am:
              * platform/gtk/FileSystemGtk.cpp:
              (WebCore::seekFile): Not implemented.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      315e5d0b
    • loislo@chromium.org's avatar
      2010-11-23 Ilya Tikhonovsky <loislo@chromium.org> · 677edd46
      loislo@chromium.org authored
              Unreviewed. Updated chromium expectations.
      
              Plugin tests were disabled.
      
              MAC : compositing/plugins/1x1-composited-plugin.html = CRASH
              MAC : compositing/plugins/composited-plugin.html = CRASH
              MAC : compositing/plugins/large-to-small-composited-plugin.html = CRASH
              MAC : compositing/plugins/small-to-large-composited-plugin.html = CRASH
      
              * platform/chromium-gpu/test_expectations.txt:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      677edd46
    • andreas.kling@nokia.com's avatar
      2010-11-23 Kenneth Rohde Christiansen <kenneth@webkit.org> · 51bae85b
      andreas.kling@nokia.com authored
              Reviewed by Andreas Kling.
      
              Adapt to setShouldDelegateScrolling not being a real setting anymore.
              We now similarily to setUseFixedLayout and setPaintEntireContents
              set it on the FrameView wen transitioning to a new page.
      
              * Api/qgraphicswebview.cpp:
              (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
      2010-11-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
      
              Reviewed by Andreas Kling.
      
              Make setShouldDelegateScrolling not a real setting, so that it works
              similar to the related setUseFixedLayout and setPaintEntireContents
              options which are all in ScrollView.
      
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              * page/Settings.h:
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::ScrollView):
              (WebCore::ScrollView::setDelegatesScrolling):
              * platform/ScrollView.h:
              (WebCore::ScrollView::delegatesScrolling):
      2010-11-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
      
              Reviewed by Andreas Kling.
      
              Adapt to setShouldDelegateScrolling not being a real setting anymore.
              We now similarily to setUseFixedLayout and setPaintEntireContents
              set it on the FrameView wen transitioning to a new page, etc.
      
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
              (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::setResizesToContentsUsingLayoutSize):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51bae85b
    • aroben@apple.com's avatar
      Don't rely on DocumentLoader outliving the load/unload events · 431088e6
      aroben@apple.com authored
      DocumentLoader::m_documentLoadTiming is used to record how long firing
      the load event took. But the DocumentLoader was being destroyed while
      the event was being dispatched (due to a call to document.open), which
      meant that when we tried to record the time when the load event
      finished, we were writing into freed memory. We now protect the
      DocumentLoader using a RefPtr. (I initially made a change where we
      would only access the DocumentLoader after the event has finished
      firing, but it seemed possible that a different DocumentLoader could
      have come into existence by then, which would cause us to record the
      times on the wrong DocumentLoadTiming struct.)
      
      I only saw a crash when firing the load event, but the code for timing
      the unload event seemed like it was vulnerable to the same issue, so I
      made the same fix for it.
      
      Fixes <http://webkit.org/b/49972> REGRESSION (r72415?): Crash in
      DOMWindow::dispatchTimedEvent when running fast/dom/onload-open.html
      
      Reviewed by Darin Fisher.
      
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::stopLoading):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchLoadEvent):
      Protect the DocumentLoader (and thus its DocumentLoadTiming) with a
      RefPtr.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      431088e6