1. 08 Jun, 2012 33 commits
    • efidler@rim.com's avatar
      [BlackBerry] Default font settings are getting deleted · e6020fbc
      efidler@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88670
      
      Reviewed by Rob Buis.
      
      Source/WebKit/blackberry:
      
      RIM PR: 163720
      
      WebSettings is overriding the default font settings with "", which deletes them.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::didChangeSettings):
      
      LayoutTests:
      
      This test crashes if -webkit-body (i.e.  WebCore::Settings::standardFontFamily())
      is not a valid font family.
      
      * fonts/valid-standard-font.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6020fbc
    • ojan@chromium.org's avatar
      Final set of chromium rebaselines for skia change. See crbug.com/131829. · 673f1fab
      ojan@chromium.org authored
      * platform/chromium-linux/svg/clip-path/clipper-placement-issue-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-container-expected.png.
      * platform/chromium-linux/svg/css/arrow-with-shadow-expected.png: Added.
      * platform/chromium-linux/svg/css/background-image-svg-expected.png: Added.
      * platform/chromium-linux/svg/custom/broken-internal-references-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/marker-strokeWidth-changes-expected.png.
      * platform/chromium-linux/svg/custom/dynamic-empty-path-expected.png: Added.
      * platform/chromium-linux/svg/custom/gradient-stop-corner-cases-expected.png: Added.
      * platform/chromium-linux/svg/custom/svgpolyparser-extra-space-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-container-expected.png.
      * platform/chromium-linux/svg/custom/use-forward-refs-expected.png: Added.
      * platform/chromium-linux/svg/custom/use-on-clip-path-with-transformation-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-repaint-rect-on-path-with-stroke-expected.png.
      * platform/chromium-linux/svg/text/text-hkern-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-container-expected.png.
      * platform/chromium-linux/svg/text/text-hkern-on-vertical-text-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-container-expected.png.
      * platform/chromium-linux/svg/text/text-vkern-expected.png: Added.
      * platform/chromium-linux/svg/text/text-vkern-on-horizontal-text-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/marker-strokeWidth-changes-expected.png.
      * platform/chromium-linux/svg/zoom/page/absolute-sized-document-no-scrollbars-expected.png: Added.
      * platform/chromium-linux/svg/zoom/page/relative-sized-document-scrollbars-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-repaint-rect-on-path-with-stroke-expected.png.
      * platform/chromium-linux/svg/zoom/page/zoom-background-image-tiled-expected.png: Added.
      * platform/chromium-linux/svg/zoom/page/zoom-svg-as-relative-image-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-container-expected.png.
      * platform/chromium-win-xp/platform/chromium/compositing/accelerated-drawing/svg-filters-expected.png: Removed.
      * platform/chromium-win/svg/custom/js-late-marker-creation-expected.png:
      * platform/chromium-win/svg/custom/js-repaint-rect-on-path-with-stroke-expected.png:
      * platform/chromium-win/svg/custom/js-update-bounce-expected.png:
      * platform/chromium-win/svg/custom/js-update-container-expected.png:
      * platform/chromium-win/svg/custom/js-update-path-changes-expected.png:
      * platform/chromium-win/svg/custom/js-update-path-removal-expected.png:
      * platform/chromium-win/svg/custom/js-update-polygon-changes-expected.png:
      * platform/chromium-win/svg/custom/js-update-polygon-removal-expected.png:
      * platform/chromium-win/svg/custom/js-update-transform-addition-expected.png:
      * platform/chromium-win/svg/custom/js-update-transform-changes-expected.png:
      * platform/chromium-win/svg/custom/linking-a-03-b-preserveAspectRatio-expected.png:
      * platform/chromium-win/svg/custom/linking-a-03-b-transform-expected.png:
      * platform/chromium-win/svg/custom/linking-a-03-b-viewBox-expected.png:
      * platform/chromium-win/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
      * platform/chromium-win/svg/custom/linking-a-03-b-viewTarget-expected.png:
      * platform/chromium-win/svg/custom/linking-a-03-b-zoomAndPan-expected.png:
      * platform/chromium-win/svg/custom/linking-uri-01-b-expected.png:
      * platform/chromium-win/svg/custom/marker-changes-expected.png:
      * platform/chromium-win/svg/custom/marker-child-changes-css-expected.png:
      * platform/chromium-win/svg/custom/marker-child-changes-expected.png:
      * platform/chromium-win/svg/custom/marker-opacity-expected.png:
      * platform/chromium-win/svg/custom/marker-referencePoint-expected.png:
      * platform/chromium-win/svg/custom/marker-strokeWidth-changes-expected.png:
      * platform/chromium-win/svg/custom/marker-viewBox-changes-expected.png:
      * platform/chromium-win/svg/custom/mask-colorspace-expected.png:
      * platform/chromium-win/svg/custom/mask-on-multiple-objects-expected.png:
      * platform/chromium-win/svg/custom/no-inherited-dashed-stroke-expected.png:
      * platform/chromium-win/svg/custom/non-circular-marker-reference-expected.png:
      * platform/chromium-win/svg/custom/non-scaling-stroke-markers-expected.png:
      * platform/chromium-win/svg/custom/object-sizing-explicit-height-expected.png:
      * platform/chromium-win/svg/custom/object-sizing-explicit-width-height-expected.png:
      * platform/chromium-win/svg/filters/invalidate-on-child-layout-expected.png:
      * platform/chromium-win/svg/foreignObject/text-tref-02-b-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      673f1fab
    • ojan@chromium.org's avatar
      viewspec-parser tests still timeout in Chromium debug even when marked slow. · c24dcc05
      ojan@chromium.org authored
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c24dcc05
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r119514. · 362c93e5
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/119514
      https://bugs.webkit.org/show_bug.cgi?id=88664
      
      Broke JSFiddle.net (Requested by arv on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-08
      
      Source/WebCore:
      
      * bindings/v8/V8DOMWindowShell.cpp:
      (WebCore::V8DOMWindowShell::initContextIfNeeded):
      * bindings/v8/WorkerContextExecutionProxy.cpp:
      (WebCore::WorkerContextExecutionProxy::initIsolate):
      
      LayoutTests:
      
      * fast/dom/Window/window-property-shadowing-name-expected.txt:
      * fast/dom/Window/window-property-shadowing-name.html:
      * fast/dom/Window/window-property-shadowing-onclick-expected.txt: Removed.
      * fast/dom/Window/window-property-shadowing-onclick.html: Removed.
      * platform/chromium/fast/dom/Window/window-property-shadowing-name-expected.txt: Removed.
      * platform/chromium/fast/dom/Window/window-property-shadowing-onclick-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      362c93e5
    • ojan@chromium.org's avatar
      Second wave of Chromium rebaselines after skia change. See crbug.com/131829. · 79d909f5
      ojan@chromium.org authored
      List of changed expectations deleted because it's too long.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79d909f5
    • mitz@apple.com's avatar
      Added Mac pixel results for canvas-imageSmoothingEnabled-patterns.html, and made the text · 37ce5aa5
      mitz@apple.com authored
      results shared between platforms.
      
      * fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.txt: Added.
      * platform/chromium/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.txt: Removed.
      * platform/gtk/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.txt: Removed.
      * platform/mac/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.png: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37ce5aa5
    • tony@chromium.org's avatar
      [chromium] Unreviewed, rebaseline a chromium-win result that changed · 3e655626
      tony@chromium.org authored
      due to the various mock scrollbar changes.
      https://bugs.webkit.org/show_bug.cgi?id=88490
      
      * platform/chromium-win/fast/repaint/fixed-tranformed-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e655626
    • schenney@chromium.org's avatar
      WebCore::ImageBuffer.cpp has broken color table code · 26e83004
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80321
      
      Unreviewed Chromium test expectations update after changes to SVG filter color conversion.
      
      Full list of changed files excluded to to very large number.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26e83004
    • jsbell@chromium.org's avatar
      IndexedDB: Add regression test to verify that legacy constants have been removed · ae8de23b
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88669
      
      Reviewed by Tony Chang.
      
      * storage/indexeddb/legacy-constants-expected.txt:
      * storage/indexeddb/mozilla/create-index-unique-expected.txt:
      * storage/indexeddb/mozilla/resources/create-index-unique.js:
      (createAndVerifyIndex):
      * storage/indexeddb/resources/constants.js:
      (test):
      * storage/indexeddb/resources/legacy-constants.js:
      (testObsoleteConstants):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae8de23b
    • ojan@chromium.org's avatar
      First wave of Chromium rebaselines after skia rollback. See crbug.com/131829. · 8334550e
      ojan@chromium.org authored
      List of changed expected files excluded because it's too long.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8334550e
    • ojan@chromium.org's avatar
      First wave of Chromium rebaselines after skia rollback. See crbug.com/131289. · cf29e9bc
      ojan@chromium.org authored
      List of changed expected files excluded because it's too long.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf29e9bc
    • arv@chromium.org's avatar
      [V8] Keep TextTrackList alive as long as its owner is alive · 7018c857
      arv@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88541
      
      Reviewed by Adam Barth.
      
      Add a hidden reference from the owner to the text track list.
      
      Source/WebCore:
      
      Covered by existing tests.
      
      * Target.pri: Add V8TextTrackListCustom.cpp.
      * UseV8.cmake: Ditto.
      * WebCore.gypi: Ditto.
      * bindings/v8/V8HiddenPropertyName.h:
      (WebCore):
      * bindings/v8/custom/V8TextTrackListCustom.cpp: Copied from Source/WebCore/bindings/v8/V8HiddenPropertyName.h.
      (WebCore):
      (WebCore::toV8): When the wrapper is created add a reference to the owner of the TextTrackList to the TextTrackList.
      * html/track/TextTrackList.idl:
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7018c857
    • tony@chromium.org's avatar
      [chromium] Unreviewed, rebaseline... · e89a7691
      tony@chromium.org authored
      [chromium] Unreviewed, rebaseline platform/chromium-linux/fast/text/chromium-linux-fontconfig-renderstyle.html after skia gamma correction
      https://bugs.webkit.org/show_bug.cgi?id=88589
      
      
      * platform/chromium-linux/platform/chromium-linux/fast/text/chromium-linux-fontconfig-renderstyle-expected.png: Added.
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e89a7691
    • mitz@apple.com's avatar
      Added svg/filters/color-space-conversion.svg to the Mac skip list. It has been failing since · d4a9fcb2
      mitz@apple.com authored
      its addition in r119841. <http://webkit.org/b/88672> is tracking the failure.
      
      * platform/mac/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4a9fcb2
    • schenney@chromium.org's avatar
      WebCore::ImageBuffer.cpp has broken color table code · 8350e1e5
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80321
      
      Unreviewed Chromium expectations update.
      
      Adding tests that are failing pending a rebaseline.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8350e1e5
    • tony@chromium.org's avatar
      [chromium] Unreviewed, remove css3/flexbox/child-overflow.html from TestExpectations. · 370faa2a
      tony@chromium.org authored
      Since bug 77368 is now fixed, this test passes.
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      370faa2a
    • schenney@chromium.org's avatar
      Unreviewed fix for Chromium TestExpectations. · 6c1954ba
      schenney@chromium.org authored
      A file crept into the expectations that has not yet been submitted.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c1954ba
    • reni@webkit.org's avatar
      Adding few already supported features to the FeatureSet in DOMImplementation · 9c3dd83c
      reni@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86482
      
      Source/WebCore:
      
      Text, Filter and View features are already implemented but they
      are not added to the SVG11 feature set. This is corrected in this patch.
      
      Reviewed by Nikolas Zimmermann.
      
      No new testcase is needed because we already have one what checks the svg features via
      DOMImplementation (svg/custom/svg-features.html).
      
      * dom/DOMImplementation.cpp:
      (WebCore::isSVG11Feature):
      
      LayoutTests:
      
      Reviewed by Nikolas Zimmermann.
      
      * platform/qt-5.0/svg/custom/svg-features-expected.txt:
      * platform/qt/svg/custom/svg-features-expected.txt:
      * svg/custom/svg-features-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c3dd83c
    • scheib@chromium.org's avatar
      Layout Test pointer-lock/pointerlockchange-pointerlockerror-events.html is failing · 8107912c
      scheib@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88604
      
      Reviewed by Kent Tamura.
      
      Tools:
      
      DumpRenderTree fixed to not call didLosePointerLock if pointer is not currently locked.
      Fixes debug only assert crash in pointer-lock/pointerlockchange-pointerlockerror-events.html test.
      
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::requestPointerUnlock):
      
      LayoutTests:
      
      Removed CRASH expectation.
      Test is no longer crashing with this fix to DumpRenderTree.
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8107912c
    • schenney@chromium.org's avatar
      WebCore::ImageBuffer.cpp has broken color table code · c38c0b3b
      schenney@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80321
      
      Reviewed by Dirk Schulze.
      
      Source/WebCore: 
      
      The code in ImageBuffer::transformColorSpace had two problems that are
      fixed by this patch.
      
      First, it was using member variables for data
      that is static constant. This is incredibly wasteful, as every
      ImageBuffer that is created (and we make a lot of them) gets its own
      copy of the LUT and the table is initialized again and again. The
      patch replaces this with a static local, with lazy evaluation, in
      the method that uses the tables.
      
      Second, the code for filling the table was mapping 255 to 254, thus
      reducing the intensity and alpha of every image it pushed through a
      color transform.
      
      Test: svg/filters/color-space-conversion.svg
      
      * platform/graphics/ImageBuffer.cpp:
      (WebCore::ImageBuffer::transformColorSpace):
      * platform/graphics/ImageBuffer.h:
      (ImageBuffer):
      
      LayoutTests: 
      
      Temporarily marking Chromium tests expected to fail as a result of this patch. And a new test.
      
      * platform/chromium/TestExpectations:
      * svg/filters/color-space-conversion.svg:
      * svg/filters/color-space-conversion-expected.svg:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c38c0b3b
    • qi.2.zhang@nokia.com's avatar
      [Qt] fast/viewport/viewport-133.html fails · 986ec9b1
      qi.2.zhang@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=80689
      
      Since https://bugs.webkit.org/show_bug.cgi?id=88047 remove this
      test case, remove it from skip list.
      
      Reviewed by Laszlo Gombos.
      
      * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      986ec9b1
    • caseq@chromium.org's avatar
      Web Inspector: Annotate timeline records with a frame identifier · c9e99681
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86406
      
      Patch by Bryan McQuade <bmcquade@google.com> on 2012-06-08
      Reviewed by Vsevolod Vlasov.
      
      Source/WebCore:
      
      Tests: Updated existing layout tests.
      
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::frameForScriptExecutionContext):
      (WebCore):
      (WebCore::InspectorInstrumentation::didScheduleResourceRequestImpl):
      (WebCore::InspectorInstrumentation::didInstallTimerImpl):
      (WebCore::InspectorInstrumentation::didRemoveTimerImpl):
      (WebCore::InspectorInstrumentation::willCallFunctionImpl):
      (WebCore::InspectorInstrumentation::willChangeXHRReadyStateImpl):
      (WebCore::InspectorInstrumentation::willDispatchEventImpl):
      (WebCore::InspectorInstrumentation::willDispatchEventOnWindowImpl):
      (WebCore::InspectorInstrumentation::willEvaluateScriptImpl):
      (WebCore::InspectorInstrumentation::willFireTimerImpl):
      (WebCore::InspectorInstrumentation::willLayoutImpl):
      (WebCore::InspectorInstrumentation::willLoadXHRImpl):
      (WebCore::InspectorInstrumentation::willPaintImpl):
      (WebCore::InspectorInstrumentation::willRecalculateStyleImpl):
      (WebCore::InspectorInstrumentation::willSendRequestImpl):
      (WebCore::InspectorInstrumentation::willReceiveResourceDataImpl):
      (WebCore::InspectorInstrumentation::willReceiveResourceResponseImpl):
      (WebCore::InspectorInstrumentation::didFinishLoadingImpl):
      (WebCore::InspectorInstrumentation::didFailLoadingImpl):
      (WebCore::InspectorInstrumentation::domContentLoadedEventFiredImpl):
      (WebCore::InspectorInstrumentation::loadEventFiredImpl):
      (WebCore::InspectorInstrumentation::willWriteHTMLImpl):
      (WebCore::InspectorInstrumentation::didRequestAnimationFrameImpl):
      (WebCore::InspectorInstrumentation::didCancelAnimationFrameImpl):
      (WebCore::InspectorInstrumentation::willFireAnimationFrameImpl):
      * inspector/InspectorInstrumentation.h:
      (InspectorInstrumentation):
      (WebCore::InspectorInstrumentation::didScheduleResourceRequest):
      (WebCore::InspectorInstrumentation::didInstallTimer):
      (WebCore::InspectorInstrumentation::didRemoveTimer):
      (WebCore::InspectorInstrumentation::willCallFunction):
      (WebCore::InspectorInstrumentation::willChangeXHRReadyState):
      (WebCore::InspectorInstrumentation::willDispatchEvent):
      (WebCore::InspectorInstrumentation::willEvaluateScript):
      (WebCore::InspectorInstrumentation::willFireTimer):
      (WebCore::InspectorInstrumentation::willLayout):
      (WebCore::InspectorInstrumentation::willLoadXHR):
      (WebCore::InspectorInstrumentation::willPaint):
      (WebCore::InspectorInstrumentation::willRecalculateStyle):
      (WebCore::InspectorInstrumentation::willReceiveResourceData):
      (WebCore::InspectorInstrumentation::willReceiveResourceResponse):
      (WebCore::InspectorInstrumentation::willWriteHTML):
      (WebCore::InspectorInstrumentation::didRequestAnimationFrame):
      (WebCore::InspectorInstrumentation::didCancelAnimationFrame):
      (WebCore::InspectorInstrumentation::willFireAnimationFrame):
      * inspector/InspectorTimelineAgent.cpp:
      (WebCore::InspectorTimelineAgent::pushGCEventRecords):
      (WebCore::InspectorTimelineAgent::didBeginFrame):
      (WebCore::InspectorTimelineAgent::willCallFunction):
      (WebCore::InspectorTimelineAgent::willDispatchEvent):
      (WebCore::InspectorTimelineAgent::willLayout):
      (WebCore::InspectorTimelineAgent::willRecalculateStyle):
      (WebCore::InspectorTimelineAgent::willPaint):
      (WebCore::InspectorTimelineAgent::willComposite):
      (WebCore::InspectorTimelineAgent::willWriteHTML):
      (WebCore::InspectorTimelineAgent::didInstallTimer):
      (WebCore::InspectorTimelineAgent::didRemoveTimer):
      (WebCore::InspectorTimelineAgent::willFireTimer):
      (WebCore::InspectorTimelineAgent::willChangeXHRReadyState):
      (WebCore::InspectorTimelineAgent::willLoadXHR):
      (WebCore::InspectorTimelineAgent::willEvaluateScript):
      (WebCore::InspectorTimelineAgent::didScheduleResourceRequest):
      (WebCore::InspectorTimelineAgent::willSendResourceRequest):
      (WebCore::InspectorTimelineAgent::willReceiveResourceData):
      (WebCore::InspectorTimelineAgent::willReceiveResourceResponse):
      (WebCore::InspectorTimelineAgent::didFinishLoadingResource):
      (WebCore::InspectorTimelineAgent::didTimeStamp):
      (WebCore::InspectorTimelineAgent::didMarkDOMContentEvent):
      (WebCore::InspectorTimelineAgent::didMarkLoadEvent):
      (WebCore::InspectorTimelineAgent::didRequestAnimationFrame):
      (WebCore::InspectorTimelineAgent::didCancelAnimationFrame):
      (WebCore::InspectorTimelineAgent::willFireAnimationFrame):
      (WebCore::InspectorTimelineAgent::addRecordToTimeline):
      (WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
      (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
      (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
      (WebCore::InspectorTimelineAgent::appendRecord):
      (WebCore::InspectorTimelineAgent::pushCurrentRecord):
      (WebCore::InspectorTimelineAgent::pushCancelableRecord):
      (WebCore::InspectorTimelineAgent::commitCancelableRecords):
      * inspector/InspectorTimelineAgent.h:
      (WebCore):
      (WebCore::InspectorTimelineAgent::create):
      (InspectorTimelineAgent):
      (WebCore::InspectorTimelineAgent::TimelineRecordEntry::TimelineRecordEntry):
      (TimelineRecordEntry):
      * inspector/WorkerInspectorController.cpp:
      (WebCore::WorkerInspectorController::WorkerInspectorController):
      * inspector/front-end/TimelinePresentationModel.js:
      (WebInspector.TimelinePresentationModel.isEventDivider):
      (WebInspector.TimelinePresentationModel.Record):
      
      LayoutTests:
      
      * inspector/timeline/timeline-animation-frame-expected.txt:
      * inspector/timeline/timeline-dom-content-loaded-event-expected.txt:
      * inspector/timeline/timeline-event-dispatch-expected.txt:
      * inspector/timeline/timeline-injected-script-eval-expected.txt:
      * inspector/timeline/timeline-layout-expected.txt:
      * inspector/timeline/timeline-load-event-expected.txt:
      * inspector/timeline/timeline-network-resource-expected.txt:
      * inspector/timeline/timeline-paint-expected.txt:
      * inspector/timeline/timeline-parse-html-expected.txt:
      * inspector/timeline/timeline-recalculate-styles-expected.txt:
      * inspector/timeline/timeline-script-tag-1-expected.txt:
      * inspector/timeline/timeline-script-tag-2-expected.txt:
      * inspector/timeline/timeline-test.js:
      * inspector/timeline/timeline-timer-expected.txt:
      * platform/chromium/inspector/timeline/timeline-animation-frame-expected.txt:
      * platform/chromium/inspector/timeline/timeline-event-dispatch-expected.txt:
      * platform/chromium/inspector/timeline/timeline-layout-expected.txt:
      * platform/chromium/inspector/timeline/timeline-network-resource-expected.txt:
      * platform/chromium/inspector/timeline/timeline-paint-expected.txt:
      * platform/chromium/inspector/timeline/timeline-parse-html-expected.txt:
      * platform/chromium/inspector/timeline/timeline-timer-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9e99681
    • loislo@chromium.org's avatar
      Unreviewed update for chromium test expectations. · 46dcd8b4
      loislo@chromium.org authored
      viewspec-parser-*.html were marked as SLOW.
      
      * platform/chromium/TestExpectations:
      BUGWK87772 SLOW : svg/dom/viewspec-parser-1.html = PASS
      BUGWK87772 SLOW : svg/dom/viewspec-parser-2.html = PASS
      BUGWK87772 SLOW : svg/dom/viewspec-parser-3.html = PASS
      BUGWK87772 SLOW : svg/dom/viewspec-parser-4.html = PASS
      BUGWK87772 SLOW : svg/dom/viewspec-parser-5.html = PASS
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46dcd8b4
    • arko@motorola.com's avatar
      Microdata: An element with an empty itemprop='' should not get listed in the .properties list. · 1263624e
      arko@motorola.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88235
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore: 
      
      As per the specification change http://html5.org/r/6854, an element should be listed in .properties
      if the elelement has an attribute itemprop specified and the element has one or more property names.
      
      Test: fast/dom/MicroData/element-with-empty-itemprop.html
      
      * html/HTMLPropertiesCollection.cpp:
      (WebCore::HTMLPropertiesCollection::itemAfter):
      
      LayoutTests: 
      
      * fast/dom/MicroData/element-with-empty-itemprop-expected.txt: Added.
      * fast/dom/MicroData/element-with-empty-itemprop.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1263624e
    • commit-queue@webkit.org's avatar
      [EFL] Unskip passing sputnik tests · 061dc314
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88641
      
      Unreviewed, unskip sputnik tests which are passing now.
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-08
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      061dc314
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening, removing crash expectations for two plugins · 2dd078cb
      zandobersek@gmail.com authored
      tests that were fixed after LLInt was enabled for the Gtk port in r119593.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2dd078cb
    • hans@chromium.org's avatar
      Speech JavaScript API: mock WebSpeechRecognizer for DumpRenderTree · ce01994e
      hans@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87976
      
      Reviewed by Kent Tamura.
      
      Tools:
      
      Provide a mock implementation of WebSpeechRecognizer for
      DumpRenderTree. This will allow better testing of the API via layout
      tests.
      
      * DumpRenderTree/DumpRenderTree.gypi:
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::LayoutTestController):
      (LayoutTestController::addMockSpeechRecognitionResult):
      * DumpRenderTree/chromium/LayoutTestController.h:
      (LayoutTestController):
      * DumpRenderTree/chromium/MockWebSpeechRecognizer.cpp: Added.
      (MockWebSpeechRecognizer::create):
      (MockWebSpeechRecognizer::start):
      (MockWebSpeechRecognizer::stop):
      (MockWebSpeechRecognizer::abort):
      (MockWebSpeechRecognizer::MockWebSpeechRecognizer):
      (MockWebSpeechRecognizer::~MockWebSpeechRecognizer):
      (MockWebSpeechRecognizer::ResultTask::runIfValid):
      * DumpRenderTree/chromium/MockWebSpeechRecognizer.h: Added.
      (WebKit):
      (MockWebSpeechRecognizer):
      (MockWebSpeechRecognizer::addMockResult):
      (MockWebSpeechRecognizer::taskList):
      (ClientCallTask):
      (MockWebSpeechRecognizer::ClientCallTask::ClientCallTask):
      (ResultTask):
      (MockWebSpeechRecognizer::ResultTask::ResultTask):
      (NoMatchTask):
      (MockWebSpeechRecognizer::NoMatchTask::NoMatchTask):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::speechRecognizer):
      * DumpRenderTree/chromium/WebViewHost.h:
      (WebViewHost):
      (WebViewHost::mockSpeechRecognizer):
      
      LayoutTests:
      
      Add a layout test using the new mock, pushing a mock result through
      and checking that events fire correctly.
      
      * fast/speech/scripted/speechrecognition-basics-expected.txt: Added.
      * fast/speech/scripted/speechrecognition-basics.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce01994e
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening after r119795, adding separate test expectations · b146fb26
      zandobersek@gmail.com authored
      for jquery/core.html - the test is crashing on debug builds and failing
      with a text diff on release builds.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b146fb26
    • noel.gordon@gmail.com's avatar
      [chromium] Run optimize-baselines over canvas-toDataURL-webp.html results · 37be9721
      noel.gordon@gmail.com authored
      Unreviewed test expectations update.
      
      * platform/chromium-mac/fast/canvas/canvas-toDataURL-webp-expected.png: Copied from LayoutTests/platform/chromium-mac-snowleopard/fast/canvas/canvas-toDataURL-webp-expected.png.
      * platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-toDataURL-webp-expected.png: Renamed from LayoutTests/platform/chromium-mac-snowleopard/fast/canvas/canvas-toDataURL-webp-expected.png.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37be9721
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Skip tests using disabled SHADOW_DOM feature on Qt. · eca6df1b
      kkristof@inf.u-szeged.hu authored
      Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-06-08
      
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eca6df1b
    • mitz@apple.com's avatar
      Fixed fast/files/read-blob-async.html failing after r119791. · f76c7b38
      mitz@apple.com authored
      * fast/files/resources/read-blob-test-cases.js:
      (testReadingSingleArrayBufferBlob):
      (testReadingSlicedArrayBufferBlob):
      (testReadingMultipleArrayBufferBlob):
      (testReadingHybridBlob):
      (testReadingSlicedHybridBlob):
      (testReadingTripleSlicedHybridBlob):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f76c7b38
    • noel.gordon@gmail.com's avatar
      [chromium] New virtual GPU canvas-toDataURL-webp.html results after r119787 · e94e9b54
      noel.gordon@gmail.com authored
      Unreviewed test expectations update.
      
      * platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/canvas-toDataURL-webp-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e94e9b54
    • noel.gordon@gmail.com's avatar
      [chromium] Update canvas-toDataURL-webp.html results after r119787 · bfe2c76e
      noel.gordon@gmail.com authored
      Unreviewed test expectations update.
      
      * platform/chromium/TestExpectations:
      * platform/chromium-win/fast/canvas/canvas-toDataURL-webp-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfe2c76e
  2. 07 Jun, 2012 7 commits
    • commit-queue@webkit.org's avatar
      ShadowRoot needs resetStyleInheritance · 82c3be68
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84048
      
      Source/WebCore:
      
      Added resetStyleInheritance API to ShadowRoot. The spec URL is
      http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shadow-root-attributes
      To implement the API, modified StyleResolver to use empty style
      instead of parent style if resetStyleInheritance is true,
      and a node and its parent node are placed in different shadow trees.
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-06-07
      Reviewed by Hajime Morita.
      
      Test: fast/dom/shadow/shadow-root-resetStyleInheritance.html
            fast/dom/shadow/shadow-root-resetStyleInheritance-expected.html
      
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::initForStyleResolve):
      Set m_parentStyle to NULL when resetStyleInheritance.
      (WebCore::StyleResolver::documentSettings):
      Added a new method to obtain current document's settings.
      (WebCore::StyleResolver::initializeFontStyle):
      Initialize m_style by using document settings. Its code was move
      from the code initializing font style in applyProperty.
      (WebCore::StyleResolver::styleForElement):
      Initialize font style if m_parentStyle is NULL. The old code just
      used style() and don't touch font style. The new code uses the above
      initializeFontStyle.
      (WebCore::StyleResolver::applyProperty):
      Moved a code for initializing font style as "initial" to
      a new method: initializeFontStyle and modified to use the method.
      Modified to use documentSettings().
      (WebCore::StyleResolver::checkForGenericFamilyChange):
      Modified to use documentSettings().
      * css/StyleResolver.h:
      (WebCore::StyleResolver::documentSettings):
      (WebCore::StyleResolver::initializeFontStyle):
      Added two new methods to class StyleResolver.
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::NodeRenderingContext):
      Modified to calculate m_resetStyleInheritance in its constructor.
      * dom/NodeRenderingContext.h:
      (WebCore::NodeRenderingContext::resetStyleInheritance):
      Implemented a new method, just returning m_resetStyleInheritance.
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::setResetStyleInheritance):
      Modified to force to recalculate children's styles if
      resetStyleInheritance is changed.
      * dom/ShadowRoot.h:
      (ShadowRoot):
      Added resetStyleInheritance getter and setter.
      * dom/ShadowRoot.idl:
      Added an attribute, resetStyleInheritance.
      * dom/TreeScope.cpp:
      (WebCore::TreeScope::resetStyleInheritance):
      * dom/TreeScope.h:
      (TreeScope):
      Added resetStyleInheritance's default getter.
      The getter will be overrided by class ShadowRoot's getter.
      
      LayoutTests:
      
      Added layout tests for checking whether resetStyleInheritance works correctly or not.
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-06-07
      Reviewed by Hajime Morita.
      
      * fast/dom/shadow/shadow-root-resetStyleInheritance.html: Added.
      * fast/dom/shadow/shadow-root-resetStyleInheritance-expected.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82c3be68
    • kinuko@chromium.org's avatar
      Fix unmatched parenthesis in fast/dom/HTMLAnchorElement/anchor-download-unset.html · 28890997
      kinuko@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88526
      
      Reviewed by Alexey Proskuryakov.
      
      This test is skipped on other platforms than chromium.
      
      * fast/dom/HTMLAnchorElement/anchor-download-unset.html:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28890997
    • commit-queue@webkit.org's avatar
      addTextTrack should set track mode to HIDDEN · bf970d25
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88317
      
      Patch by Victor Carbune <victor@rosedu.org> on 2012-06-07
      Reviewed by Eric Carlson.
      
      Source/WebCore:
      
      Updated existing test.
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::addTextTrack): Set the default parameters
      for the newly created TextTrack.
      * html/track/TextTrack.cpp:
      (WebCore::TextTrack::TextTrack):
      
      LayoutTests:
      
      * media/track/track-texttracks-expected.txt: Updated.
      * media/track/track-texttracks.html: Updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf970d25
    • commit-queue@webkit.org's avatar
      FileAPI: Blob should support ArrayBufferView instead of ArrayBuffer for Constructor Parameters · 0f033c34
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88294
      
      Patch by Li Yin <li.yin@intel.com> on 2012-06-07
      Reviewed by Jian Li.
      
      Source/WebCore:
      
      From Spec: http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob
      Currently we add the support for ArrayBufferView, while still keeping ArrayBuffer for
      backward compatibility. We will remove it in the near future.
      
      Test: fast/files/blob-constructor.html
      
      * bindings/js/JSBlobCustom.cpp:
      (WebCore::JSBlobConstructor::constructJSBlob):
      * bindings/v8/custom/V8BlobCustom.cpp:
      (WebCore::V8Blob::constructorCallback):
      * fileapi/WebKitBlobBuilder.cpp:
      (WebCore::WebKitBlobBuilder::append):
      (WebCore):
      * fileapi/WebKitBlobBuilder.h:
      (WebCore):
      (WebKitBlobBuilder):
      * fileapi/WebKitBlobBuilder.idl: Add support for ArrayBufferView in append method
      
      LayoutTests:
      
      Support ArrayBufferView in Blob constructing function.
      
      * fast/files/blob-constructor-expected.txt:
      * fast/files/file-reader-fffd-expected.txt:
      * fast/files/file-reader-fffd.html:
      * fast/files/script-tests/blob-constructor.js:
      * http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html:
      * http/tests/websocket/tests/hybi/bufferedAmount-after-close.html:
      * http/tests/websocket/tests/hybi/send-blob.html:
      * http/tests/websocket/tests/hybi/workers/resources/send-blob.js:
      (createBlobContainingAllDistinctBytes):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f033c34
    • morrita@google.com's avatar
      A style in an older shadow subtree causes assert when composing with <shadow> · 73719372
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88299
      
      Reviewed by Dimitri Glazkov.
      
      Source/WebCore:
      
      InsertionPoint::attach() assumes its distributed content not being attach()-ed.
      But this assumption can break. This change added a guard for that.
      This can happen for shadow boundaries in general. But ShadowRoot already handles that case.
      
      Test: fast/dom/shadow/insertion-point-shadow-crash.html
      
      * html/shadow/InsertionPoint.cpp:
      (WebCore::InsertionPoint::attach):
      
      LayoutTests:
      
      * fast/dom/shadow/insertion-point-shadow-crash-expected.txt: Added.
      * fast/dom/shadow/insertion-point-shadow-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73719372
    • commit-queue@webkit.org's avatar
      [EFL][DRT] Normalize file:///tmp/LayoutTests in LayoutTestController::pathToLocalResource() · 1c5ba2ac
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67255
      
      Patch by Joshua Lock <joshua.lock@intel.com> on 2012-06-07
      Reviewed by Dirk Pranke.
      
      Tools:
      
      Implement pathToLocalResource to redirect file:///tmp URL's to
      DUMPRENDERTREE_TEMP and file:///tmp/LayoutTests to point to the
      LayoutTests sub-directory of the WebKit source tree.
      
      * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
      (LayoutTestController::pathToLocalResource):
      
      LayoutTests:
      
      * platform/efl/TestExpectations: unskip
      fast/dom/frame-loading-via-document-write.html now that
      LayoutTestController::pathToLocalResource() is implemented for EFL.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c5ba2ac
    • noel.gordon@gmail.com's avatar
      [chromium] Use WEBPImportPictureRGBX|BGRX to import picture data · 171c4b27
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88218
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Stop using the RGBA and RGBA variants of the picture import routines (since
      these will import alpha channel data in a future libwebp). Use the RGBX and
      BGRX variants to import picture data for encoding to make it clear that the
      alpha channel is (and must be) ignored.
      
      Test: fast/canvas/canvas-toDataURL-webp.html
      
      * platform/image-encoders/skia/WEBPImageEncoder.cpp:
      (WebCore::rgbPictureImport):
      (WebCore::importPictureBGRX): Use WEBPImportPictureBGRX for picture imports
      that must ignore the alpha channel. Change the template parameter to be the
      premultiplied alpha state of the input image data.
      (WebCore::importPictureRGBX): Use WEBPImportPictureRGBX, ditto.
      (WebCore::encodePixels): Invert the sense of the template parameter to make
      it now indicate the premultiplied alpha state of the input image data.
      
      LayoutTests:
      
      The test image (html5.png) has an alpha 255 background. The background should
      be rendered black when a <canvas>.toDataURL('image/webp') is used as an <img>
      element src attribute for example, since WEBP does not support alpha.
      
      * fast/canvas/canvas-toDataURL-webp-expected.txt:
      * fast/canvas/canvas-toDataURL-webp.html: Change the test to encode the added
      html5.png test image as an image/webp data url.
      * fast/canvas/resources/html5.png: Added.
      * platform/chromium-mac-snowleopard/fast/canvas/canvas-toDataURL-webp-expected.png: Added.
      * platform/chromium/TestExpectations: Requires WIN, LINUX rebaselines.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      171c4b27