1. 18 Jan, 2011 1 commit
  2. 13 Jan, 2011 1 commit
    • jianli@chromium.org's avatar
      Change createObjectURL and revokeObjectURL to put under webkitURL. · 1c19f401
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=52257
      
      Reviewed by Darin Fisher.
      
      Source/WebCore:
      
      Note that we add "webkit" vendor prefix to URL that is introduced in
      the latest File API spec.
      
      For the time being, we implement webkitURL as a readonly attribute
      instead of a constructor so that we will not expose prototype property,
      as required by the spec.
      
      * Android.derived.jscbindings.mk:
      * Android.derived.v8bindings.mk:
      * Android.mk:
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * html/DOMURL.cpp: Added.
      * html/DOMURL.h: Added.
      * html/DOMURL.idl: Added.
      * inspector/front-end/NetworkPanel.js:
      * inspector/front-end/utilities.js:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::webkitURL):
      * page/DOMWindow.h:
      * page/DOMWindow.idl:
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::webkitURL):
      * workers/WorkerContext.h:
      * workers/WorkerContext.idl:
      
      LayoutTests:
      
      Change all related test scripts and results to account for this change.
      
      * fast/dom/Window/script-tests/window-property-descriptors.js:
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/Window/window-properties.html:
      * fast/dom/script-tests/prototype-inheritance-2.js:
      * fast/dom/script-tests/prototype-inheritance.js:
      * fast/files/apply-blob-url-to-img.html:
      * fast/files/apply-blob-url-to-xhr.html:
      * fast/files/create-blob-url-crash.html:
      * fast/files/revoke-blob-url.html:
      * fast/files/workers/resources/worker-apply-blob-url-to-xhr.js:
      (onmessage):
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c19f401
  3. 11 Jan, 2011 1 commit
    • simonjam@chromium.org's avatar
      2011-01-11 James Simonsen <simonjam@chromium.org> · 4648b7c3
      simonjam@chromium.org authored
              Reviewed by Eric Seidel.
      
              [Web Timing] Rename sslHandshakeStart to secureConnectionStart
              https://bugs.webkit.org/show_bug.cgi?id=52239
      
              * fast/dom/Window/window-properties-performance-expected.txt:
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkTimingWhileDeferred):
              (checkWebTimingOnDOMContentLoaded):
              (checkWebTimingWhileAsync):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-document-open-expected.txt:
              * fast/dom/webtiming-expected.txt:
              * fast/dom/webtiming-navigate-within-document-expected.txt:
              * http/tests/misc/resources/webtiming-cross-origin-and-back2.html:
              * http/tests/misc/resources/webtiming-cross-origin-redirect.html:
              * http/tests/misc/resources/webtiming-no-origin.html:
              * http/tests/misc/resources/webtiming-ssl.html:
              * http/tests/misc/webtiming-origins-expected.txt:
              * http/tests/misc/webtiming-ssl-expected.txt:
      2011-01-11  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Eric Seidel.
      
              [Web Timing] Rename sslHandshakeStart to secureConnectionStart
              https://bugs.webkit.org/show_bug.cgi?id=52239
      
              * page/PerformanceTiming.cpp:
              (WebCore::PerformanceTiming::secureConnectionStart):
              * page/PerformanceTiming.h:
              * page/PerformanceTiming.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4648b7c3
  4. 07 Jan, 2011 2 commits
    • mrobinson@webkit.org's avatar
      2011-01-07 Martin Robinson <mrobinson@igalia.com> · e7f0902b
      mrobinson@webkit.org authored
              Reviewed by Mihai Parparita.
      
              fast/dom/Window/window-postmessage-clone-frames.html has some timing issues
              https://bugs.webkit.org/show_bug.cgi?id=52032
      
              Fix the timing issue in fast/dom/Window/window-postmessage-clone-frames.html
              and move the output console div beyond the file input control, so that output
              text does not push it outside the viewport.
      
              * fast/dom/Window/window-postmessage-clone-frames-expected.txt: Updated results
              to reflect div movement.
              * fast/dom/Window/window-postmessage-clone-frames.html: Fix the timing and
              layout issues with this test.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7f0902b
    • jamesr@google.com's avatar
      2011-01-07 James Robinson <jamesr@chromium.org> · f894f68c
      jamesr@google.com authored
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * animations/animation-time-expected.txt: Removed.
              * animations/animation-time.html: Removed.
              * animations/script-tests/animation-time.js: Removed.
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::paintInvalidatedRegion):
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/DOMWindow.cpp:
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
              * page/Page.h:
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
              * page/animation/AnimationTimeController.cpp: Removed.
              * page/animation/AnimationTimeController.h: Removed.
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * public/WebWidget.h:
              * src/WebPopupMenuImpl.cpp:
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              * src/WebViewImpl.h:
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView drawRect:]):
              * WebView/WebView.mm:
              (layerSyncRunLoopObserverCallBack):
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
              (WebKit::ChunkedUpdateDrawingArea::display):
              (WebKit::ChunkedUpdateDrawingArea::setSize):
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::drawRect):
              * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
              (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f894f68c
  5. 06 Jan, 2011 3 commits
    • mrobinson@webkit.org's avatar
      2011-01-06 Martin Robinson <mrobinson@igalia.com> · 722ccb0f
      mrobinson@webkit.org authored
              Reviewed by Adam Barth.
      
              fast/dom/Window/window-postmessage-clone.html may fail on platforms with larger fonts
              https://bugs.webkit.org/show_bug.cgi?id=52027
      
              Move the console output div after the file input control in
              fast/dom/Window/window-postmessage-clone.html so that console
              text does not push it outside of the viewport.
      
              * fast/dom/Window/window-postmessage-clone-expected.txt: Updated results
              to match new text output.
              * fast/dom/Window/window-postmessage-clone.html: Moved console div.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      722ccb0f
    • simonjam@chromium.org's avatar
      2011-01-06 James Simonsen <simonjam@chromium.org> · e6a28f26
      simonjam@chromium.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Remove vendor prefix
              https://bugs.webkit.org/show_bug.cgi?id=48922
      
              * fast/dom/Window/window-properties-performance-expected.txt: Test replaceability.
              * fast/dom/Window/window-properties-performance.html: Ditto.
              * fast/dom/Window/window-properties.html: Rename to performance.
              * fast/dom/resources/navigation-type-matches-querystring.html: Ditto.
              * fast/dom/script-tests/prototype-inheritance.js: Ditto.
              * fast/dom/script-tests/webtiming-document-open.js: Ditto.
              * fast/dom/script-tests/webtiming-navigate-within-document.js: Ditto.
              * fast/dom/script-tests/webtiming.js: Ditto.
              * http/tests/misc/resources/webtiming-one-redirect.html: Ditto.
              * http/tests/misc/resources/webtiming-two-redirects.html: Ditto.
      2011-01-06  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Remove vendor prefix
              https://bugs.webkit.org/show_bug.cgi?id=48922
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::performance): Rename to performance.
              * page/DOMWindow.h:
              * page/DOMWindow.idl: Rename to performance and make replaceable.
      2011-01-06  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Remove vendor prefix
              https://bugs.webkit.org/show_bug.cgi?id=48922
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::performance): Rename to performance.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6a28f26
    • jamesr@google.com's avatar
      2011-01-06 James Robinson <jamesr@chromium.org> · fc5ffc8f
      jamesr@google.com authored
              Update expectations for tests that enumerate properties on the window to reflect newly added property.
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc5ffc8f
  6. 22 Dec, 2010 2 commits
    • ariya@webkit.org's avatar
      2010-12-22 Ariya Hidayat <ariya@sencha.com> · 24639731
      ariya@webkit.org authored
              Reviewed by Simon Fraser.
      
              Implement skewX() and skewY() for CSSMatrix.
              https://bugs.webkit.org/show_bug.cgi?id=38335
      
              * fast/dom/Window/window-properties-expected.txt: Adjusted.
              * transforms/cssmatrix-2d-interface.xhtml: Added tests for skewX() and skewY().
              * transforms/cssmatrix-2d-interface-expected.txt: Adjusted.
      2010-12-22  Ariya Hidayat  <ariya@sencha.com>
      
              Reviewed by Simon Fraser.
      
              Implement skewX() and skewY() for CSSMatrix.
              https://bugs.webkit.org/show_bug.cgi?id=38335
      
              * css/WebKitCSSMatrix.cpp:
              (WebCore::WebKitCSSMatrix::skew): Implemented skewX() and skewY().
              * css/WebKitCSSMatrix.h: Added skewX() and skewY().
              * css/WebKitCSSMatrix.idl: Added skewX() and skewY().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24639731
    • msaboff@apple.com's avatar
      2010-12-22 Michael Saboff <msaboff@apple.com> · 21351594
      msaboff@apple.com authored
              Reviewed by Sam Weinig.
      
              REGRESSION: Can't shadow/overwrite window.constructor 
              (causes TypeError exception)
              https://bugs.webkit.org/show_bug.cgi?id=48953
      
              Added code in the javascript code generator to create a setter for
              a constructor if the new extended attribute ReplaceableConstructor
              is present for the interface.
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * page/DOMWindow.idl:
      2010-12-22  Michael Saboff  <msaboff@apple.com>
      
              Reviewed by Sam Weinig.
      
              REGRESSION: Can't shadow/overwrite window.constructor 
              (causes TypeError exception)
              https://bugs.webkit.org/show_bug.cgi?id=48953
      
              Changed cross-frame-access-put test results to reflect that setting
              the window constructor will be disallowed due to cross frame security
              checking.
              Added a new test to check that we can change window.constructor.
      
              * fast/dom/Window/window-constructor-settable-expected.txt: Added.
              * fast/dom/Window/window-constructor-settable.html: Added.
              * http/tests/security/cross-frame-access-put-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21351594
  7. 20 Dec, 2010 2 commits
    • andreip@google.com's avatar
      2010-12-20 Andrei Popescu <andreip@google.com> · 683ff4f1
      andreip@google.com authored
              Reviewed by Jeremy Orlow.
      
              [Chromium] v8/SerializedScriptValue::readUint32 treats incoming raw values as signed instead of unsigned
              https://bugs.webkit.org/show_bug.cgi?id=51338
      
              * fast/dom/Window/window-postmessage-args-expected.txt:
              * fast/dom/Window/window-postmessage-args.html:
              * platform/chromium-mac/fast/dom/Window/window-postmessage-args-expected.txt:
              * platform/chromium-win/fast/dom/Window/window-postmessage-args-expected.txt:
      2010-12-20  Andrei Popescu  <andreip@google.com>
      
              Reviewed by Jeremy Orlow.
      
              [Chromium] v8/SerializedScriptValue::readUint32 treats incoming raw values as signed instead of unsigned
              https://bugs.webkit.org/show_bug.cgi?id=51338
      
              * bindings/v8/SerializedScriptValue.cpp:
              (WebCore::ZigZag::Reader::readUint32):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      683ff4f1
    • oliver@apple.com's avatar
      2010-12-20 Oliver Hunt <oliver@apple.com> · e864155a
      oliver@apple.com authored
              Reviewed by Darin Adler.
      
              Need to support serialisation of cyclic graphs in the internal structured cloning algorithm
              https://bugs.webkit.org/show_bug.cgi?id=51353
      
              Update test to cover correct behaviour, and extend to test for actual graph construction.
      
              * fast/dom/Window/window-postmessage-clone-expected.txt:
              * fast/dom/Window/window-postmessage-clone.html:
      2010-12-20  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Darin Adler.
      
              Need to support serialisation of cyclic graphs in the internal structured cloning algorithm
              https://bugs.webkit.org/show_bug.cgi?id=51353
      
              The Internal Structured Clone algorithm has been changed to allow (and
              correctly clone) cyclic graphs.  This patch updates our implementation
              to provide that functionality.
      
              I've bumped the serialization version number, and added ObjectReferenceTag
              to represent references to objects that have already been seen.
      
              * bindings/js/SerializedScriptValue.cpp:
              (WebCore::CloneSerializer::startObjectInternal):
                Now that we have something a bit more complex than cycle checking
                I've replaced the duplicate code in startObject and startArray with
                a shared function that implements that logic to plant an object
                reference
              (WebCore::CloneSerializer::startObject):
              (WebCore::CloneSerializer::startArray):
                Lift out duplicate code
              (WebCore::CloneSerializer::endObject):
                Can't remove objects from the gcbuffer now as they need to remain live
                so we can identify graphs
              (WebCore::CloneSerializer::writeStringIndex):
              (WebCore::CloneSerializer::writeObjectIndex):
              (WebCore::CloneSerializer::writeConstantPoolIndex):
              (WebCore::CloneSerializer::write):
              (WebCore::CloneSerializer::serialize):
              (WebCore::CloneDeserializer::readStringIndex):
              (WebCore::CloneDeserializer::readConstantPoolIndex):
              (WebCore::CloneDeserializer::readTerminal):
              (WebCore::CloneDeserializer::deserialize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e864155a
  8. 18 Dec, 2010 1 commit
    • tonyg@chromium.org's avatar
      2010-12-18 Tony Gentilcore <tonyg@chromium.org> · 64d18d9b
      tonyg@chromium.org authored
              Reviewed by Laszlo Gombos.
      
              [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
              https://bugs.webkit.org/show_bug.cgi?id=50943
      
              * fast/dom/Window/window-properties-performance-expected.txt:
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkTimingWhileDeferred):
              (checkWebTimingOnDOMContentLoaded):
              (checkWebTimingWhileAsync):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-document-open-expected.txt:
              * fast/dom/webtiming-expected.txt:
              * fast/dom/webtiming-navigate-within-document-expected.txt:
      2010-12-18  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Laszlo Gombos.
      
              [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
              https://bugs.webkit.org/show_bug.cgi?id=50943
      
              See: http://test.w3.org/webperf/specs/NavigationTiming/#nt-dom-content-event-start
      
              * dom/Document.cpp:
              (WebCore::Document::finishedParsing):
              * dom/DocumentTiming.h:
              (WebCore::DocumentTiming::DocumentTiming):
              * page/PerformanceTiming.cpp:
              (WebCore::PerformanceTiming::domContentLoadedEventStart):
              (WebCore::PerformanceTiming::domContentLoadedEventEnd):
              * page/PerformanceTiming.h:
              * page/PerformanceTiming.idl:
      2010-12-18  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Laszlo Gombos.
      
              [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
              https://bugs.webkit.org/show_bug.cgi?id=50943
      
              Exposes all dom* times to the chromium port. I'm particularly interested in
              domContentLoadedEventEnd as it compares to the FinishDoc metric.
      
              * public/WebPerformance.h:
              * src/WebPerformance.cpp:
              (WebKit::WebPerformance::domLoading):
              (WebKit::WebPerformance::domInteractive):
              (WebKit::WebPerformance::domContentLoadedEventStart):
              (WebKit::WebPerformance::domContentLoadedEventEnd):
              (WebKit::WebPerformance::domComplete):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64d18d9b
  9. 17 Dec, 2010 2 commits
    • commit-queue@webkit.org's avatar
      2010-12-17 James Simonsen <simonjam@chromium.org> · 1eae3f25
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Add sslHandshakeStart to interface
      
              https://bugs.webkit.org/show_bug.cgi?id=50400
      
              * fast/dom/Window/window-properties-performance-expected.txt: Added sslHandshakeStart.
              * fast/dom/script-tests/webtiming.js: Ditto.
              (checkTimingBeforeLoad):
              (checkTimingWhileDeferred):
              (checkWebTimingOnDOMContentLoaded):
              (checkWebTimingWhileAsync):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-document-open-expected.txt: Ditto.
              * fast/dom/webtiming-expected.txt: Ditto.
              * fast/dom/webtiming-navigate-within-document-expected.txt: Ditto.
              * http/tests/misc/resources/webtiming-ssl.html: Added.
              * http/tests/misc/webtiming-ssl-expected.txt: Added.
              * http/tests/misc/webtiming-ssl.php: Added.
              * platform/gtk/Skipped: WebTiming disabled here.
              * platform/mac/Skipped: Ditto.
              * platform/win/Skipped: Ditto.
      2010-12-17  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Add sslHandshakeStart to interface
      
              https://bugs.webkit.org/show_bug.cgi?id=50400
      
              Test: http/tests/misc/webtiming-ssl.php
      
              * page/PerformanceTiming.cpp:
              (WebCore::PerformanceTiming::connectStart): Update comment.
              (WebCore::PerformanceTiming::connectEnd): Remove SSL time.
              (WebCore::PerformanceTiming::sslHandshakeStart): Added.
              * page/PerformanceTiming.h: Added sslHandshakeStart.
              * page/PerformanceTiming.idl: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1eae3f25
    • commit-queue@webkit.org's avatar
      2010-12-17 James Simonsen <simonjam@chromium.org> · 95925432
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Navigation type enums should begin with TYPE_
              https://bugs.webkit.org/show_bug.cgi?id=51200
      
              * fast/dom/Window/window-properties-performance-expected.txt: Added TYPE_ to navigation types and added TYPE_RESERVED.
      2010-12-17  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Navigation type enums should begin with TYPE_
              https://bugs.webkit.org/show_bug.cgi?id=51200
      
              * page/PerformanceNavigation.cpp:
              (WebCore::PerformanceNavigation::type): Added TYPE_ to navigation types.
              * page/PerformanceNavigation.h: Ditto and added TYPE_RESERVED.
              * page/PerformanceNavigation.idl: Ditto.
      2010-12-17  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Navigation type enums should begin with TYPE_
              https://bugs.webkit.org/show_bug.cgi?id=51200
      
              * src/WebPerformance.cpp:
              (WebKit::WebPerformance::navigationType): Added TYPE_ to navigation types.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95925432
  10. 14 Dec, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-12-14 Cosmin Truta <ctruta@chromium.org> · e21268b1
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Rebaseline: leading and trailing EOL must occur consistently in expectation files
              https://bugs.webkit.org/show_bug.cgi?id=51018
      
              We are planning to make new-run-webkit-tests treat EOLs in the same strict manner as old-run-webkit-tests.
              This change in tooling requires rebaselining.
      
              * editing/pasteboard/file-drag-to-editable-expected.txt:
              * fast/dom/Window/slow-unload-handler-expected.txt:
              * fast/filesystem/file-writer-truncate-extend-expected.txt:
              * fast/images/webp-image-decoding-expected.txt:
              * fast/speech/input-onspeechchange-event-expected.txt:
              * fast/speech/input-text-language-tag-expected.txt:
              * fast/speech/input-text-speechbutton-expected.txt:
              * fast/speech/speech-button-ignore-generated-events-expected.txt:
              * http/tests/media/video-play-suspend-expected.txt:
              * platform/chromium-linux/fast/dom/DeviceOrientation/window-property-expected.txt:
              * platform/chromium-linux/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt:
              * platform/chromium-linux/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt:
              * platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-with-child-crash-expected.txt:
              * platform/chromium-linux/fast/dom/Window/window-properties-device-orientation-expected.txt:
              * platform/chromium-linux/fast/forms/onselect-textarea-expected.txt:
              * platform/chromium-linux/fast/preloader/script-expected.txt:
              * platform/chromium-linux/fast/url/file-expected.txt:
              * platform/chromium-linux/fast/url/relative-unix-expected.txt:
              * platform/chromium-linux/fast/url/relative-win-expected.txt:
              * platform/chromium-linux/fast/url/segments-expected.txt:
              * platform/chromium-linux/fast/url/segments-from-data-url-expected.txt:
              * platform/chromium-linux/http/tests/loading/bad-scheme-subframe-expected.txt:
              * platform/chromium-linux/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
              * platform/chromium-linux/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
              * platform/chromium-linux/http/tests/websocket/tests/url-parsing-expected.txt:
              * platform/chromium-linux/svg/custom/use-invalid-pattern-expected.txt:
              * platform/chromium-mac/animations/keyframes-rule-expected.txt:
              * platform/chromium-mac/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt:
              * platform/chromium-mac/fast/dom/DOMException/EventException-expected.txt:
              * platform/chromium-mac/fast/dom/DOMException/RangeException-expected.txt:
              * platform/chromium-mac/fast/dom/DOMException/XPathException-expected.txt:
              * platform/chromium-mac/fast/dom/DOMException/prototype-object-expected.txt:
              * platform/chromium-mac/fast/dom/DeviceOrientation/window-property-expected.txt:
              * platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
              * platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt:
              * platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt:
              * platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt:
              * platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt:
              * platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt:
              * platform/chromium-mac/fast/dom/HTMLSelectElement/named-options-expected.txt:
              * platform/chromium-mac/fast/dom/Range/getClientRects-expected.txt:
              * platform/chromium-mac/fast/dom/Window/window-postmessage-args-expected.txt:
              * platform/chromium-mac/fast/dom/Window/window-properties-device-orientation-expected.txt:
              * platform/chromium-mac/fast/dom/Window/window-properties-geolocation-expected.txt:
              * platform/chromium-mac/fast/dom/error-to-string-stack-overflow-expected.txt:
              * platform/chromium-mac/fast/dom/getElementsByClassName/011-expected.txt:
              * platform/chromium-mac/fast/dom/javascript-url-exception-isolation-expected.txt:
              * platform/chromium-mac/fast/dom/prototype-chain-expected.txt:
              * platform/chromium-mac/fast/dom/setPrimitiveValue-exceptions-expected.txt:
              * platform/chromium-mac/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt:
              * platform/chromium-mac/fast/dom/wrapper-classes-expected.txt:
              * platform/chromium-mac/fast/events/event-view-toString-expected.txt:
              * platform/chromium-mac/fast/forms/ValidityState-typeMismatch-url-expected.txt:
              * platform/chromium-mac/fast/js/array-every-expected.txt:
              * platform/chromium-mac/fast/js/array-foreach-expected.txt:
              * platform/chromium-mac/fast/js/array-some-expected.txt:
              * platform/chromium-mac/fast/js/assign-expected.txt:
              * platform/chromium-mac/fast/js/break-ASI-expected.txt:
              * platform/chromium-mac/fast/js/console-non-string-values-expected.txt:
              * platform/chromium-mac/fast/js/const-expected.txt:
              * platform/chromium-mac/fast/js/cyclic-prototypes-expected.txt:
              * platform/chromium-mac/fast/js/date-proto-generic-invocation-expected.txt:
              * platform/chromium-mac/fast/js/date-toisostring-expected.txt:
              * platform/chromium-mac/fast/js/deep-recursion-test-expected.txt:
              * platform/chromium-mac/fast/js/delete-getters-setters-expected.txt:
              * platform/chromium-mac/fast/js/exception-thrown-from-new-expected.txt:
              * platform/chromium-mac/fast/js/function-declaration-expected.txt:
              * platform/chromium-mac/fast/js/function-prototype-descriptor-expected.txt:
              * platform/chromium-mac/fast/js/kde/RegExp-expected.txt:
              * platform/chromium-mac/fast/js/kde/StringObject-expected.txt:
              * platform/chromium-mac/fast/js/kde/encode_decode_uri-expected.txt:
              * platform/chromium-mac/fast/js/kde/function-expected.txt:
              * platform/chromium-mac/fast/js/kde/garbage-n-expected.txt:
              * platform/chromium-mac/fast/js/kde/lval-exceptions-expected.txt:
              * platform/chromium-mac/fast/js/kde/parse-expected.txt:
              * platform/chromium-mac/fast/js/kde/string-1-n-expected.txt:
              * platform/chromium-mac/fast/js/kde/string-2-n-expected.txt:
              * platform/chromium-mac/fast/js/modify-non-references-expected.txt:
              * platform/chromium-mac/fast/js/no-semi-insertion-at-end-of-script-expected.txt:
              * platform/chromium-mac/fast/js/number-toExponential-expected.txt:
              * platform/chromium-mac/fast/js/number-toString-expected.txt:
              * platform/chromium-mac/fast/js/number-tofixed-expected.txt:
              * platform/chromium-mac/fast/js/number-toprecision-expected.txt:
              * platform/chromium-mac/fast/js/object-extra-comma-expected.txt:
              * platform/chromium-mac/fast/js/property-getters-and-setters-expected.txt:
              * platform/chromium-mac/fast/js/recursion-limit-equal-expected.txt:
              * platform/chromium-mac/fast/js/regexp-compile-expected.txt:
              * platform/chromium-mac/fast/js/regexp-overflow-expected.txt:
              * platform/chromium-mac/fast/js/reserved-words-expected.txt:
              * platform/chromium-mac/fast/js/string-capitalization-expected.txt:
              * platform/chromium-mac/fast/js/toString-and-valueOf-override-expected.txt:
              * platform/chromium-mac/fast/js/toString-stack-overflow-expected.txt:
              * platform/chromium-mac/fast/text/find-kana-expected.txt:
              * platform/chromium-mac/fast/url/file-expected.txt:
              * platform/chromium-mac/fast/url/host-expected.txt:
              * platform/chromium-mac/fast/url/ipv6-expected.txt:
              * platform/chromium-mac/fast/url/mailto-expected.txt:
              * platform/chromium-mac/fast/url/path-expected.txt:
              * platform/chromium-mac/fast/url/path-url-expected.txt:
              * platform/chromium-mac/fast/url/port-expected.txt:
              * platform/chromium-mac/fast/url/relative-unix-expected.txt:
              * platform/chromium-mac/fast/url/relative-win-expected.txt:
              * platform/chromium-mac/fast/url/scheme-expected.txt:
              * platform/chromium-mac/fast/url/segments-expected.txt:
              * platform/chromium-mac/fast/url/segments-from-data-url-expected.txt:
              * platform/chromium-mac/fast/url/standard-url-expected.txt:
              * platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
              * platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
              * platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-recursive-sync-event-expected.txt:
              * platform/chromium-mac/http/tests/loading/bad-scheme-subframe-expected.txt:
              * platform/chromium-mac/http/tests/security/cross-frame-access-enumeration-expected.txt:
              * platform/chromium-mac/http/tests/security/cross-frame-access-get-expected.txt:
              * platform/chromium-mac/http/tests/security/cross-frame-access-get-override-expected.txt:
              * platform/chromium-mac/http/tests/security/cross-frame-access-history-get-expected.txt:
              * platform/chromium-mac/http/tests/security/cross-frame-access-history-get-override-expected.txt:
              * platform/chromium-mac/http/tests/security/cross-frame-access-location-get-override-expected.txt:
              * platform/chromium-mac/http/tests/security/cross-frame-access-location-put-expected.txt:
              * platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
              * platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
              * platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
              * platform/chromium-mac/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
              * platform/chromium-mac/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
              * platform/chromium-mac/http/tests/websocket/tests/url-parsing-expected.txt:
              * platform/chromium-mac/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt:
              * platform/chromium-mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.12.2-0-2-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.12.3-0-2-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-2-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt:
              * platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt:
              * platform/chromium-mac/media/audio-constructor-expected.txt:
              * platform/chromium-mac/media/audio-constructor-preload-expected.txt:
              * platform/chromium-mac/media/audio-constructor-src-expected.txt:
              * platform/chromium-mac/media/media-load-event-expected.txt:
              * platform/chromium-mac/media/video-append-source-expected.txt:
              * platform/chromium-mac/media/video-canvas-source-expected.txt:
              * platform/chromium-mac/media/video-currentTime-set-expected.txt:
              * platform/chromium-mac/media/video-dom-src-expected.txt:
              * platform/chromium-mac/media/video-load-networkState-expected.txt:
              * platform/chromium-mac/media/video-seek-past-end-paused-expected.txt:
              * platform/chromium-mac/media/video-seek-past-end-playing-expected.txt:
              * platform/chromium-mac/media/video-source-expected.txt:
              * platform/chromium-mac/media/video-src-change-expected.txt:
              * platform/chromium-mac/media/video-src-expected.txt:
              * platform/chromium-mac/plugins/clicking-missing-plugin-fires-delegate-expected.txt:
              * platform/chromium-mac/plugins/npruntime/object-from-destroyed-plugin-expected.txt:
              * platform/chromium-mac/security/block-test-no-port-expected.txt:
              * platform/chromium-mac/storage/transaction-error-callback-expected.txt:
              * platform/chromium-mac/svg/custom/SVGException-expected.txt:
              * platform/chromium-mac/svg/custom/use-invalid-pattern-expected.txt:
              * platform/chromium-mac/svg/custom/use-nested-missing-target-removed-expected.txt:
              * platform/chromium-mac/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
              * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.txt:
              * platform/chromium-win/animations/keyframes-rule-expected.txt:
              * platform/chromium-win/editing/selection/extend-selection-home-end-expected.txt:
              * platform/chromium-win/editing/selection/home-end-expected.txt:
              * platform/chromium-win/fast/css/button-height-expected.txt:
              * platform/chromium-win/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt:
              * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
              * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
              * platform/chromium-win/fast/dom/DOMException/EventException-expected.txt:
              * platform/chromium-win/fast/dom/DOMException/RangeException-expected.txt:
              * platform/chromium-win/fast/dom/DOMException/XPathException-expected.txt:
              * platform/chromium-win/fast/dom/DOMException/prototype-object-expected.txt:
              * platform/chromium-win/fast/dom/DeviceOrientation/window-property-expected.txt:
              * platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
              * platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt:
              * platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt:
              * platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt:
              * platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt:
              * platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt:
              * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-with-child-crash-expected.txt:
              * platform/chromium-win/fast/dom/HTMLSelectElement/named-options-expected.txt:
              * platform/chromium-win/fast/dom/Window/new-window-opener-expected.txt:
              * platform/chromium-win/fast/dom/Window/webkitConvertPoint-expected.txt:
              * platform/chromium-win/fast/dom/Window/window-lookup-precedence-expected.txt:
              * platform/chromium-win/fast/dom/Window/window-postmessage-args-expected.txt:
              * platform/chromium-win/fast/dom/Window/window-properties-device-orientation-expected.txt:
              * platform/chromium-win/fast/dom/Window/window-properties-geolocation-expected.txt:
              * platform/chromium-win/fast/dom/error-to-string-stack-overflow-expected.txt:
              * platform/chromium-win/fast/dom/getElementsByClassName/011-expected.txt:
              * platform/chromium-win/fast/dom/javascript-url-exception-isolation-expected.txt:
              * platform/chromium-win/fast/dom/prototype-chain-expected.txt:
              * platform/chromium-win/fast/dom/setPrimitiveValue-exceptions-expected.txt:
              * platform/chromium-win/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt:
              * platform/chromium-win/fast/dom/wrapper-classes-expected.txt:
              * platform/chromium-win/fast/events/event-view-toString-expected.txt:
              * platform/chromium-win/fast/events/offsetX-offsetY-expected.txt:
              * platform/chromium-win/fast/forms/ValidityState-typeMismatch-url-expected.txt:
              * platform/chromium-win/fast/forms/focus-selection-textarea-expected.txt:
              * platform/chromium-win/fast/forms/input-maxlength-ime-completed-expected.txt:
              * platform/chromium-win/fast/forms/input-maxlength-ime-preedit-expected.txt:
              * platform/chromium-win/fast/forms/slider-mouse-events-expected.txt:
              * platform/chromium-win/fast/js/array-every-expected.txt:
              * platform/chromium-win/fast/js/array-foreach-expected.txt:
              * platform/chromium-win/fast/js/array-some-expected.txt:
              * platform/chromium-win/fast/js/assign-expected.txt:
              * platform/chromium-win/fast/js/break-ASI-expected.txt:
              * platform/chromium-win/fast/js/console-non-string-values-expected.txt:
              * platform/chromium-win/fast/js/const-expected.txt:
              * platform/chromium-win/fast/js/cyclic-prototypes-expected.txt:
              * platform/chromium-win/fast/js/date-proto-generic-invocation-expected.txt:
              * platform/chromium-win/fast/js/date-toisostring-expected.txt:
              * platform/chromium-win/fast/js/deep-recursion-test-expected.txt:
              * platform/chromium-win/fast/js/delete-getters-setters-expected.txt:
              * platform/chromium-win/fast/js/exception-thrown-from-new-expected.txt:
              * platform/chromium-win/fast/js/function-declaration-expected.txt:
              * platform/chromium-win/fast/js/function-prototype-descriptor-expected.txt:
              * platform/chromium-win/fast/js/function-prototype-expected.txt:
              * platform/chromium-win/fast/js/kde/RegExp-expected.txt:
              * platform/chromium-win/fast/js/kde/StringObject-expected.txt:
              * platform/chromium-win/fast/js/kde/encode_decode_uri-expected.txt:
              * platform/chromium-win/fast/js/kde/exception_propagation-expected.txt:
              * platform/chromium-win/fast/js/kde/function-expected.txt:
              * platform/chromium-win/fast/js/kde/garbage-n-expected.txt:
              * platform/chromium-win/fast/js/kde/lval-exceptions-expected.txt:
              * platform/chromium-win/fast/js/kde/parse-expected.txt:
              * platform/chromium-win/fast/js/kde/string-1-n-expected.txt:
              * platform/chromium-win/fast/js/kde/string-2-n-expected.txt:
              * platform/chromium-win/fast/js/modify-non-references-expected.txt:
              * platform/chromium-win/fast/js/no-semi-insertion-at-end-of-script-expected.txt:
              * platform/chromium-win/fast/js/number-toExponential-expected.txt:
              * platform/chromium-win/fast/js/number-toString-expected.txt:
              * platform/chromium-win/fast/js/number-tofixed-expected.txt:
              * platform/chromium-win/fast/js/number-toprecision-expected.txt:
              * platform/chromium-win/fast/js/object-extra-comma-expected.txt:
              * platform/chromium-win/fast/js/property-getters-and-setters-expected.txt:
              * platform/chromium-win/fast/js/recursion-limit-equal-expected.txt:
              * platform/chromium-win/fast/js/regexp-caching-expected.txt:
              * platform/chromium-win/fast/js/regexp-compile-expected.txt:
              * platform/chromium-win/fast/js/regexp-overflow-expected.txt:
              * platform/chromium-win/fast/js/reserved-words-expected.txt:
              * platform/chromium-win/fast/js/string-capitalization-expected.txt:
              * platform/chromium-win/fast/js/toString-and-valueOf-override-expected.txt:
              * platform/chromium-win/fast/replaced/table-percent-height-expected.txt:
              * platform/chromium-win/fast/url/file-expected.txt:
              * platform/chromium-win/fast/url/host-expected.txt:
              * platform/chromium-win/fast/url/ipv6-expected.txt:
              * platform/chromium-win/fast/url/mailto-expected.txt:
              * platform/chromium-win/fast/url/path-expected.txt:
              * platform/chromium-win/fast/url/path-url-expected.txt:
              * platform/chromium-win/fast/url/port-expected.txt:
              * platform/chromium-win/fast/url/relative-unix-expected.txt:
              * platform/chromium-win/fast/url/relative-win-expected.txt:
              * platform/chromium-win/fast/url/scheme-expected.txt:
              * platform/chromium-win/fast/url/segments-expected.txt:
              * platform/chromium-win/fast/url/segments-from-data-url-expected.txt:
              * platform/chromium-win/fast/url/standard-url-expected.txt:
              * platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
              * platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
              * platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-recursive-sync-event-expected.txt:
              * platform/chromium-win/http/tests/loading/bad-scheme-subframe-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-enumeration-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-get-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-get-override-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-history-get-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-history-get-override-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-location-get-override-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-location-put-expected.txt:
              * platform/chromium-win/http/tests/security/cross-frame-access-put-expected.txt:
              * platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
              * platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
              * platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
              * platform/chromium-win/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
              * platform/chromium-win/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
              * platform/chromium-win/http/tests/websocket/tests/url-parsing-expected.txt:
              * platform/chromium-win/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.12.2-0-2-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.12.3-0-2-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.10-2-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt:
              * platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt:
              * platform/chromium-win/inspector/console-format-expected.txt:
              * platform/chromium-win/inspector/console-uncaught-exception-expected.txt:
              * platform/chromium-win/media/audio-constructor-expected.txt:
              * platform/chromium-win/media/audio-constructor-preload-expected.txt:
              * platform/chromium-win/media/audio-constructor-src-expected.txt:
              * platform/chromium-win/media/audio-delete-while-slider-thumb-clicked-expected.txt:
              * platform/chromium-win/media/media-load-event-expected.txt:
              * platform/chromium-win/media/video-append-source-expected.txt:
              * platform/chromium-win/media/video-canvas-source-expected.txt:
              * platform/chromium-win/media/video-currentTime-set-expected.txt:
              * platform/chromium-win/media/video-dom-src-expected.txt:
              * platform/chromium-win/media/video-load-networkState-expected.txt:
              * platform/chromium-win/media/video-seek-past-end-paused-expected.txt:
              * platform/chromium-win/media/video-seek-past-end-playing-expected.txt:
              * platform/chromium-win/media/video-source-expected.txt:
              * platform/chromium-win/media/video-src-change-expected.txt:
              * platform/chromium-win/media/video-src-expected.txt:
              * platform/chromium-win/media/video-src-remove-expected.txt:
              * platform/chromium-win/media/video-src-set-expected.txt:
              * platform/chromium-win/media/video-src-source-expected.txt:
              * platform/chromium-win/plugins/clicking-missing-plugin-fires-delegate-expected.txt:
              * platform/chromium-win/plugins/inner-html-display-none-expected.txt:
              * platform/chromium-win/plugins/npruntime/object-from-destroyed-plugin-expected.txt:
              * platform/chromium-win/security/block-test-no-port-expected.txt:
              * platform/chromium-win/storage/statement-error-callback-expected.txt:
              * platform/chromium-win/storage/transaction-error-callback-expected.txt:
              * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
              * platform/chromium-win/svg/custom/SVGException-expected.txt:
              * platform/chromium-win/svg/custom/use-invalid-pattern-expected.txt:
              * platform/chromium-win/svg/custom/use-nested-missing-target-removed-expected.txt:
              * platform/chromium-win/svg/dom/path-parser-expected.txt:
              * platform/chromium-win/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
              * platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.txt:
              * platform/chromium-win/svg/dynamic-updates/SVGLineElement-dom-requiredFeatures-expected.txt:
              * platform/chromium-win/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.txt:
              * platform/chromium-win/svg/text/lengthAdjust-text-metrics-expected.txt:
              * platform/chromium/fast/dom/anchor-origin-expected.txt:
              * platform/chromium/fast/dom/domListEnumeration-expected.txt:
              * platform/chromium/fast/dom/global-constructors-expected.txt:
              * platform/chromium/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt:
              * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
              * platform/chromium/fast/forms/search-popup-crasher-expected.txt:
              * platform/chromium/fast/js/ToNumber-expected.txt:
              * platform/chromium/fast/js/parseFloat-expected.txt:
              * platform/chromium/fast/js/regexp-look-ahead-empty-expected.txt:
              * platform/chromium/fast/js/regexp-overflow-expected.txt:
              * platform/chromium/fast/text/font-linux-normalize-expected.txt:
              * platform/chromium/fast/url/relative-expected.txt:
              * platform/chromium/http/tests/inspector/console-resource-errors-expected.txt:
              * platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt:
              * platform/chromium/http/tests/security/cross-frame-access-call-expected.txt:
              * platform/chromium/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Added.
              * platform/chromium/inspector/console-eval-global-expected.txt:
              * platform/chromium/inspector/console-log-syntax-error-expected.txt:
              * platform/chromium/inspector/console-object-constructor-name-expected.txt:
              * platform/chromium/inspector/console-trace-in-eval-expected.txt:
              * platform/chromium/inspector/console-uncaught-exception-in-eval-expected.txt:
              * platform/chromium/inspector/debugger-autocontinue-on-syntax-error-expected.txt:
              * platform/chromium/inspector/debugger-expand-scope-expected.txt:
              * platform/chromium/security/block-test-no-port-expected.txt:
              * platform/chromium/traversal/node-iterator-prototype-expected.txt:
              * plugins/document-open-expected.txt:
              * plugins/iframe-shims-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e21268b1
  11. 09 Dec, 2010 1 commit
    • zmo@google.com's avatar
      2010-12-09 Zhenyao Mo <zmo@google.com> · 1cfa85c9
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Expose constructor functions for instanceof checks of WebGL objects
              https://bugs.webkit.org/show_bug.cgi?id=36512
      
              Test: fast/canvas/webgl/instanceof-test.html
      
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::webGLActiveInfoEnabled):
              (WebCore::RuntimeEnabledFeatures::webGLBufferEnabled):
              (WebCore::RuntimeEnabledFeatures::webGLFramebufferEnabled):
              (WebCore::RuntimeEnabledFeatures::webGLProgramEnabled):
              (WebCore::RuntimeEnabledFeatures::webGLRenderbufferEnabled):
              (WebCore::RuntimeEnabledFeatures::webGLShaderEnabled):
              (WebCore::RuntimeEnabledFeatures::webGLTextureEnabled):
              (WebCore::RuntimeEnabledFeatures::webGLUniformLocationEnabled):
              * html/canvas/WebGLActiveInfo.idl: Remove OmitConstructor.
              * html/canvas/WebGLBuffer.idl: Ditto.
              * html/canvas/WebGLFramebuffer.idl: Ditto.
              * html/canvas/WebGLProgram.idl: Ditto.
              * html/canvas/WebGLRenderbuffer.idl: Ditto.
              * html/canvas/WebGLShader.idl: Ditto.
              * html/canvas/WebGLTexture.idl: Ditto.
              * html/canvas/WebGLUniformLocation.idl: Ditto.
              * page/DOMWindow.idl: Expose constructors for WebGL objects in DOMWindow.
      2010-12-09  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Expose constructor functions for instanceof checks of WebGL objects
              https://bugs.webkit.org/show_bug.cgi?id=36512
      
              * fast/canvas/webgl/instanceof-test-expected.txt: Added.
              * fast/canvas/webgl/instanceof-test.html: Added.
              * fast/dom/Window/script-tests/window-property-descriptors.js: Register newly added WebGL objects.
              * fast/dom/Window/window-properties.html: Ditto.
              * fast/dom/script-tests/prototype-inheritance-2.js: Ditto.
              (constructorNamesForWindow):
              * fast/dom/script-tests/prototype-inheritance.js: Ditto.
              * fast/js/script-tests/global-constructors.js: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cfa85c9
  12. 24 Nov, 2010 1 commit
    • jianli@chromium.org's avatar
      Implement DataView interface from Typed Array specification · 3cbb559a
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=46541
      
      Reviewed by Kenneth Russell.
      
      WebCore:
      
      Test: fast/canvas/webgl/data-view-test.html
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.pro:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::dataViewEnabled):
      * bindings/js/JSArrayBufferViewHelper.h:
      (WebCore::constructArrayBufferViewWithArrayBufferArgument):
      (WebCore::constructArrayBufferView):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::dataView):
      * bindings/js/JSDataViewCustom.cpp: Added.
      * bindings/js/JSFloat32ArrayCustom.cpp:
      (WebCore::JSFloat32ArrayConstructor::constructJSFloat32Array):
      * bindings/js/JSInt16ArrayCustom.cpp:
      (WebCore::JSInt16ArrayConstructor::constructJSInt16Array):
      * bindings/js/JSInt32ArrayCustom.cpp:
      (WebCore::JSInt32ArrayConstructor::constructJSInt32Array):
      * bindings/js/JSInt8ArrayCustom.cpp:
      (WebCore::JSInt8ArrayConstructor::constructJSInt8Array):
      * bindings/js/JSUint16ArrayCustom.cpp:
      (WebCore::JSUint16ArrayConstructor::constructJSUint16Array):
      * bindings/js/JSUint32ArrayCustom.cpp:
      (WebCore::JSUint32ArrayConstructor::constructJSUint32Array):
      * bindings/js/JSUint8ArrayCustom.cpp:
      (WebCore::JSUint8ArrayConstructor::constructJSUint8Array):
      * bindings/v8/custom/V8ArrayBufferViewCustom.h:
      (WebCore::constructWebGLArrayWithArrayBufferArgument):
      (WebCore::constructWebGLArray):
      * bindings/v8/custom/V8DataViewCustom.cpp: Added.
      * html/canvas/ArrayBufferView.h:
      (WebCore::ArrayBufferView::isDataView):
      * html/canvas/DataView.cpp: Added.
      * html/canvas/DataView.h: Added.
      * html/canvas/DataView.idl: Added.
      * page/DOMWindow.idl:
      
      LayoutTests:
      
      Add a new test for testing DataView interface. Also update some tests
      to exclude DataView property from being tested because it is not
      exposed to all platforms.
      
      * fast/canvas/webgl/data-view-test-expected.txt: Added.
      * fast/canvas/webgl/data-view-test.html: Added.
      * fast/dom/Window/script-tests/window-property-descriptors.js:
      * fast/dom/Window/window-properties.html:
      * fast/dom/script-tests/prototype-inheritance-2.js:
      (constructorNamesForWindow):
      * fast/dom/script-tests/prototype-inheritance.js:
      * fast/js/script-tests/global-constructors.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3cbb559a
  13. 22 Nov, 2010 2 commits
    • ossy@webkit.org's avatar
      Unreviewed. Update GTK and Mac specific expected results after r72552. · 117eeda2
      ossy@webkit.org authored
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/prototype-inheritance-expected.txt:
      * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      117eeda2
    • luiz@webkit.org's avatar
      2010-10-21 Luiz Agostini <luiz.agostini@openbossa.org> · db0dd431
      luiz@webkit.org authored
              Reviewed by Darin Adler.
      
              Implement CSSOM View matchMedia interface
              https://bugs.webkit.org/show_bug.cgi?id=37205
      
              New property matchMedia was added to window.
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
      
              window.matchMedia and MediaQueryList tests.
      
              * fast/media/media-query-list-01-expected.txt: Added.
              * fast/media/media-query-list-01.html: Added.
      
              The following tests depend on LayoutTestController::setViewModeMediaFeature() to work.
              As it is only implemented by Qt and Gtk the tests needed to be skipped in all other platforms.
      
              * fast/media/media-query-list-02-expected.txt: Added.
              * fast/media/media-query-list-02.html: Added.
              * fast/media/media-query-list-03-expected.txt: Added.
              * fast/media/media-query-list-03.html: Added.
              * fast/media/media-query-list-04-expected.txt: Added.
              * fast/media/media-query-list-04.html: Added.
              * fast/media/media-query-list-05-expected.txt: Added.
              * fast/media/media-query-list-05.html: Added.
              * fast/media/media-query-list-06-expected.txt: Added.
              * fast/media/media-query-list-06.html: Added.
              * fast/media/media-query-list-07-expected.txt: Added.
              * fast/media/media-query-list-07.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/mac/Skipped:
              * platform/win/Skipped:
      2010-10-21  Luiz Agostini  <luiz.agostini@openbossa.org>
      
              Reviewed by Darin Adler.
      
              Implement CSSOM View matchMedia interface
              https://bugs.webkit.org/show_bug.cgi?id=37205
      
              New interfaces may be used to evaluate media queries and to associate listeners
              to media queries. Those listeners are called whenever the associated query changes.
              Specification may be found at http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface
      
              operator== added to JS version of ScriptValue.
              Method isFunction added to JS and V8 versions of ScriptValue.
      
              * bindings/js/ScriptValue.cpp:
              (WebCore::ScriptValue::isFunction):
              * bindings/js/ScriptValue.h:
              (WebCore::ScriptValue::operator==):
              * bindings/v8/ScriptValue.h:
              (WebCore::ScriptValue::isFunction):
      
              Some changes were needed to the code generators to handle type MediaQueryListListener.
      
              * bindings/scripts/CodeGeneratorGObject.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorV8.pm:
      
              Some changes to the bindings test results that were previously added.
      
              * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
              * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:
              * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
              (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
              * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
              (WebCore::TestMediaQueryListListenerInternal::methodCallback):
              (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
      
              New interfaces:
      
              * css/MediaQueryList.cpp: Added.
              * css/MediaQueryList.h: Added.
              * css/MediaQueryList.idl: Added.
      
              * css/MediaQueryListListener.cpp: Added.
              * css/MediaQueryListListener.h: Added.
              * css/MediaQueryListListener.idl: Added.
      
              To avoid adding code to classes DOMWindow and Document a new class MediaQueryMatcher was created.
      
              * css/MediaQueryMatcher.cpp: Added.
              * css/MediaQueryMatcher.h: Added.
      
              Document and DOMWindow have changed to support new features. DOMWindow is the class that
              publishes methods matchMedia but for page cache to work properly the reference to the
              MediaQueryMatcher must be in Document.
      
              * dom/Document.cpp:
              (WebCore::Document::~Document):
              (WebCore::Document::mediaQueryMatcher):
              (WebCore::Document::styleSelectorChanged):
              * dom/Document.h:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::matchMedia):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
              Build systems
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/gobject/GNUmakefile.am:
      
              Tests: fast/media/media-query-list-01.html
                     fast/media/media-query-list-02.html
                     fast/media/media-query-list-03.html
                     fast/media/media-query-list-04.html
                     fast/media/media-query-list-05.html
                     fast/media/media-query-list-06.html
                     fast/media/media-query-list-07.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db0dd431
  14. 19 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-19 James Simonsen <simonjam@chromium.org> · b0010969
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Add unloadEventStart
              https://bugs.webkit.org/show_bug.cgi?id=49101
      
              * fast/dom/Window/window-properties-performance-expected.txt:
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkTimingWhileDeferred):
              (checkWebTimingWhileAsync):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-document-open-expected.txt:
              * fast/dom/webtiming-expected.txt:
              * fast/dom/webtiming-navigate-within-document-expected.txt:
      2010-11-19  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Add unloadEventStart
              https://bugs.webkit.org/show_bug.cgi?id=49101
      
              * loader/DocumentLoadTiming.h:
              (WebCore::DocumentLoadTiming::DocumentLoadTiming):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::stopLoading): Use dispatchTimedEvent().
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::dispatchLoadEvent): Use dispatchTimedEvent().
              (WebCore::DOMWindow::dispatchTimedEvent): Added.
              * page/DOMWindow.h:
              * page/Timing.cpp:
              (WebCore::Timing::unloadEventStart):
              * page/Timing.h:
              * page/Timing.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0010969
  15. 16 Nov, 2010 1 commit
  16. 12 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-12 James Simonsen <simonjam@chromium.org> · 6000d4c1
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Rename interfaces:
              - Navigation -> PerformanceNavigation
              - Timing -> PerformanceTiming
              https://bugs.webkit.org/show_bug.cgi?id=48919
      
              * fast/dom/Window/window-properties-performance-expected.txt: Class names changed.
      2010-11-12  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Rename interfaces:
              - Navigation -> PerformanceNavigation
              - Timing -> PerformanceTiming
              https://bugs.webkit.org/show_bug.cgi?id=48919
      
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/Performance.cpp:
              (WebCore::Performance::navigation):
              (WebCore::Performance::timing):
              * page/Performance.h:
              * page/Performance.idl:
              * page/PerformanceNavigation.cpp: Renamed from WebCore/page/Navigation.cpp.
              (WebCore::PerformanceNavigation::PerformanceNavigation):
              (WebCore::PerformanceNavigation::frame):
              (WebCore::PerformanceNavigation::disconnectFrame):
              (WebCore::PerformanceNavigation::type):
              (WebCore::PerformanceNavigation::redirectCount):
              * page/PerformanceNavigation.h: Renamed from WebCore/page/Navigation.h.
              (WebCore::PerformanceNavigation::create):
              * page/PerformanceNavigation.idl: Renamed from WebCore/page/Navigation.idl.
              * page/PerformanceTiming.cpp: Renamed from WebCore/page/Timing.cpp.
              (WebCore::toIntegerMilliseconds):
              (WebCore::getPossiblySkewedTimeInKnownRange):
              (WebCore::PerformanceTiming::PerformanceTiming):
              (WebCore::PerformanceTiming::frame):
              (WebCore::PerformanceTiming::disconnectFrame):
              (WebCore::PerformanceTiming::navigationStart):
              (WebCore::PerformanceTiming::unloadEventEnd):
              (WebCore::PerformanceTiming::redirectStart):
              (WebCore::PerformanceTiming::redirectEnd):
              (WebCore::PerformanceTiming::fetchStart):
              (WebCore::PerformanceTiming::domainLookupStart):
              (WebCore::PerformanceTiming::domainLookupEnd):
              (WebCore::PerformanceTiming::connectStart):
              (WebCore::PerformanceTiming::connectEnd):
              (WebCore::PerformanceTiming::requestStart):
              (WebCore::PerformanceTiming::requestEnd):
              (WebCore::PerformanceTiming::responseStart):
              (WebCore::PerformanceTiming::responseEnd):
              (WebCore::PerformanceTiming::domLoading):
              (WebCore::PerformanceTiming::domInteractive):
              (WebCore::PerformanceTiming::domContentLoaded):
              (WebCore::PerformanceTiming::domComplete):
              (WebCore::PerformanceTiming::loadEventStart):
              (WebCore::PerformanceTiming::loadEventEnd):
              (WebCore::PerformanceTiming::documentLoader):
              (WebCore::PerformanceTiming::documentTiming):
              (WebCore::PerformanceTiming::documentLoadTiming):
              (WebCore::PerformanceTiming::resourceLoadTiming):
              (WebCore::PerformanceTiming::resourceLoadTimeRelativeToAbsolute):
              * page/PerformanceTiming.h: Renamed from WebCore/page/Timing.h.
              (WebCore::PerformanceTiming::create):
              * page/PerformanceTiming.idl: Renamed from WebCore/page/Timing.idl.
      2010-11-12  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Rename interfaces:
              - Navigation -> PerformanceNavigation
              - Timing -> PerformanceTiming
              https://bugs.webkit.org/show_bug.cgi?id=48919
      
              * src/WebPerformance.cpp:
              (WebKit::WebPerformance::navigationType):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6000d4c1
  17. 09 Nov, 2010 1 commit
  18. 04 Nov, 2010 2 commits
    • commit-queue@webkit.org's avatar
      2010-11-04 Kenichi Ishibashi <bashi@google.com> · e4ef6e21
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              [HTML5][Forms] Support for <output> element
              https://bugs.webkit.org/show_bug.cgi?id=29363
      
              Adds tests for the DOMSettableTokenList and the output element.
      
              * fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt: Added.
              * fast/dom/HTMLOutputElement/dom-settable-token-list.html: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement-expected.txt: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement-reset-event-expected.txt: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement-reset-event.html: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement-validity-expected.txt: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement-validity.html: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement-value-expected.txt: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement-value.html: Added.
              * fast/dom/HTMLOutputElement/htmloutputelement.html: Added.
              * fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js: Added.
              (createElement):
              * fast/dom/HTMLOutputElement/script-tests/htmloutputelement-reset-event.js: Added.
              * fast/dom/HTMLOutputElement/script-tests/htmloutputelement-validity.js: Added.
              * fast/dom/HTMLOutputElement/script-tests/htmloutputelement-value.js: Added.
              * fast/dom/Window/window-properties-expected.txt: Updated expectation.
              * fast/dom/Window/window-property-descriptors-expected.txt: Updated expectation.
              * fast/dom/prototype-inheritance-2-expected.txt: Updated expectation.
              * fast/dom/prototype-inheritance-expected.txt: Updated expectation.
              * fast/js/global-constructors-expected.txt: Updated expectation.
              * platform/chromium/fast/dom/prototype-inheritance-expected.txt: Updated expectation.
              * platform/gtk/fast/dom/Window/window-properties-expected.txt: Updated expectation.
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt: Updated expectation.
              * platform/gtk/fast/dom/prototype-inheritance-expected.txt: Updated expectation.
              * platform/gtk/fast/js/global-constructors-expected.txt: Updated expectation.
              * platform/qt/fast/dom/Window/window-properties-expected.txt: Updated expectation.
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: Updated expectation.
              * platform/qt/fast/dom/prototype-inheritance-expected.txt: Updated expectation.
              * platform/qt/fast/js/global-constructors-expected.txt: Updated expectation.
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt: Updated expectation.
              * platform/win/fast/dom/prototype-inheritance-2-expected.txt: Updated expectation.
              * platform/win/fast/dom/prototype-inheritance-expected.txt: Updated expectation.
              * platform/win/fast/js/global-constructors-expected.txt: Updated expectation.
      2010-11-04  Kenichi Ishibashi  <bashi@google.com>
      
              Reviewed by Kent Tamura.
      
              [HTML5][Forms] Support for <output> element
              https://bugs.webkit.org/show_bug.cgi?id=29363
      
              Support for <output> element.
      
              Tests: fast/dom/HTMLOutputElement/dom-settable-token-list.html
                     fast/dom/HTMLOutputElement/htmloutputelement-reset-event.html
                     fast/dom/HTMLOutputElement/htmloutputelement-validity.html
                     fast/dom/HTMLOutputElement/htmloutputelement-value.html
                     fast/dom/HTMLOutputElement/htmloutputelement.html
      
              * Android.derived.jscbindings.mk: Added JSHTMLOutputElement.h.
              * Android.derived.v8bindings.mk: Added V8HTMLOutputElement.h.
              * Android.jscbindings.mk: Added JSHTMLOutputElementCustom.cpp.
              * Android.mk: Added HTMLOutputElement.cpp.
              * Android.v8bindings.mk: Added V8HTMLOutputElementCustom.cpp.
              * CMakeLists.txt: Added HTMLOutputElement.{idl,cpp} and JSHTMLOutputElementCustom.cpp.
              * DerivedSources.cpp: Added JSHTMLOutputElement.cpp.
              * DerivedSources.make: Added HTMLOutputElement entry.
              * GNUmakefile.am: Added JSHTMLOutputElement.{cpp,h}
              * WebCore.gypi: Added HTMLOutputElement.{idl,cpp,h}, JSHTMLOutputElementCustom.cpp and V8HTMLOutputElementCustom.cpp
              * WebCore.pri: Added HTMLOutputElement.idl.
              * WebCore.pro: Added V8HTMLOutputElementCustom.cpp, JSHTMLOutputElementCustom.cpp and HTMLOutputElement.cpp.
              * WebCore.vcproj/WebCore.vcproj: Added entries for JSHTMLOutputElement.{cpp,h} and JSHTMLOutputElementCustom.cpp.
              * WebCore.xcodeproj/project.pbxproj: Added entries for JSHTMLOutputElementCustom.cpp, HTMLOutputElement.{cpp,h,idl}, JSHTMLOutputElement.{cpp,h}
              * bindings/js/JSBindingsAllInOne.cpp: Added JSHTMLOutputElementCustom.cpp.
              * bindings/js/JSHTMLOutputElementCustom.cpp: Added.
              (WebCore::JSHTMLOutputElement::htmlFor):
              (WebCore::JSHTMLOutputElement::setHtmlFor):
              * bindings/v8/custom/V8DOMSettableTokenListCustom.cpp: Modified.
              (WebCore::V8DOMSettableTokenList::indexedPropertyGetter): Returns null if the index is out of range.
              * bindings/v8/custom/V8HTMLOutputElementCustom.cpp: Added.
              (WebCore::V8HTMLOutputElement::htmlForAccessorGetter):
              (WebCore::V8HTMLOutputElement::htmlForAccessorSetter):
              * css/html.css: Added a default style of output element.
              (output):
              * html/DOMSettableTokenList.cpp: Fix bugs.
              (WebCore::DOMSettableTokenList::item): Returns null string if the index is out of range.
              (WebCore::DOMSettableTokenList::addInternal): Added check m_tokens.isNull().
              (WebCore::DOMSettableTokenList::setValue): Set the value case sensitive.
              * html/HTMLOutputElement.cpp: Added.
              (WebCore::HTMLOutputElement::HTMLOutputElement):
              (WebCore::HTMLOutputElement::create):
              (WebCore::HTMLOutputElement::formControlType):
              (WebCore::HTMLOutputElement::parseMappedAttribute):
              (WebCore::HTMLOutputElement::htmlFor):
              (WebCore::HTMLOutputElement::setFor):
              (WebCore::HTMLOutputElement::setForm):
              (WebCore::HTMLOutputElement::childrenChanged):
              (WebCore::HTMLOutputElement::reset):
              (WebCore::HTMLOutputElement::value):
              (WebCore::HTMLOutputElement::setValue):
              (WebCore::HTMLOutputElement::defaultValue):
              (WebCore::HTMLOutputElement::setDefaultValue):
              (WebCore::HTMLOutputElement::setTextContentInternal):
              * html/HTMLOutputElement.h: Added.
              (WebCore::HTMLOutputElement::isEnumeratable):
              (WebCore::HTMLOutputElement::willValidate):
              * html/HTMLOutputElement.idl: Added.
              * html/HTMLTagNames.in: Added "output".
              * page/DOMWindow.idl: Added an attribute for HTMLOutputElement.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4ef6e21
    • commit-queue@webkit.org's avatar
      2010-11-04 James Simonsen <simonjam@chromium.org> · d63bb0a9
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Implement dom* timing marks
              https://bugs.webkit.org/show_bug.cgi?id=46301
      
              * fast/dom/Window/window-properties-performance-expected.txt:
              * fast/dom/script-tests/webtiming-async.js: Added.
              * fast/dom/script-tests/webtiming-defer.js: Added.
              * fast/dom/script-tests/webtiming-document-open.js: Added.
              (testTimingWithDocumentOpen):
              * fast/dom/script-tests/webtiming-navigate-within-document.js:
              (checkTimingNotChanged): Added dom timing.
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad): Added dom timing.
              (checkTimingWhileDeferred): Added.
              (checkWebTimingWhileAsync): Added.
              (checkWebTimingOnLoad): Added dom timing.
              (checkWebTimingAfterLoad): Added dom timing.
              * fast/dom/webtiming-document-open-expected.txt: Added.
              * fast/dom/webtiming-document-open.html: Added.
              * fast/dom/webtiming-expected.txt:
              * fast/dom/webtiming-navigate-within-document-expected.txt:
              * fast/dom/webtiming.html: Added async and defer tests.
              * platform/mac/Skipped: Skip new webtiming test.
      2010-11-04  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Implement dom* timing marks
              https://bugs.webkit.org/show_bug.cgi?id=46301
      
              Test: fast/dom/webtiming-document-open.html
      
              * GNUmakefile.am: Added DocumentTiming.h
              * WebCore.gypi: Ditto.
              * WebCore.vcproj/WebCore.vcproj: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
              * dom/Document.cpp:
              (WebCore::Document::setReadyState): Set DOM WebTiming marks.
              (WebCore::Document::finishedParsing): Set DOM WebTiming marks.
              * dom/Document.h:
              (WebCore::Document::timing): Added.
              * dom/DocumentTiming.h: Added.
              (WebCore::DocumentTiming::DocumentTiming):
              * page/Timing.cpp: Added DOM timing.
              (WebCore::Timing::domLoading): Ditto.
              (WebCore::Timing::domInteractive): Ditto.
              (WebCore::Timing::domContentLoaded): Ditto.
              (WebCore::Timing::domComplete): Ditto.
              (WebCore::Timing::documentTiming): Ditto.
              * page/Timing.h: Ditto.
              * page/Timing.idl: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d63bb0a9
  19. 29 Oct, 2010 2 commits
    • ager@chromium.org's avatar
      2010-10-29 Mads Ager <ager@chromium.org> · f31a106d
      ager@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [V8] The DateExtension cannot handle overwritten Date
              https://bugs.webkit.org/show_bug.cgi?id=48621
      
              Check that the Date property is an object before attempting to get
              hidden properties from it.
      
              Test: fast/dom/Window/slow-unload-handler-overwritten-date.html
      
              * bindings/v8/DateExtension.cpp:
              (WebCore::DateExtension::setAllowSleep):
      2010-10-29  Mads Ager  <ager@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              [V8] The DateExtension cannot handle overwritten Date
              https://bugs.webkit.org/show_bug.cgi?id=48621
      
              * fast/dom/Window/resources/slow-unload-handler-overwritten-date1.html: Added.
              * fast/dom/Window/slow-unload-handler-overwritten-date-expected.txt: Added.
              * fast/dom/Window/slow-unload-handler-overwritten-date.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f31a106d
    • commit-queue@webkit.org's avatar
      2010-10-29 Kenichi Ishibashi <bashi@google.com> · 691d04f1
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              [HTML5] Add DOMSettableTokenList
              https://bugs.webkit.org/show_bug.cgi?id=47810
      
              * fast/dom/Window/window-properties-expected.txt: Updated expectations.
              * fast/dom/Window/window-property-descriptors-expected.txt: Updated expectations.
              * fast/dom/prototype-inheritance-2-expected.txt: Updated expectations.
              * fast/dom/prototype-inheritance-expected.txt: Updated expectations.
              * fast/js/global-constructors-expected.txt: Updated expectations.
      2010-10-29  Kenichi Ishibashi  <bashi@google.com>
      
              Reviewed by Kent Tamura.
      
              [HTML5] Add DOMSettableTokenList
              https://bugs.webkit.org/show_bug.cgi?id=47810
      
              Adds DOMSettableTokenList interface to support <output> element.
              The DOMTokenList interface was refactored since its was tightly coupled
              with HTMLElement.classList property.
      
              * Android.derived.jscbindings.mk: Added JSDOMSettableTokenList.h file.
              * Android.derived.v8bindings.mk: Added V8DOMSettableTokenList.h file.
              * Android.jscbindings.mk: Added JSDOMSettableTokenList.cpp file.
              * Android.mk: Added ClassList.cpp file.
              * CMakeLists.txt: Added DOMSettableTokenList.{cpp,idl} and ClassList.cpp files.
              * DerivedSources.cpp: Added JSDOMSettableTokenList.cpp file.
              * DerivedSources.make: Added DOMSettableTokenList entry.
              * GNUmakefile.am: Added JSDOMSettableTokenList.{h,cpp} and ClassList.{h,cpp} files.
              * WebCore.gypi: Added DOMSettableTokenList.{h,cpp,idl}, V8DOMSettableTokenListCustom.cpp and ClassList.{h,cpp} files.
              * WebCore.pri: Added DOMSettableTokenList.idl file.
              * WebCore.pro: Added V8DOMSettableTokenListCustom.cpp, ClassList.{h,cpp} and DOMSettableTokenList.{h,cpp} files.
              * WebCore.vcproj/WebCore.vcproj: Added JSDOMSettableTokenList.{h,cpp}, ClassList.{h,cpp} and DOMSettableTokenList.{h,cpp} files.
              * WebCore.xcodeproj/project.pbxproj: Added ClassList.{h,cpp}, DOMSettabletokenList.{h,cpp} and JSDOMSettableTokenList.{h,cpp}
              * bindings/gobject/GNUmakefile.am: Added WebKitDOMDOMSettableTokenList.{h,cpp} and WebKitDOMDOMSettableTokenListPrivate.cpp files.
              * bindings/scripts/CodeGeneratorJS.pm: Modified IndexGetterReturnsStrings() returns 1 for DOMSettableTokenList.
              * bindings/v8/custom/V8DOMSettableTokenListCustom.cpp: Added.
              (WebCore::V8DOMSettableTokenList::indexedPropertyGetter):
              * dom/Element.cpp: Replaced DOMTokenList to ClassList.
              (WebCore::Element::classList):
              * dom/ElementRareData.h: ditto.
              * dom/SpaceSplitString.cpp: Added add() and remove() functions.
              (WebCore::SpaceSplitStringData::add):
              (WebCore::SpaceSplitStringData::remove):
              (WebCore::SpaceSplitString::add):
              (WebCore::SpaceSplitString::remove):
              * dom/SpaceSplitString.h: Added add() and remove() functions.
              * dom/StyledElement.cpp: Replaced DOMTokenList to ClassList.
              (WebCore::StyledElement::classAttributeChanged):
              * dom/StyledElement.h: ditto.
              * html/ClassList.cpp: Added, mostly from original DOMTokenList.cpp.
              (WebCore::ClassList::ClassList):
              (WebCore::ClassList::ref):
              (WebCore::ClassList::deref):
              (WebCore::ClassList::length):
              (WebCore::ClassList::item):
              (WebCore::ClassList::contains):
              (WebCore::ClassList::containsInternal):
              (WebCore::ClassList::add):
              (WebCore::ClassList::addInternal):
              (WebCore::ClassList::remove):
              (WebCore::ClassList::removeInternal):
              (WebCore::ClassList::toggle):
              (WebCore::ClassList::toString):
              (WebCore::ClassList::reset):
              (WebCore::ClassList::classNames):
              * html/ClassList.h: Added, mostly from original DOMTokenList.h.
              (WebCore::ClassList::create):
              (WebCore::ClassList::element):
              * html/DOMSettableTokenList.cpp: Added.
              (WebCore::DOMSettableTokenList::DOMSettableTokenList):
              (WebCore::DOMSettableTokenList::~DOMSettableTokenList):
              (WebCore::DOMSettableTokenList::item):
              (WebCore::DOMSettableTokenList::contains):
              (WebCore::DOMSettableTokenList::add):
              (WebCore::DOMSettableTokenList::addInternal):
              (WebCore::DOMSettableTokenList::remove):
              (WebCore::DOMSettableTokenList::removeInternal):
              (WebCore::DOMSettableTokenList::toggle):
              (WebCore::DOMSettableTokenList::setValue):
              * html/DOMSettableTokenList.h: Added.
              (WebCore::DOMSettableTokenList::create):
              (WebCore::DOMSettableTokenList::ref):
              (WebCore::DOMSettableTokenList::deref):
              (WebCore::DOMSettableTokenList::length):
              (WebCore::DOMSettableTokenList::toString):
              (WebCore::DOMSettableTokenList::value):
              * html/DOMSettableTokenList.idl: Added.
              * html/DOMTokenList.cpp: Refactored to be an abstract interface for both of ClassList and DOMSettableTokenList.
              (WebCore::DOMTokenList::validateToken): Changed to be a static member function of DOMTokenList.
              (WebCore::DOMTokenList::addToken): Added, mostly from original DOMTokenList::addInternal().
              (WebCore::DOMTokenList::removeToken): Added, mostly from original DOMTokenList::removeInternal().
              * html/DOMTokenList.h: Refactored to be an abstract interface for both of ClassList and DOMSettableTokenList.
              (WebCore::DOMTokenList::~DOMTokenList):
              (WebCore::DOMTokenList::element):
              * page/DOMWindow.cpp: Added an entry for DOMSettableTokenList.
              * page/DOMWindow.idl: ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      691d04f1
  20. 28 Oct, 2010 1 commit
  21. 19 Oct, 2010 1 commit
    • jianli@chromium.org's avatar
      Rename createBlobURL to createObjectURL and revokeBlobURL to · 58f89ebd
      jianli@chromium.org authored
      revokeObjectURL per the latest File API spec.
      https://bugs.webkit.org/show_bug.cgi?id=47934
      
      Reviewed by Darin Fisher.
      
      WebCore:
      
      * inspector/front-end/ResourcesPanel.js:
      (WebInspector.ResourcesPanel.prototype._contextMenu):
      * inspector/front-end/utilities.js:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::createObjectURL):
      (WebCore::DOMWindow::revokeObjectURL):
      * page/DOMWindow.h:
      * page/DOMWindow.idl:
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::createObjectURL):
      (WebCore::WorkerContext::revokeObjectURL):
      * workers/WorkerContext.h:
      * workers/WorkerContext.idl:
      
      LayoutTests:
      
      Update all the related test and result files to account for the
      renaming changes.
      
      * fast/dom/Window/script-tests/window-property-descriptors.js:
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/Window/window-properties.html:
      * fast/dom/script-tests/prototype-inheritance.js:
      * fast/files/apply-blob-url-to-img.html:
      * fast/files/apply-blob-url-to-xhr.html:
      * fast/files/create-blob-url-crash-expected.txt:
      * fast/files/create-blob-url-crash.html:
      * fast/files/revoke-blob-url-expected.txt:
      * fast/files/revoke-blob-url.html:
      * fast/files/workers/resources/worker-apply-blob-url-to-xhr.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58f89ebd
  22. 18 Oct, 2010 1 commit
    • oliver@apple.com's avatar
      2010-10-18 Oliver Hunt <oliver@apple.com> · 8660960f
      oliver@apple.com authored
              Reviewed by Sam Weinig.
      
              REGRESSION: Feedly extension crashes Webkit
              https://bugs.webkit.org/show_bug.cgi?id=45811
      
              Make test cover large number of properties/string pairs, at two offsets to get the
              new allocation to occur at different locations.
      
              * fast/dom/Window/window-postmessage-clone-expected.txt:
              * fast/dom/Window/window-postmessage-clone.html:
      2010-10-18  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Sam Weinig.
      
              REGRESSION: Feedly extension crashes Webkit
              https://bugs.webkit.org/show_bug.cgi?id=45811
      
              The basic problem was the deserializer was holding a pointer into
              the constant pool, but if you were sufficiently unlucky then the
              constant pool would be moved while still relying on the pointer,
              which leads to badness.
      
              I looked at just making all the sites this could happen extract the
              right string/jsstring before any possible allocations, but it seemed
              too fragile so i've gone for a forwarding object as the solution.
      
              * bindings/js/SerializedScriptValue.cpp:
              (WebCore::CloneDeserializer::CachedStringRef::CachedStringRef):
              (WebCore::CloneDeserializer::CachedStringRef::operator->):
              (WebCore::CloneDeserializer::readStringData):
              (WebCore::CloneDeserializer::readFile):
              (WebCore::CloneDeserializer::readTerminal):
              (WebCore::CloneDeserializer::deserialize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8660960f
  23. 14 Oct, 2010 1 commit
    • abarth@webkit.org's avatar
      2010-10-13 Adam Barth <abarth@webkit.org> · 6a7b5b0c
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              Implement getParameter from the URL API
              https://bugs.webkit.org/show_bug.cgi?id=46610
      
              Test various interesting cases in parameter parsing.
      
              * fast/dom/anchor-getParameter-expected.txt: Added.
              * fast/dom/anchor-getParameter.html: Added.
              * http/tests/misc/location-getParameter-expected.txt: Added.
              * http/tests/misc/location-getParameter.html: Added.
      2010-10-13  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Darin Adler.
      
              Implement getParameter from the URL API
              https://bugs.webkit.org/show_bug.cgi?id=46610
      
              Another API from
              https://docs.google.com/document/edit?id=1r_VTFKApVOaNIkocrg0z-t7lZgzisTuGTXkdzAk4gLU&hl=en#
              getParameter lets a web site easily read the value of a URL parameter.
              This API is for the simple case of a non-repeated parameter name.
              getParameterAll will handle repeated parameter names in a future patch.
      
              Tests: fast/dom/anchor-getParameter.html
                     http/tests/misc/location-getParameter.html
      
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::getParameter):
              * html/HTMLAnchorElement.h:
              * html/HTMLAnchorElement.idl:
              * page/Location.cpp:
              (WebCore::Location::getParameter):
              * page/Location.h:
              * page/Location.idl:
              * platform/KURL.cpp:
              (WebCore::KURL::copyParsedQueryTo):
              * platform/KURLGoogle.cpp:
              (WebCore::KURL::copyParsedQueryTo):
              * platform/KURL.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a7b5b0c
  24. 11 Oct, 2010 1 commit
    • msaboff@apple.com's avatar
      2010-10-11 Michael Saboff <msaboff@apple.com> · f50c0115
      msaboff@apple.com authored
              Reviewed by Darin Adler.
      
              Added and changed tests to verify that DOMWindow objects are
              create with appropriate constructors and that those constructors
              are not callable directly.
              https://bugs.webkit.org/show_bug.cgi?id=47422
      
              * fast/dom/Window/window-constructor-expected.txt: Added.
              * fast/dom/Window/window-constructor.html: Added.
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * fast/dom/script-tests/constructors-cached.js:
              * fast/dom/wrapper-classes-expected.txt:
              * http/tests/security/cross-frame-access-get-expected.txt:
              * http/tests/security/cross-frame-access-get.html:
              * http/tests/security/cross-frame-access-put.html:
              * inspector/console-dir-global-expected.txt:
              * java/lc3/JSObject/ToJSObject-001-expected.txt:
              * java/lc3/JSObject/ToObject-001-expected.txt:
      2010-10-11  Michael Saboff  <msaboff@apple.com>
      
              Reviewed by Darin Adler.
      
              Changed DOMWindow to have a constructor.  Updated the code generator
              to add security checks to the constructors if CheckDomainSecurity is
              set.  Also changed the constructor generation code to use
              globalObject->prototype() for DOMWindow object prototypes instead
              of "self".
              https://bugs.webkit.org/show_bug.cgi?id=47422
      
              Test: fast/dom/Window/window-constructor.html
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * page/DOMWindow.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f50c0115
  25. 04 Oct, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-10-04 Patrick Gansterer <paroga@paroga.com> · 1f7b1f71
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Add Base64DecodePolicy option at base64Decode()
              https://bugs.webkit.org/show_bug.cgi?id=41510
      
              * fast/dom/Window/atob-btoa-expected.txt:
              * fast/dom/Window/atob-btoa.html:
              * platform/mac/fast/loader/user-stylesheet-fast-path-expected.txt:
              * platform/mac/fast/loader/user-stylesheet-fast-path.html: Added additional data urls tests.
      2010-10-04  Patrick Gansterer  <paroga@paroga.com>
      
              Reviewed by Darin Adler.
      
              Add Base64DecodePolicy option at base64Decode()
              https://bugs.webkit.org/show_bug.cgi?id=41510
      
              Add an option for ignoring characters in base64 data.
              This is necessary for decoding data urls.
      
              Also add an overload to decode WebCore::String directly.
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::atob):
              * page/Page.cpp:
              (WebCore::Page::userStyleSheetLocationChanged):
              * platform/text/Base64.cpp:
              (WebCore::base64Encode):
              (WebCore::base64Decode):
              (WebCore::base64DecodeInternal):
              * platform/text/Base64.h:
              (WebCore::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f7b1f71
  26. 01 Oct, 2010 1 commit
    • aroben@apple.com's avatar
      Make regression tests pass on machines with 16-bit displays · 8967a637
      aroben@apple.com authored
      I made these tests require 24-bit displays in r68808 and r68809,
      thinking that we didn't have any testers that had 16-bit displays. But
      apparently I was wrong; at least one Windows tester has a 16-bit
      display.
      
      Fixes <http://webkit.org/b/46980>
      fast/media/color-does-not-include-alpha.html failing on Windows
      
      Reviewed by Nikolas Zimmermann.
      
      * fast/dom/Window/window-screen-properties-expected.txt: Updated
      results.
      * fast/dom/Window/window-screen-properties.html: Changed to allow
      either 16 or 24 bits.
      * fast/media/color-does-not-include-alpha.html: Changed to allow
      either 5 or 8 bits per channel.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8967a637
  27. 30 Sep, 2010 1 commit
  28. 27 Sep, 2010 1 commit
    • arv@chromium.org's avatar
      2010-09-27 Erik Arvidsson <arv@chromium.org> · e4f1cb58
      arv@chromium.org authored
              Reviewed by Darin Adler.
      
              Implement HTML 5's HTMLElement.classList property
              https://bugs.webkit.org/show_bug.cgi?id=20709
      
              * fast/dom/HTMLElement/class-list-expected.txt: Added.
              * fast/dom/HTMLElement/class-list-gc-expected.txt: Added.
              * fast/dom/HTMLElement/class-list-gc.html: Added.
              * fast/dom/HTMLElement/class-list-quirks-expected.txt: Added.
              * fast/dom/HTMLElement/class-list-quirks.html: Added.
              * fast/dom/HTMLElement/class-list.html: Added.
              * fast/dom/HTMLElement/script-tests/class-list-gc.js: Added.
              (gc):
              * fast/dom/HTMLElement/script-tests/class-list.js: Added.
              (createElement):
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * fast/dom/prototype-inheritance-expected.txt:
              * fast/js/global-constructors-expected.txt:
              * perf/class-list-remove-expected.txt: Added.
              * perf/class-list-remove.html: Added.
      2010-09-27  Erik Arvidsson  <arv@chromium.org>
      
              Reviewed by Darin Adler.
      
              Implement HTML 5's HTMLElement.classList property
              https://bugs.webkit.org/show_bug.cgi?id=20709
      
              This adds a DOMTokenList class that is used for the classList property. DOMTokenList uses a SpaceSplitString for fast
              contains check. In standards mode the existing classNames is used but in quirks mode we use an internal SpaceSplitString
              because classList is always case sensitive.
      
              Tests: fast/dom/HTMLElement/class-list-gc.html
                     fast/dom/HTMLElement/class-list-quirks.html
                     fast/dom/HTMLElement/class-list.html
                     perf/class-list-remove.html
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * Android.jscbindings.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/gobject/GNUmakefile.am:
              * bindings/js/JSElementCustom.cpp:
              (WebCore::JSElement::markChildren): Make sure that we keep the wrapper while the element is alive.
              * bindings/scripts/CodeGeneratorJS.pm: DOMTokenList has a string indexed getter.
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/custom/V8DOMTokenListCustom.cpp: Added.
              (WebCore::toV8):
              * dom/Element.cpp:
              (WebCore::Element::classList):
              (WebCore::Element::optionalClassList):
              * dom/Element.h:
              * dom/ElementRareData.h: This now has an OwnPtr to a ClassList if the Element::classList is ever called.
              * dom/SpaceSplitString.h:
              (WebCore::SpaceSplitString::isNull):
              * dom/StyledElement.cpp:
              (WebCore::StyledElement::classAttributeChanged): Update the classList if it exists.
              * dom/StyledElement.h:
              * html/DOMTokenList.cpp: Added.
              (WebCore::validateToken):
              (WebCore::DOMTokenList::DOMTokenList):
              (WebCore::DOMTokenList::ref):
              (WebCore::DOMTokenList::deref):
              (WebCore::DOMTokenList::length):
              (WebCore::DOMTokenList::item):
              (WebCore::DOMTokenList::contains):
              (WebCore::DOMTokenList::containsInternal): The internal methods do no validation of the token.
              (WebCore::DOMTokenList::add):
              (WebCore::DOMTokenList::addInternal):
              (WebCore::DOMTokenList::remove):
              (WebCore::DOMTokenList::removeInternal):
              (WebCore::DOMTokenList::toggle):
              (WebCore::DOMTokenList::toString):
              (WebCore::DOMTokenList::reset):
              (WebCore::DOMTokenList::classNames):
              * html/DOMTokenList.h: Added.
              (WebCore::DOMTokenList::create):
              (WebCore::DOMTokenList::element):
              * html/DOMTokenList.idl: Added.
              * html/HTMLElement.idl:
              * page/DOMWindow.cpp:
              * page/DOMWindow.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4f1cb58
  29. 26 Sep, 2010 2 commits
    • abarth@webkit.org's avatar
      2010-09-26 Adam Barth <abarth@webkit.org> · 4087d793
      abarth@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Implement location.origin and HTMLAnchorElement.origin
              https://bugs.webkit.org/show_bug.cgi?id=46558
      
              Test the origin attribute of Location and HTMLAnchorElement.
      
              * fast/dom/anchor-origin-expected.txt: Added.
              * fast/dom/anchor-origin.html: Added.
              * http/tests/misc/location-origin-expected.txt: Added.
              * http/tests/misc/location-origin.html: Added.
      2010-09-26  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Dimitri Glazkov.
      
              Implement location.origin and HTMLAnchorElement.origin
              https://bugs.webkit.org/show_bug.cgi?id=46558
      
              These attributes are part of my proposed URL API:
              https://docs.google.com/document/edit?id=1r_VTFKApVOaNIkocrg0z-t7lZgzisTuGTXkdzAk4gLU&hl=en
      
              Hixie thought we should implement as much of this API as makes sense on
              Location and HTMLAnchorElement as well.  I'm starting with the origin
              attribute, because that seems like the biggest bang for the buck.
      
              Tests: fast/dom/anchor-origin.html
                     http/tests/misc/location-origin.html
      
              * WebCore.xcodeproj/project.pbxproj:
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::origin):
              * html/HTMLAnchorElement.h:
              * html/HTMLAnchorElement.idl:
              * page/Location.cpp:
              (WebCore::Location::origin):
              * page/Location.h:
              * page/Location.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4087d793
    • tonikitoo@webkit.org's avatar
      document.nodesFromRect() needs to be removed from Document.idl · 13f65df0
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=46492
      
      Reviewed by Kenneth Christiansen and Andreas Kling.
      Patch by Antonio Gomes <agomes@rim.com>
      
      WebCore:
      
      As discussed with Sam Weinig on IRC, it was decided to removed
      nodesFromRect() from the Document.idl, and that way, not exposing
      it to Web content.
      
      Reason: there is no plan to make it standard at the moment, and at the
      very least, the method should had been originally added with the "webkit"
      prefix, which was not the case.
      
      * dom/Document.idl:
      
      LayoutTests:
      
      Skip the tests relying on document.nodesFromRect in all platform for
      the moment, and adjusting the expected results tests also accordingly.
      
      * fast/dom/Window/window-properties-expected.txt:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13f65df0
  30. 20 Sep, 2010 1 commit
    • mihaip@chromium.org's avatar
      2010-09-20 Mihai Parparita <mihaip@chromium.org> · 0818f44e
      mihaip@chromium.org authored
              Reviewed by James Robinson.
      
              Rebaseline tests after HashChangeEvent was added by r67898
              https://bugs.webkit.org/show_bug.cgi?id=46155
      
              GTK and Qt changes that mirror the changes from r67898, plus a missed
              test window-property-descriptors from the original change.
      
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
              * platform/gtk/fast/js/global-constructors-expected.txt:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/prototype-inheritance-expected.txt:
              * platform/qt/fast/js/global-constructors-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0818f44e