Timeline



Nov 3, 2013:

11:10 PM Changeset in webkit [158558] by zandobersek@gmail.com
  • 3 edits in trunk/Source/WebCore

PingLoader objects unnecessarily pass through OwnPtr
https://bugs.webkit.org/show_bug.cgi?id=122942

Reviewed by Darin Adler.

There's no need to store new PingLoader objects into an OwnPtr just to leak them out a few lines later
into an unused variable. New objects are created through a new helper method and then left unmanaged as
they're guaranteed to destroy themselves when they receive a response of any kind.

  • loader/PingLoader.cpp:

(WebCore::PingLoader::loadImage): Call the new createPingLoader method to spawn the PingLoader.
(WebCore::PingLoader::sendPing): Ditto.
(WebCore::PingLoader::sendViolationReport): Ditto.
(WebCore::PingLoader::createPingLoader): A helper method that creates a new PingLoader object

  • loader/PingLoader.h: Declare the new PingLoader::createPingLoader method.
11:02 PM MathML 3 testsuite results edited by ahoos@apple.com
updating msqrt tests 6,7,8 to reflect progress. (diff)
10:55 PM MathML 3 testsuite results edited by ahoos@apple.com
updating mrow test 2 to reflect progress. (diff)
10:54 PM Changeset in webkit [158557] by akling@apple.com
  • 7 edits in trunk/Source/WebCore

HTMLOptionsCollection is always rooted at a HTMLSelectElement.
<https://webkit.org/b/123719>

Tighten up HTMLOptionsCollection by making the constructor take
a HTMLSelectElement& and adding a HTMLSelectElement& getter instead
of casting all over the place. Removed now-pointless assertions.

Reviewed by Sam Weinig.

10:53 PM MathML 3 testsuite results edited by ahoos@apple.com
Updated test results for mover 7,8,10,11,12 to reflect progress. (diff)
10:50 PM MathML 3 testsuite results edited by ahoos@apple.com
Updated test results for mover 1-5 to reflect progress. (diff)
9:55 PM MathML 3 testsuite results edited by ahoos@apple.com
Updated mfrac results for tests 2,3, and 4. (diff)
8:24 PM Changeset in webkit [158556] by fpizlo@apple.com
  • 3 edits
    3 adds in trunk

Generated color wheel displays incorrectly (regressed in r155567)
https://bugs.webkit.org/show_bug.cgi?id=123664

Source/JavaScriptCore:

Reviewed by Andreas Kling.

Interestingly, r155567 just "un-broke" the attempt to constant-fold ArithMod, but
that constant folding was just wrong to begin with. There is no evidence that this
constant folding rule is profitable. I'm removing it instead of trying to think
about what it means for it to be correct.

  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::::executeEffects):

LayoutTests:

Reviewed by Andreas Kling.

  • js/dfg-mod-1-expected.txt: Added.
  • js/dfg-mod-1.html: Added.
  • js/script-tests/dfg-mod-1.js: Added.

(foo):

8:12 PM Changeset in webkit [158555] by akling@apple.com
  • 1 edit
    66 moves
    70 deletes in trunk/LayoutTests

Optimize baselines: fast/repaint

Unreviewed; run "webkit-patch optimize-baselines fast/repaint"

  • fast/repaint/4774354-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/4774354-expected.txt.
  • fast/repaint/absolute-position-changed-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/absolute-position-changed-expected.png.
  • fast/repaint/block-selection-gap-stale-cache-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/block-selection-gap-stale-cache-2-expected.png.
  • fast/repaint/block-selection-gap-stale-cache-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/block-selection-gap-stale-cache-expected.png.
  • fast/repaint/box-shadow-inset-repaint-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/box-shadow-inset-repaint-expected.txt.
  • fast/repaint/button-spurious-layout-hint-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/button-spurious-layout-hint-expected.png.
  • fast/repaint/canvas-putImageData-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/canvas-putImageData-expected.png.
  • fast/repaint/clip-with-layout-delta-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/clip-with-layout-delta-expected.txt.
  • fast/repaint/content-into-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/content-into-overflow-expected.png.
  • fast/repaint/erase-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/erase-overflow-expected.png.
  • fast/repaint/fixed-after-scroll-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-after-scroll-expected.png.
  • fast/repaint/fixed-and-absolute-position-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-and-absolute-position-scrolled-expected.png.
  • fast/repaint/fixed-position-transparency-with-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-position-transparency-with-overflow-expected.png.
  • fast/repaint/fixed-scale-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-scale-expected.png.
  • fast/repaint/fixed-scroll-simple-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-scroll-simple-expected.png.
  • fast/repaint/fixed-table-cell-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-table-cell-expected.png.
  • fast/repaint/fixed-table-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-table-overflow-expected.png.
  • fast/repaint/fixed-table-overflow-zindex-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-table-overflow-zindex-expected.png.
  • fast/repaint/fixed-tranformed-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-tranformed-expected.png.
  • fast/repaint/float-in-new-block-with-layout-delta-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
  • fast/repaint/float-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/float-overflow-expected.txt.
  • fast/repaint/float-overflow-right-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/float-overflow-right-expected.txt.
  • fast/repaint/inline-block-resize-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/inline-block-resize-expected.png.
  • fast/repaint/inline-horizontal-bt-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/inline-horizontal-bt-overflow-expected.txt.
  • fast/repaint/inline-vertical-lr-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-lr-overflow-expected.png.
  • fast/repaint/inline-vertical-lr-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-lr-overflow-expected.txt.
  • fast/repaint/inline-vertical-rl-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-rl-overflow-expected.png.
  • fast/repaint/inline-vertical-rl-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-rl-overflow-expected.txt.
  • fast/repaint/intermediate-layout-position-clip-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/intermediate-layout-position-clip-expected.png.
  • fast/repaint/japanese-rl-selection-clear-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-clear-expected.txt.
  • fast/repaint/japanese-rl-selection-repaint-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-expected.txt.
  • fast/repaint/layer-hide-when-needs-layout-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/layer-hide-when-needs-layout-expected.png.
  • fast/repaint/layer-visibility-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/layer-visibility-expected.png.
  • fast/repaint/line-in-scrolled-clipped-block-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/line-in-scrolled-clipped-block-expected.txt.
  • fast/repaint/moving-shadow-on-path-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/moving-shadow-on-path-expected.txt.
  • fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png.
  • fast/repaint/overflow-clip-subtree-layout-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-clip-subtree-layout-expected.png.
  • fast/repaint/overflow-into-content-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-into-content-expected.png.
  • fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png.
  • fast/repaint/reflection-repaint-test-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/reflection-repaint-test-expected.txt.
  • fast/repaint/repaint-across-writing-mode-boundary-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/repaint-across-writing-mode-boundary-expected.txt.
  • fast/repaint/repaint-during-scroll-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/repaint-during-scroll-expected.png.
  • fast/repaint/repaint-during-scroll-with-zoom-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/repaint-during-scroll-with-zoom-expected.txt.
  • fast/repaint/scroll-absolute-layer-with-reflection-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-absolute-layer-with-reflection-expected.png.
  • fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png.
  • fast/repaint/scroll-fixed-layer-with-reflection-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-fixed-layer-with-reflection-expected.png.
  • fast/repaint/scroll-fixed-reflected-layer-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-fixed-reflected-layer-expected.png.
  • fast/repaint/scroll-in-clipped-layer-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-in-clipped-layer-expected.png.
  • fast/repaint/scroll-in-fixed-layer-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-in-fixed-layer-expected.png.
  • fast/repaint/subtree-root-clip-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/subtree-root-clip-2-expected.png.
  • fast/repaint/subtree-root-clip-3-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/subtree-root-clip-3-expected.png.
  • fast/repaint/subtree-root-clip-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/subtree-root-clip-expected.png.
  • fast/repaint/table-cell-vertical-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/table-cell-vertical-overflow-expected.txt.
  • fast/repaint/table-col-background-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-col-background-expected.png.
  • fast/repaint/table-outer-border-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-outer-border-expected.png.
  • fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png.
  • fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png.
  • fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png.
  • fast/repaint/table-row-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-row-expected.png.
  • fast/repaint/table-section-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-section-overflow-expected.png.
  • fast/repaint/transform-layout-repaint-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/transform-layout-repaint-expected.txt.
  • fast/repaint/view-background-from-body-1-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/view-background-from-body-1-expected.png.
  • fast/repaint/view-background-from-body-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/view-background-from-body-2-expected.png.
  • platform/efl-wk2/fast/repaint/selection-after-delete-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/selection-after-delete-expected.png.
  • platform/efl-wk2/fast/repaint/selection-after-remove-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/selection-after-remove-expected.png.
  • platform/efl-wk2/fast/repaint/selection-gap-overflow-scroll-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/selection-gap-overflow-scroll-2-expected.png.
  • platform/gtk/fast/repaint/4774354-expected.txt: Removed.
  • platform/gtk/fast/repaint/absolute-position-changed-expected.png: Removed.
  • platform/gtk/fast/repaint/block-selection-gap-stale-cache-2-expected.png: Removed.
  • platform/gtk/fast/repaint/block-selection-gap-stale-cache-expected.png: Removed.
  • platform/gtk/fast/repaint/box-shadow-inset-repaint-expected.txt: Removed.
  • platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png: Removed.
  • platform/gtk/fast/repaint/canvas-putImageData-expected.png: Removed.
  • platform/gtk/fast/repaint/clip-with-layout-delta-expected.txt: Removed.
  • platform/gtk/fast/repaint/content-into-overflow-expected.png: Removed.
  • platform/gtk/fast/repaint/erase-overflow-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-after-scroll-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-and-absolute-position-scrolled-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-position-transparency-with-overflow-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-scale-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-scroll-simple-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-table-cell-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-table-overflow-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-table-overflow-zindex-expected.png: Removed.
  • platform/gtk/fast/repaint/fixed-tranformed-expected.png: Removed.
  • platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png: Removed.
  • platform/gtk/fast/repaint/inline-block-resize-expected.png: Removed.
  • platform/gtk/fast/repaint/inline-horizontal-bt-overflow-expected.txt: Removed.
  • platform/gtk/fast/repaint/inline-vertical-lr-overflow-expected.png: Removed.
  • platform/gtk/fast/repaint/inline-vertical-lr-overflow-expected.txt: Removed.
  • platform/gtk/fast/repaint/inline-vertical-rl-overflow-expected.png: Removed.
  • platform/gtk/fast/repaint/inline-vertical-rl-overflow-expected.txt: Removed.
  • platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png: Removed.
  • platform/gtk/fast/repaint/japanese-rl-selection-clear-expected.txt: Removed.
  • platform/gtk/fast/repaint/japanese-rl-selection-repaint-expected.txt: Removed.
  • platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png: Removed.
  • platform/gtk/fast/repaint/layer-visibility-expected.png: Removed.
  • platform/gtk/fast/repaint/line-in-scrolled-clipped-block-expected.txt: Removed.
  • platform/gtk/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
  • platform/gtk/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Removed.
  • platform/gtk/fast/repaint/overflow-clip-subtree-layout-expected.png: Removed.
  • platform/gtk/fast/repaint/overflow-into-content-expected.png: Removed.
  • platform/gtk/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Removed.
  • platform/gtk/fast/repaint/reflection-repaint-test-expected.txt: Removed.
  • platform/gtk/fast/repaint/repaint-across-writing-mode-boundary-expected.txt: Removed.
  • platform/gtk/fast/repaint/repaint-during-scroll-expected.png: Removed.
  • platform/gtk/fast/repaint/repaint-during-scroll-with-zoom-expected.txt: Removed.
  • platform/gtk/fast/repaint/scroll-absolute-layer-with-reflection-expected.png: Removed.
  • platform/gtk/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Removed.
  • platform/gtk/fast/repaint/scroll-fixed-layer-with-reflection-expected.png: Removed.
  • platform/gtk/fast/repaint/scroll-fixed-reflected-layer-expected.png: Removed.
  • platform/gtk/fast/repaint/scroll-in-clipped-layer-expected.png: Removed.
  • platform/gtk/fast/repaint/scroll-in-fixed-layer-expected.png: Removed.
  • platform/gtk/fast/repaint/subtree-root-clip-2-expected.png: Removed.
  • platform/gtk/fast/repaint/subtree-root-clip-3-expected.png: Removed.
  • platform/gtk/fast/repaint/subtree-root-clip-expected.png: Removed.
  • platform/gtk/fast/repaint/table-cell-vertical-overflow-expected.txt: Removed.
  • platform/gtk/fast/repaint/table-col-background-expected.png: Removed.
  • platform/gtk/fast/repaint/table-outer-border-expected.png: Removed.
  • platform/gtk/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Removed.
  • platform/gtk/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Removed.
  • platform/gtk/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Removed.
  • platform/gtk/fast/repaint/table-row-expected.png: Removed.
  • platform/gtk/fast/repaint/table-section-overflow-expected.png: Removed.
  • platform/gtk/fast/repaint/transform-layout-repaint-expected.txt: Removed.
  • platform/gtk/fast/repaint/view-background-from-body-1-expected.png: Removed.
  • platform/gtk/fast/repaint/view-background-from-body-2-expected.png: Removed.
  • platform/mac-wk2/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Removed.
  • platform/mac/fast/repaint/box-shadow-inset-repaint-expected.txt: Removed.
  • platform/mac/fast/repaint/float-overflow-expected.txt: Removed.
  • platform/mac/fast/repaint/float-overflow-right-expected.txt: Removed.
  • platform/mac/fast/repaint/inline-horizontal-bt-overflow-expected.txt: Removed.
  • platform/mac/fast/repaint/inline-vertical-lr-overflow-expected.txt: Removed.
  • platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.txt: Removed.
  • platform/mac/fast/repaint/table-cell-vertical-overflow-expected.txt: Removed.
  • platform/win/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Removed.
7:21 PM Changeset in webkit [158554] by fpizlo@apple.com
  • 5 edits in trunk

Source/JavaScriptCore: Unreviewed, it is no longer necessary to call DisablePrettyStackTrace.

  • llvm/library/LLVMExports.cpp:

(initializeAndGetJSCLLVMAPI):

WebKitLibraries: Update binary drops to a version that includes my pretty stack trace changes.

  • LLVMIncludesMountainLion.tar.bz2:
  • LLVMLibrariesMountainLion.tar.bz2:
7:01 PM Changeset in webkit [158553] by mitz@apple.com
  • 4 edits in trunk/Source/WebKit2

[Cocoa] Wrappers' -copyWithZone: should copy if the collection is mutable
https://bugs.webkit.org/show_bug.cgi?id=123707

Reviewed by Geoff Garen and Anders Carlsson.

  • Shared/Cocoa/WKNSArray.mm:

(-[WKNSArray copyWithZone:]): If the array is mutable, make a copy.

  • Shared/Cocoa/WKNSDictionary.mm:

(-[WKNSDictionary copyWithZone:]): If the dictionary is mutable, make a copy.

  • Shared/ImmutableArray.h:

(WebKit::ImmutableArray::entries): Added this accessor.

6:57 PM Changeset in webkit [158552] by mitz@apple.com
  • 4 edits in trunk/Source/WebKit2

Reverted r158538.

  • Shared/Cocoa/WKNSArray.mm:

(-[WKNSArray copyWithZone:]):

  • Shared/Cocoa/WKNSDictionary.mm:

(-[WKNSDictionary copyWithZone:]):

  • Shared/ImmutableArray.h:
4:39 PM Changeset in webkit [158551] by akling@apple.com
  • 5 edits in trunk/Source/WebCore

RenderTextFragment: Tighten first-letter logic.
<https://webkit.org/b/123714>

Reviewed by Antti Koivisto.

  • editing/TextIterator.cpp:

(WebCore::firstRenderTextInFirstLetter):

Use iterator helper to find first RenderText child.

(WebCore::TextIterator::handleTextNodeFirstLetter):

Tightening through type inference.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::updateFirstLetterStyle):
(WebCore::RenderBlock::createFirstLetterRenderer):

  • rendering/RenderTextFragment.h:

The first letter renderer is always a RenderBoxModelObject,
so make the code deal in that instead of RenderObject.

  • rendering/RenderChildIterator.h:

(WebCore::RenderChildIteratorAdapter::first):
(WebCore::RenderChildIteratorAdapter::last):

Remove excess ampersands that were keeping this from building.

4:35 PM Changeset in webkit [158550] by akling@apple.com
  • 2 edits
    2 copies
    12 moves
    2 adds
    13 deletes in trunk/LayoutTests

Optimize baselines: fast/forms

Unreviewed; run "webkit-patch optimize-baselines fast/forms"

  • fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt:
  • fast/forms/fieldset-with-float-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/fieldset-with-float-expected.txt.
  • fast/forms/input-no-renderer-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/input-no-renderer-expected.txt.
  • fast/forms/label/labelable-elements-expected.txt: Renamed from LayoutTests/platform/gtk/fast/forms/label/labelable-elements-expected.txt.
  • fast/forms/range/slider-thumb-stylability-expected.png: Renamed from LayoutTests/platform/efl/fast/forms/range/slider-thumb-stylability-expected.png.
  • fast/forms/select-listbox-multiple-no-focusring-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/select-listbox-multiple-no-focusring-expected.txt.
  • fast/forms/select-overflow-scroll-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/select-overflow-scroll-expected.txt.
  • fast/forms/select-overflow-scroll-inherited-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/select-overflow-scroll-inherited-expected.txt.
  • fast/forms/textfield-overflow-by-value-update-expected.png: Renamed from LayoutTests/platform/efl/fast/forms/textfield-overflow-by-value-update-expected.png.
  • fast/forms/textfield-overflow-by-value-update-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/textfield-overflow-by-value-update-expected.txt.
  • platform/efl-wk2/fast/forms/validation-message-appearance-expected.png: Renamed from LayoutTests/platform/efl/fast/forms/validation-message-appearance-expected.png.
  • platform/gtk/fast/forms/fieldset-with-float-expected.txt: Removed.
  • platform/gtk/fast/forms/input-no-renderer-expected.txt: Removed.
  • platform/gtk/fast/forms/range/slider-thumb-stylability-expected.png: Removed.
  • platform/gtk/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Removed.
  • platform/gtk/fast/forms/select-overflow-scroll-expected.txt: Removed.
  • platform/gtk/fast/forms/select-overflow-scroll-inherited-expected.txt: Removed.
  • platform/gtk/fast/forms/textfield-overflow-by-value-update-expected.png: Removed.
  • platform/mac/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt: Removed.
  • platform/mac/fast/forms/label/labelable-elements-expected.txt: Removed.
  • platform/mac/fast/forms/textfield-overflow-by-value-update-expected.txt: Removed.
  • platform/win-7sp0/fast/forms/cursor-at-editable-content-boundary-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/cursor-at-editable-content-boundary-expected.txt.
  • platform/win-7sp0/fast/forms/implicit-submission-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/implicit-submission-expected.txt.
  • platform/win-7sp0/fast/forms/range/slider-mouse-events-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/range/slider-mouse-events-expected.txt.
  • platform/win-7sp0/fast/forms/select-popup-pagekeys-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/select-popup-pagekeys-expected.txt.
  • platform/win/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt: Removed.
4:15 PM Changeset in webkit [158549] by akling@apple.com
  • 4 edits in trunk/Source/WebCore

CSSPrimitiveValue identifier constructors should return PassRef.
<https://webkit.org/b/123712>

Make CSSPrimitiveValue::createIdentifier() and the corresponding
CSSValuePool helper return PassRef<CSSPrimitiveValue>.

Reviewed by Antti Koivisto.

4:13 PM Changeset in webkit [158548] by akling@apple.com
  • 4 edits in trunk/Source/WebCore

Use RenderChildIterator in two more loops.
<https://webkit.org/b/123713>

Switch two more renderer child traversal loops to childrenOfType.

Reviewed by Antti Koivisto.

3:43 PM Changeset in webkit [158547] by akling@apple.com
  • 2 edits
    36 moves
    2 adds
    36 deletes in trunk/LayoutTests

Optimize baselines: editing

Unreviewed; run "webkit-patch optimize-baselines editing"

  • editing/deleting/delete-3775172-fix-expected.png: Renamed from LayoutTests/platform/efl/editing/deleting/delete-3775172-fix-expected.png.
  • editing/deleting/delete-after-span-ws-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-after-span-ws-001-expected.txt.
  • editing/deleting/delete-after-span-ws-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-after-span-ws-002-expected.txt.
  • editing/deleting/delete-after-span-ws-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-after-span-ws-003-expected.txt.
  • editing/deleting/delete-at-start-or-end-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-at-start-or-end-expected.txt.
  • editing/deleting/delete-br-002-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-002-expected.txt.
  • editing/deleting/delete-br-004-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-004-expected.txt.
  • editing/deleting/delete-br-005-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-005-expected.txt.
  • editing/deleting/delete-br-006-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-006-expected.txt.
  • editing/deleting/delete-line-end-ws-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-line-end-ws-001-expected.txt.
  • editing/deleting/delete-line-end-ws-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-line-end-ws-002-expected.txt.
  • editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt:
  • editing/inserting/insert-3851164-fix-expected.png: Renamed from LayoutTests/platform/efl/editing/inserting/insert-3851164-fix-expected.png.
  • editing/selection/5195166-1-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/5195166-1-expected.txt.
  • editing/selection/editable-links-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/editable-links-expected.txt.
  • editing/selection/focus-body-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/focus-body-expected.txt.
  • editing/selection/select-all-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-001-expected.txt.
  • editing/selection/select-all-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-002-expected.txt.
  • editing/selection/select-all-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-003-expected.txt.
  • editing/selection/select-all-004-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-004-expected.txt.
  • editing/selection/unrendered-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-001-expected.txt.
  • editing/selection/unrendered-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-002-expected.txt.
  • editing/selection/unrendered-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-003-expected.txt.
  • editing/selection/unrendered-004-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-004-expected.txt.
  • editing/selection/unrendered-005-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-005-expected.txt.
  • editing/undo/5378473-expected.txt: Renamed from LayoutTests/platform/efl/editing/undo/5378473-expected.txt.
  • editing/undo/undo-misspellings-expected.txt: Renamed from LayoutTests/platform/efl/editing/undo/undo-misspellings-expected.txt.
  • editing/unsupported-content/table-delete-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/unsupported-content/table-delete-001-expected.txt.
  • editing/unsupported-content/table-delete-003-expected.png: Renamed from LayoutTests/platform/efl/editing/unsupported-content/table-delete-003-expected.png.
  • editing/unsupported-content/table-delete-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/unsupported-content/table-delete-003-expected.txt.
  • platform/efl-wk2/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Renamed from LayoutTests/platform/efl/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt.
  • platform/efl/editing/caret/caret-color-expected.txt: Renamed from LayoutTests/editing/caret/caret-color-expected.txt.
  • platform/efl/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Removed.
  • platform/gtk/editing/deleting/delete-3775172-fix-expected.png: Removed.
  • platform/gtk/editing/deleting/delete-after-span-ws-001-expected.txt: Removed.
  • platform/gtk/editing/deleting/delete-after-span-ws-002-expected.txt: Removed.
  • platform/gtk/editing/deleting/delete-after-span-ws-003-expected.txt: Removed.
  • platform/gtk/editing/deleting/delete-line-end-ws-001-expected.txt: Removed.
  • platform/gtk/editing/deleting/delete-line-end-ws-002-expected.txt: Removed.
  • platform/gtk/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Removed.
  • platform/gtk/editing/inserting/insert-3851164-fix-expected.png: Removed.
  • platform/gtk/editing/selection/editable-links-expected.txt: Removed.
  • platform/gtk/editing/selection/focus-body-expected.txt: Removed.
  • platform/gtk/editing/selection/select-all-001-expected.txt: Removed.
  • platform/gtk/editing/selection/select-all-002-expected.txt: Removed.
  • platform/gtk/editing/selection/select-all-003-expected.txt: Removed.
  • platform/gtk/editing/selection/select-all-004-expected.txt: Removed.
  • platform/gtk/editing/selection/unrendered-001-expected.txt: Removed.
  • platform/gtk/editing/selection/unrendered-002-expected.txt: Removed.
  • platform/gtk/editing/selection/unrendered-003-expected.txt: Removed.
  • platform/gtk/editing/selection/unrendered-004-expected.txt: Removed.
  • platform/gtk/editing/selection/unrendered-005-expected.txt: Removed.
  • platform/mac/editing/deleting/delete-at-start-or-end-expected.txt: Removed.
  • platform/mac/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Removed.
  • platform/mac/editing/inserting/insert-div-010-expected.txt: Renamed from LayoutTests/editing/inserting/insert-div-010-expected.txt.
  • platform/mac/editing/selection/5195166-1-expected.txt: Removed.
  • platform/mac/editing/style/unbold-in-bold-expected.txt: Renamed from LayoutTests/editing/style/unbold-in-bold-expected.txt.
  • platform/mac/editing/undo/5378473-expected.txt: Removed.
  • platform/mac/editing/undo/undo-misspellings-expected.txt: Removed.
  • platform/mac/editing/unsupported-content/table-delete-001-expected.txt: Removed.
  • platform/mac/editing/unsupported-content/table-delete-003-expected.png: Removed.
  • platform/mac/editing/unsupported-content/table-delete-003-expected.txt: Removed.
  • platform/win-7sp0/editing/selection/collapse-selection-in-bidi-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/collapse-selection-in-bidi-expected.txt.
  • platform/win-7sp0/editing/selection/drag-text-delay-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/drag-text-delay-expected.txt.
  • platform/win-7sp0/editing/selection/extend-selection-home-end-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/extend-selection-home-end-expected.txt.
  • platform/win/editing/deleting/delete-br-002-expected.txt: Removed.
  • platform/win/editing/deleting/delete-br-004-expected.txt: Removed.
  • platform/win/editing/deleting/delete-br-005-expected.txt: Removed.
  • platform/win/editing/deleting/delete-br-006-expected.txt: Removed.
  • platform/win/editing/deleting/delete-br-009-expected.txt: Removed.
  • platform/win/editing/inserting/insert-3800346-fix-expected.txt: Removed.
  • platform/win/editing/selection/anchor-focus2-expected.txt: Removed.
  • platform/win/editing/selection/anchor-focus3-expected.txt: Removed.
3:32 PM Changeset in webkit [158546] by akling@apple.com
  • 3 edits
    55 moves
    2 adds
    80 deletes in trunk/LayoutTests

Optimize baselines: tables

Unreviewed; run "webkit-patch optimize-baselines tables"

  • platform/gtk/tables/mozilla/bugs/adforce_imgis_com-expected.txt: Removed.
  • platform/gtk/tables/mozilla/bugs/bug102145-1-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug102145-2-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug102145-3-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug102145-4-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug10269-1-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug10296-2-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug103533-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug11321-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug12908-2-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug13105-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug14159-3-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug149275-2-expected.txt: Removed.
  • platform/gtk/tables/mozilla/bugs/bug1818-6-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug196870-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug222336-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug222467-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug23072-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug23151-expected.txt: Removed.
  • platform/gtk/tables/mozilla/bugs/bug23994-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug26553-expected.txt: Removed.
  • platform/gtk/tables/mozilla/bugs/bug269566-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug27038-3-expected.txt: Removed.
  • platform/gtk/tables/mozilla/bugs/bug275625-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug277062-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug2886-2-expected.txt: Removed.
  • platform/gtk/tables/mozilla/bugs/bug28933-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug3037-1-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug3037-2-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug32447-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug34538-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug56405-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug641-2-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug75250-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug8032-2-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug8361-expected.png: Removed.
  • platform/gtk/tables/mozilla/bugs/bug9024-expected.png: Removed.
  • platform/gtk/tables/mozilla/core/col_widths_fix_autoFixPer-expected.png: Removed.
  • platform/gtk/tables/mozilla/marvin/table_overflow_hidden_td-expected.txt: Removed.
  • platform/gtk/tables/mozilla_expected_failures/bugs/bug128876-expected.png: Removed.
  • platform/gtk/tables/mozilla_expected_failures/bugs/bug178855-expected.png: Removed.
  • platform/gtk/tables/mozilla_expected_failures/bugs/bug3517-expected.png: Removed.
  • platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.png: Removed.
  • platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt: Removed.
  • platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt: Removed.
  • platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt: Removed.
  • platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt: Removed.
  • platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug120107-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug1271-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug12908-2-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug12910-2-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug131020-2-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug13169-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug137388-1-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug137388-2-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug137388-3-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug157890-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug1818-3-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug1818-6-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug196870-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug222336-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug222467-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug269566-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug277062-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug28933-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug29314-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug2954-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug50695-2-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug56201-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug8032-2-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug9024-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/bugs/bug92647-2-expected.txt: Removed.
  • platform/mac-mountainlion/tables/mozilla/core/col_widths_fix_autoFixPer-expected.txt: Removed.
  • platform/mac/tables/mozilla/bugs/bug27038-3-expected.txt: Removed.
  • platform/mac/tables/mozilla/core/row_span-expected.txt: Removed.
  • platform/mac/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt: Removed.
  • platform/win-future/tables/mozilla/core/bloomberg-expected.txt: Renamed from LayoutTests/tables/mozilla/core/bloomberg-expected.txt.
  • platform/win-future/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.txt: Renamed from LayoutTests/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.txt.
  • platform/win/tables/mozilla/bugs/bug133756-1-expected.txt: Removed.
  • platform/win/tables/mozilla/bugs/bug133756-2-expected.txt: Removed.
  • platform/win/tables/mozilla/bugs/bug220536-expected.txt: Removed.
  • platform/win/tables/mozilla/bugs/bug8858-expected.txt: Removed.
  • platform/win/tables/mozilla/core/row_span-expected.txt: Removed.
  • platform/win/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt: Removed.
  • platform/win/tables/mozilla_expected_failures/bugs/bug65372-expected.txt: Removed.
  • tables/mozilla/bugs/adforce_imgis_com-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/adforce_imgis_com-expected.txt.
  • tables/mozilla/bugs/bug102145-1-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-1-expected.png.
  • tables/mozilla/bugs/bug102145-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-2-expected.png.
  • tables/mozilla/bugs/bug102145-3-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-3-expected.png.
  • tables/mozilla/bugs/bug102145-4-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-4-expected.png.
  • tables/mozilla/bugs/bug10269-1-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug10269-1-expected.png.
  • tables/mozilla/bugs/bug10296-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug10296-2-expected.png.
  • tables/mozilla/bugs/bug103533-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug103533-expected.png.
  • tables/mozilla/bugs/bug11321-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug11321-expected.png.
  • tables/mozilla/bugs/bug12908-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug12908-2-expected.png.
  • tables/mozilla/bugs/bug13105-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug13105-expected.png.
  • tables/mozilla/bugs/bug133756-1-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug133756-1-expected.txt.
  • tables/mozilla/bugs/bug133756-2-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug133756-2-expected.txt.
  • tables/mozilla/bugs/bug14159-3-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug14159-3-expected.png.
  • tables/mozilla/bugs/bug149275-2-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug149275-2-expected.txt.
  • tables/mozilla/bugs/bug1818-6-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug1818-6-expected.png.
  • tables/mozilla/bugs/bug196870-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug196870-expected.png.
  • tables/mozilla/bugs/bug220536-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug220536-expected.txt.
  • tables/mozilla/bugs/bug222336-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug222336-expected.png.
  • tables/mozilla/bugs/bug222467-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug222467-expected.png.
  • tables/mozilla/bugs/bug23072-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug23072-expected.png.
  • tables/mozilla/bugs/bug23151-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug23151-expected.txt.
  • tables/mozilla/bugs/bug23994-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug23994-expected.png.
  • tables/mozilla/bugs/bug26553-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug26553-expected.txt.
  • tables/mozilla/bugs/bug269566-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug269566-expected.png.
  • tables/mozilla/bugs/bug27038-3-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug27038-3-expected.txt.
  • tables/mozilla/bugs/bug275625-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug275625-expected.png.
  • tables/mozilla/bugs/bug277062-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug277062-expected.png.
  • tables/mozilla/bugs/bug2886-2-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug2886-2-expected.txt.
  • tables/mozilla/bugs/bug28933-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug28933-expected.png.
  • tables/mozilla/bugs/bug3037-1-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug3037-1-expected.png.
  • tables/mozilla/bugs/bug3037-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug3037-2-expected.png.
  • tables/mozilla/bugs/bug32447-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug32447-expected.png.
  • tables/mozilla/bugs/bug34538-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug34538-expected.png.
  • tables/mozilla/bugs/bug56405-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug56405-expected.png.
  • tables/mozilla/bugs/bug641-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug641-2-expected.png.
  • tables/mozilla/bugs/bug75250-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug75250-expected.png.
  • tables/mozilla/bugs/bug8032-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug8032-2-expected.png.
  • tables/mozilla/bugs/bug8361-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug8361-expected.png.
  • tables/mozilla/bugs/bug8858-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug8858-expected.txt.
  • tables/mozilla/bugs/bug9024-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug9024-expected.png.
  • tables/mozilla/core/col_widths_fix_autoFixPer-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/core/col_widths_fix_autoFixPer-expected.png.
  • tables/mozilla/core/row_span-expected.txt:
  • tables/mozilla/marvin/table_overflow_hidden_td-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/marvin/table_overflow_hidden_td-expected.txt.
  • tables/mozilla_expected_failures/bugs/bug128876-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/bugs/bug128876-expected.png.
  • tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt:
  • tables/mozilla_expected_failures/bugs/bug178855-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/bugs/bug178855-expected.png.
  • tables/mozilla_expected_failures/bugs/bug3517-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/bugs/bug3517-expected.png.
  • tables/mozilla_expected_failures/bugs/bug65372-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug65372-expected.txt.
  • tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.png.
  • tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt.
  • tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt.
  • tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt.
  • tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt.
  • tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt.
2:26 PM Changeset in webkit [158545] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

Precision errors in Math.cbrt() on GTK, EFL
https://bugs.webkit.org/show_bug.cgi?id=123624

Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-11-03
Reviewed by Csaba Osztrogonác.

Calculate cube roots of 8 and -8, expecting 2 and -2, respectively. Cube roots of those two
numbers don't contain precision errors on the GTK and EFL ports as is the case with 27 and -27.

  • js/math-expected.txt:
  • js/script-tests/math.js:
2:18 PM Changeset in webkit [158544] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

CSSShadowValue constructor should return PassRef.
<https://webkit.org/b/123711>

Make CSSShadowValue::create() return a PassRef since it will never
return null.

Reviewed by Sam Weinig.

2:17 PM Changeset in webkit [158543] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

CSSLineBoxContainValue constructor should return PassRef.
<https://webkit.org/b/123710>

Make CSSLineBoxContainValue::create() return a PassRef since it
will never return null.

Reviewed by Sam Weinig.

2:17 PM Changeset in webkit [158542] by akling@apple.com
  • 1 edit
    5 moves
    5 deletes in trunk/LayoutTests

Optimize baselines: fast/frames

Unreviewed; run "webkit-patch optimize-baselines fast/frames"

  • fast/frames/002-expected.png: Renamed from LayoutTests/platform/efl/fast/frames/002-expected.png.
  • fast/frames/empty-cols-attribute-expected.png: Renamed from LayoutTests/platform/efl/fast/frames/empty-cols-attribute-expected.png.
  • fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Renamed from LayoutTests/platform/efl/fast/frames/flattening/frameset-flattening-subframesets-expected.txt.
  • fast/frames/frame-set-whitespace-attributes-expected.png: Renamed from LayoutTests/platform/efl/fast/frames/frame-set-whitespace-attributes-expected.png.
  • fast/frames/no-frame-borders-expected.png: Renamed from LayoutTests/platform/efl/fast/frames/no-frame-borders-expected.png.
  • platform/gtk/fast/frames/002-expected.png: Removed.
  • platform/gtk/fast/frames/empty-cols-attribute-expected.png: Removed.
  • platform/gtk/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Removed.
  • platform/gtk/fast/frames/frame-set-whitespace-attributes-expected.png: Removed.
  • platform/gtk/fast/frames/no-frame-borders-expected.png: Removed.
1:52 PM Changeset in webkit [158541] by mark.lam@apple.com
  • 4 edits in trunk/Source/JavaScriptCore

Assertion failure in non-JIT'ed LLInt on ARM Thumb.
https://bugs.webkit.org/show_bug.cgi?id=97569.

Reviewed by Geoffrey Garen.

  • assembler/MacroAssemblerCodeRef.h:
  • Thumb2 alignment assertions do not apply to the C Loop LLINT because the arguments passed to those assertions are actually OpcodeIDs masquerading as addresses.
  • llint/LLIntOfflineAsmConfig.h:
  • Some of the #defines belong in the !ENABLE(LLINT_C_LOOP) section. Moving them there.
  • llint/LowLevelInterpreter.cpp:
  • Keep the compiler happy from some unreferenced C Loop labels.
1:32 PM Changeset in webkit [158540] by Antti Koivisto
  • 29 edits in trunk/Source/WebCore

LiveNodeLists should have non-null ContainerNode as root
https://bugs.webkit.org/show_bug.cgi?id=123709

Reviewed by Andreas Kling.

After moving ChildNodeList off from LiveNodeList the root is now always at least a ContainerNode.

  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::getElementsByTagName):
(WebCore::ContainerNode::getElementsByTagNameNS):
(WebCore::ContainerNode::getElementsByName):
(WebCore::ContainerNode::getElementsByClassName):
(WebCore::ContainerNode::radioNodeList):

Also these move from Node to ContainerNode to make tighter typing work.

1:08 PM Changeset in webkit [158539] by akling@apple.com
  • 1 edit
    21 moves
    24 deletes in trunk/LayoutTests

Optimize baselines: fast/table

Unreviewed; run "webkit-patch optimize-baselines fast/table"

  • fast/table/022-expected.txt: Renamed from LayoutTests/platform/efl/fast/table/022-expected.txt.
  • fast/table/024-expected.png: Renamed from LayoutTests/platform/efl/fast/table/024-expected.png.
  • fast/table/031-expected.png: Renamed from LayoutTests/platform/efl/fast/table/031-expected.png.
  • fast/table/032-expected.png: Renamed from LayoutTests/platform/efl/fast/table/032-expected.png.
  • fast/table/034-expected.txt: Renamed from LayoutTests/platform/efl/fast/table/034-expected.txt.
  • fast/table/auto-100-percent-width-expected.png: Renamed from LayoutTests/platform/efl/fast/table/auto-100-percent-width-expected.png.
  • fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.png: Renamed from LayoutTests/platform/efl/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.png.
  • fast/table/div-as-col-span-expected.png: Renamed from LayoutTests/platform/efl/fast/table/div-as-col-span-expected.png.
  • fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.txt: Renamed from LayoutTests/platform/efl/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.txt.
  • fast/table/giantCellspacing-expected.png: Renamed from LayoutTests/platform/efl/fast/table/giantCellspacing-expected.png.
  • fast/table/giantCellspacing-expected.txt: Renamed from LayoutTests/platform/efl/fast/table/giantCellspacing-expected.txt.
  • fast/table/giantRowspan-expected.txt: Renamed from LayoutTests/platform/efl/fast/table/giantRowspan-expected.txt.
  • fast/table/giantRowspan2-expected.txt: Renamed from LayoutTests/platform/mac/fast/table/giantRowspan2-expected.txt.
  • fast/table/percent-widths-stretch-vertical-expected.png: Renamed from LayoutTests/platform/efl/fast/table/percent-widths-stretch-vertical-expected.png.
  • fast/table/table-before-child-style-update-expected.png: Renamed from LayoutTests/platform/efl/fast/table/table-before-child-style-update-expected.png.
  • fast/table/table-row-before-child-style-update-expected.png: Renamed from LayoutTests/platform/efl/fast/table/table-row-before-child-style-update-expected.png.
  • fast/table/table-row-style-not-updated-expected.png: Renamed from LayoutTests/platform/efl/fast/table/table-row-style-not-updated-expected.png.
  • fast/table/table-row-style-not-updated-with-after-content-expected.png: Renamed from LayoutTests/platform/efl/fast/table/table-row-style-not-updated-with-after-content-expected.png.
  • fast/table/table-row-style-not-updated-with-before-content-expected.png: Renamed from LayoutTests/platform/efl/fast/table/table-row-style-not-updated-with-before-content-expected.png.
  • fast/table/table-style-not-updated-expected.png: Renamed from LayoutTests/platform/efl/fast/table/table-style-not-updated-expected.png.
  • fast/table/vertical-align-baseline-readjust-expected.png: Renamed from LayoutTests/platform/efl/fast/table/vertical-align-baseline-readjust-expected.png.
  • platform/gtk/fast/table/022-expected.txt: Removed.
  • platform/gtk/fast/table/024-expected.png: Removed.
  • platform/gtk/fast/table/031-expected.png: Removed.
  • platform/gtk/fast/table/032-expected.png: Removed.
  • platform/gtk/fast/table/034-expected.txt: Removed.
  • platform/gtk/fast/table/auto-100-percent-width-expected.png: Removed.
  • platform/gtk/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.png: Removed.
  • platform/gtk/fast/table/div-as-col-span-expected.png: Removed.
  • platform/gtk/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.txt: Removed.
  • platform/gtk/fast/table/giantCellspacing-expected.png: Removed.
  • platform/gtk/fast/table/giantCellspacing-expected.txt: Removed.
  • platform/gtk/fast/table/giantRowspan-expected.txt: Removed.
  • platform/gtk/fast/table/percent-widths-stretch-vertical-expected.png: Removed.
  • platform/gtk/fast/table/table-before-child-style-update-expected.png: Removed.
  • platform/gtk/fast/table/table-row-before-child-style-update-expected.png: Removed.
  • platform/gtk/fast/table/table-row-style-not-updated-expected.png: Removed.
  • platform/gtk/fast/table/table-row-style-not-updated-with-after-content-expected.png: Removed.
  • platform/gtk/fast/table/table-row-style-not-updated-with-before-content-expected.png: Removed.
  • platform/gtk/fast/table/table-style-not-updated-expected.png: Removed.
  • platform/gtk/fast/table/vertical-align-baseline-readjust-expected.png: Removed.
  • platform/mac/fast/table/022-expected.txt: Removed.
  • platform/mac/fast/table/giantCellspacing-expected.txt: Removed.
  • platform/mac/fast/table/giantRowspan-expected.txt: Removed.
  • platform/win/fast/table/giantRowspan-expected.txt: Removed.
  • platform/win/fast/table/giantRowspan2-expected.txt: Removed.
12:41 PM Changeset in webkit [158538] by mitz@apple.com
  • 4 edits in trunk/Source/WebKit2

[Cocoa] Wrappers' -copyWithZone: should copy if the collection is mutable
https://bugs.webkit.org/show_bug.cgi?id=123707

Reviewed by Geoff Garen.

  • Shared/Cocoa/WKNSArray.mm:

(-[WKNSArray copyWithZone:]): If the array is mutable, make a copy.

  • Shared/Cocoa/WKNSDictionary.mm:

(-[WKNSDictionary copyWithZone:]): If the dictionary is mutable, make a copy.

  • Shared/ImmutableArray.h:

(WebKit::ImmutableArray::entries): Added this accessor.

12:19 PM Changeset in webkit [158537] by Antti Koivisto
  • 5 edits in trunk/Source/WebCore

Switch createContextualFragment to element iterator
https://bugs.webkit.org/show_bug.cgi?id=123704

Reviewed by Andreas Kling.

  • editing/FrameSelection.cpp:

(WebCore::scanForForm):

Use type helpers instead of hasTagName

  • editing/markup.cpp:

(WebCore::collectElementsToRemoveFromFragment):
(WebCore::removeElementFromFragmentPreservingChildren):
(WebCore::createContextualFragment):

  • html/HTMLFormElement.cpp:

(WebCore::HTMLFormElement::formElementIndex):

Use type helpers instead of hasTagName

  • html/HTMLTagNames.in:


Generate type helpers for <html>.

11:52 AM Changeset in webkit [158536] by Antti Koivisto
  • 11 edits in trunk/Source/WebCore

ChildNodeList should not be LiveNodeList
https://bugs.webkit.org/show_bug.cgi?id=123708

Reviewed by Sam Weinig.

ChildNodeList is a poor fit to be a LiveNodeList. It is heavily special-cased. It is also
the only subtype that returns non-Elements thus preventing tightening.

  • bindings/js/JSNodeListCustom.cpp:

(WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):

Support new types.

  • dom/ChildNodeList.cpp:

(WebCore::EmptyNodeList::~EmptyNodeList):
(WebCore::ChildNodeList::ChildNodeList):
(WebCore::ChildNodeList::~ChildNodeList):
(WebCore::ChildNodeList::length):
(WebCore::childFromFirst):
(WebCore::childFromLast):
(WebCore::ChildNodeList::nodeBeforeCached):
(WebCore::ChildNodeList::nodeAfterCached):
(WebCore::ChildNodeList::item):
(WebCore::ChildNodeList::namedItem):
(WebCore::ChildNodeList::invalidateCache):

Implement the same caching optimizations as LiveNodeList with tighter, less generic code.

  • dom/ChildNodeList.h:


Inherit ChildNodeList directly from NodeList.

Add new EmptyNodeList type. This is only ever used if NodeList is requested for a non-container node.
It allows tighter typing in ChildNodeList.

  • dom/LiveNodeList.cpp:

(WebCore::LiveNodeList::namedItem):

  • dom/LiveNodeList.h:

(WebCore::LiveNodeListBase::LiveNodeListBase):
(WebCore::LiveNodeListBase::~LiveNodeListBase):
(WebCore::LiveNodeList::LiveNodeList):

Remove ChildNodeList specific code and branches.

  • dom/Node.cpp:

(WebCore::Node::childNodes):

Return EmptyNodeList for non-containers.

  • dom/NodeList.h:

(WebCore::NodeList::~NodeList):
(WebCore::NodeList::isLiveNodeList):
(WebCore::NodeList::isChildNodeList):
(WebCore::NodeList::isEmptyNodeList):

For isReachableFromOpaqueRoots.

  • dom/NodeRareData.h:

(WebCore::NodeListsNodeData::ensureChildNodeList):
(WebCore::NodeListsNodeData::removeChildNodeList):
(WebCore::NodeListsNodeData::ensureEmptyChildNodeList):
(WebCore::NodeListsNodeData::removeEmptyChildNodeList):
(WebCore::NodeListsNodeData::NodeListsNodeData):
(WebCore::NodeListsNodeData::deleteThisAndUpdateNodeRareDataIfAboutToRemoveLastList):

EmptyNodeList support.

  • html/CollectionType.h:
  • html/HTMLCollection.cpp:

(WebCore::shouldOnlyIncludeDirectChildren):
(WebCore::rootTypeFromCollectionType):
(WebCore::invalidationTypeExcludingIdAndNameAttributes):
(WebCore::isMatchingElement):
(WebCore::LiveNodeListBase::itemBefore):
(WebCore::LiveNodeListBase::traverseLiveNodeListFirstElement):
(WebCore::LiveNodeListBase::traverseLiveNodeListForwardToOffset):
(WebCore::LiveNodeListBase::item):
(WebCore::LiveNodeListBase::itemBeforeOrAfterCachedItem):

Remove ChildNodeList specific code and branches.

10:24 AM Changeset in webkit [158535] by fpizlo@apple.com
  • 14 edits in trunk/Source/JavaScriptCore

FTL should use LLVM intrinsics for OSR exit, watchpoints, inline caches, and stack layout
https://bugs.webkit.org/show_bug.cgi?id=122318

Reviewed by Geoffrey Garen.

This all now works. This patch just updates our implementation to work with LLVM trunk,
and removes all of the old code that tried to do OSR exits and heap accesses without
the benefit of those intrinsics.

In particular:

  • StackMaps parsing now uses the new, less compact, but more future-proof, format.


  • Remove the ftlUsesStackmaps() option and hard-code ftlUsesStackmaps = true. Remove all code for ftlUsesStackmaps = false, since that was only there for back when we didn't have the intrinsics.


  • Remove the other experimental OSR options (useLLVMOSRExitIntrinsic, ftlTrapsOnOSRExit, and FTLOSRExitOmitsMarshalling).


  • Remove LowerDFGToLLVM's use of the ExitThunkGenerator since we don't need to generate the exit thunks until after we parse the stackmaps.


  • Remove all of the exit thunk and compiler code for the no-stackmaps case.
  • dfg/DFGDriver.cpp:

(JSC::DFG::compileImpl):

  • ftl/FTLCompile.cpp:

(JSC::FTL::mmAllocateDataSection):

  • ftl/FTLExitThunkGenerator.cpp:

(JSC::FTL::ExitThunkGenerator::emitThunk):

  • ftl/FTLIntrinsicRepository.h:
  • ftl/FTLLocation.cpp:

(JSC::FTL::Location::forStackmaps):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::LowerDFGToLLVM):
(JSC::FTL::LowerDFGToLLVM::lower):
(JSC::FTL::LowerDFGToLLVM::compileGetById):
(JSC::FTL::LowerDFGToLLVM::compileInvalidationPoint):
(JSC::FTL::LowerDFGToLLVM::appendOSRExit):
(JSC::FTL::LowerDFGToLLVM::emitOSRExitCall):
(JSC::FTL::LowerDFGToLLVM::callStackmap):
(JSC::FTL::LowerDFGToLLVM::addExitArgumentForNode):

  • ftl/FTLOSRExitCompilationInfo.h:

(JSC::FTL::OSRExitCompilationInfo::OSRExitCompilationInfo):

  • ftl/FTLOSRExitCompiler.cpp:

(JSC::FTL::compileStub):
(JSC::FTL::compileFTLOSRExit):

  • ftl/FTLStackMaps.cpp:

(JSC::FTL::StackMaps::Location::parse):
(JSC::FTL::StackMaps::parse):
(WTF::printInternal):

  • ftl/FTLStackMaps.h:
  • ftl/FTLThunks.cpp:

(JSC::FTL::osrExitGenerationThunkGenerator):

  • ftl/FTLThunks.h:

(JSC::FTL::Thunks::getOSRExitGenerationThunk):

  • runtime/Options.h:
9:51 AM Changeset in webkit [158534] by Patrick Gansterer
  • 2 edits in trunk/Tools

Add test for ListHashSet::removeLast()
https://bugs.webkit.org/show_bug.cgi?id=121810

Reviewed by Anders Carlsson.

  • TestWebKitAPI/Tests/WTF/ListHashSet.cpp:

(TestWebKitAPI::TEST):

9:48 AM Changeset in webkit [158533] by Patrick Gansterer
  • 10 edits in trunk/Source

[WINCE] Replace OwnPtr with GDIObject
https://bugs.webkit.org/show_bug.cgi?id=123670

Reviewed by Anders Carlsson.

Source/WebCore:

  • page/win/FrameGdiWin.cpp:

(WebCore::imageFromRect):

  • platform/graphics/wince/FontPlatformData.cpp:

(WebCore::FixedSizeFontData::create):
(WebCore::FontPlatformData::hfont):
(WebCore::FontPlatformData::getScaledFontHandle):

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::createPen):
(WebCore::createBrush):
(WebCore::GraphicsContext::drawRect):
(WebCore::GraphicsContext::drawLine):
(WebCore::GraphicsContext::drawEllipse):
(WebCore::GraphicsContext::drawConvexPolygon):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::clip):
(WebCore::GraphicsContext::strokeRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::drawRoundCorner):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::drawText):

  • platform/graphics/wince/ImageWinCE.cpp:

(WebCore::BitmapImage::getHBITMAPOfSize):

  • platform/graphics/wince/SharedBitmap.cpp:

(WebCore::SharedBitmap::createHandle):
(WebCore::SharedBitmap::draw):
(WebCore::SharedBitmap::clipBitmap):
(WebCore::drawPatternSimple):
(WebCore::SharedBitmap::drawPattern):
(WebCore::SharedBitmap::DCProvider::getDC):

  • platform/graphics/wince/SharedBitmap.h:

Source/WebKit/wince:

  • WebView.cpp:

(WebView::paint):
(WebView::handlePaint):

  • WebView.h:
6:55 AM Changeset in webkit [158532] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL][WK1] Some tests of editing/selection fail to render properly
https://bugs.webkit.org/show_bug.cgi?id=117574

Unreviewed, EFL gardening.

These tests are passed in wk1(and wk2), but skipped in wk1.
These tests have been reviewed since those are added.
Now these tests are operating properly, so those need to update the test expectations.
Also 'editing/selection/caret-and-focus-ring.html' is already changed a reason of failure by Bug no.123696

Patch by Sun-woo Nam <sunny.nam@samsung.com> on 2013-11-03

  • platform/efl-wk1/TestExpectations:
3:19 AM Changeset in webkit [158531] by akling@apple.com
  • 1 edit
    36 moves
    30 deletes in trunk/LayoutTests

Optimize baselines: fast/text

Unreviewed; run "webkit-patch optimize-baselines fast/text"

  • fast/text/decorations-transformed-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/decorations-transformed-expected.txt.
  • fast/text/fixed-pitch-control-characters-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/fixed-pitch-control-characters-expected.txt.
  • fast/text/international/001-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/international/001-expected.txt.
  • fast/text/international/vertical-text-glyph-test-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/international/vertical-text-glyph-test-expected.txt.
  • fast/text/international/vertical-text-metrics-test-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/international/vertical-text-metrics-test-expected.txt.
  • fast/text/international/wrap-CJK-001-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/international/wrap-CJK-001-expected.txt.
  • fast/text/justify-ideograph-complex-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/justify-ideograph-complex-expected.txt.
  • fast/text/justify-ideograph-simple-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/justify-ideograph-simple-expected.txt.
  • fast/text/justify-ideograph-vertical-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/justify-ideograph-vertical-expected.txt.
  • fast/text/selection-painted-separately-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/selection-painted-separately-expected.txt.
  • fast/text/soft-hyphen-2-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/soft-hyphen-2-expected.txt.
  • fast/text/soft-hyphen-3-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/soft-hyphen-3-expected.txt.
  • fast/text/stripNullFromText-expected.png: Renamed from LayoutTests/platform/efl/fast/text/stripNullFromText-expected.png.
  • fast/text/updateNewFont-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/updateNewFont-expected.txt.
  • fast/text/whitespace/001-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/whitespace/001-expected.txt.
  • fast/text/whitespace/013-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/whitespace/013-expected.txt.
  • fast/text/whitespace/014-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/whitespace/014-expected.txt.
  • fast/text/whitespace/017-expected.png: Renamed from LayoutTests/platform/efl/fast/text/whitespace/017-expected.png.
  • fast/text/whitespace/017-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/whitespace/017-expected.txt.
  • fast/text/whitespace/029-expected.png: Renamed from LayoutTests/platform/efl/fast/text/whitespace/029-expected.png.
  • fast/text/whitespace/029-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/whitespace/029-expected.txt.
  • fast/text/whitespace/pre-newline-box-test-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/whitespace/pre-newline-box-test-expected.txt.
  • fast/text/whitespace/tab-character-basics-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/whitespace/tab-character-basics-expected.txt.
  • platform/efl-wk1/fast/text/complex-text-opacity-expected.png: Renamed from LayoutTests/platform/efl/fast/text/complex-text-opacity-expected.png.
  • platform/efl-wk1/fast/text/complex-text-opacity-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/complex-text-opacity-expected.txt.
  • platform/efl-wk1/fast/text/international/bidi-layout-across-linebreak-expected.png: Renamed from LayoutTests/platform/efl/fast/text/international/bidi-layout-across-linebreak-expected.png.
  • platform/efl-wk1/fast/text/international/bidi-layout-across-linebreak-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/international/bidi-layout-across-linebreak-expected.txt.
  • platform/efl-wk2/fast/text/atsui-pointtooffset-calls-cg-expected.png: Renamed from LayoutTests/platform/efl/fast/text/atsui-pointtooffset-calls-cg-expected.png.
  • platform/efl-wk2/fast/text/atsui-rtl-override-selection-expected.png: Renamed from LayoutTests/platform/efl/fast/text/atsui-rtl-override-selection-expected.png.
  • platform/efl-wk2/fast/text/atsui-small-caps-punctuation-size-expected.png: Renamed from LayoutTests/platform/efl/fast/text/atsui-small-caps-punctuation-size-expected.png.
  • platform/efl-wk2/fast/text/hyphenate-character-expected.png: Renamed from LayoutTests/platform/efl/fast/text/hyphenate-character-expected.png.
  • platform/efl-wk2/fast/text/hyphenate-first-word-expected.png: Renamed from LayoutTests/platform/efl/fast/text/hyphenate-first-word-expected.png.
  • platform/efl-wk2/fast/text/hyphenate-limit-before-after-expected.png: Renamed from LayoutTests/platform/efl/fast/text/hyphenate-limit-before-after-expected.png.
  • platform/efl-wk2/fast/text/hyphenate-limit-lines-expected.png: Renamed from LayoutTests/platform/efl/fast/text/hyphenate-limit-lines-expected.png.
  • platform/efl-wk2/fast/text/hyphens-expected.png: Renamed from LayoutTests/platform/efl/fast/text/hyphens-expected.png.
  • platform/efl-wk2/fast/text/midword-break-before-surrogate-pair-2-expected.png: Renamed from LayoutTests/platform/efl/fast/text/midword-break-before-surrogate-pair-2-expected.png.
  • platform/gtk/fast/text/decorations-transformed-expected.txt: Removed.
  • platform/gtk/fast/text/fixed-pitch-control-characters-expected.txt: Removed.
  • platform/gtk/fast/text/international/001-expected.txt: Removed.
  • platform/gtk/fast/text/international/vertical-text-glyph-test-expected.txt: Removed.
  • platform/gtk/fast/text/international/vertical-text-metrics-test-expected.txt: Removed.
  • platform/gtk/fast/text/international/wrap-CJK-001-expected.txt: Removed.
  • platform/gtk/fast/text/justify-ideograph-complex-expected.txt: Removed.
  • platform/gtk/fast/text/justify-ideograph-simple-expected.txt: Removed.
  • platform/gtk/fast/text/justify-ideograph-vertical-expected.txt: Removed.
  • platform/gtk/fast/text/selection-painted-separately-expected.txt: Removed.
  • platform/gtk/fast/text/soft-hyphen-2-expected.txt: Removed.
  • platform/gtk/fast/text/soft-hyphen-3-expected.txt: Removed.
  • platform/gtk/fast/text/stripNullFromText-expected.png: Removed.
  • platform/gtk/fast/text/updateNewFont-expected.txt: Removed.
  • platform/gtk/fast/text/whitespace/001-expected.txt: Removed.
  • platform/gtk/fast/text/whitespace/017-expected.png: Removed.
  • platform/gtk/fast/text/whitespace/017-expected.txt: Removed.
  • platform/gtk/fast/text/whitespace/029-expected.png: Removed.
  • platform/gtk/fast/text/whitespace/029-expected.txt: Removed.
  • platform/gtk/fast/text/whitespace/pre-newline-box-test-expected.txt: Removed.
  • platform/gtk/fast/text/whitespace/tab-character-basics-expected.txt: Removed.
  • platform/mac/fast/text/decorations-transformed-expected.txt: Removed.
  • platform/mac/fast/text/fixed-pitch-control-characters-expected.txt: Removed.
  • platform/mac/fast/text/selection-painted-separately-expected.txt: Removed.
  • platform/mac/fast/text/soft-hyphen-2-expected.txt: Removed.
  • platform/mac/fast/text/soft-hyphen-3-expected.txt: Removed.
  • platform/mac/fast/text/whitespace/001-expected.txt: Removed.
  • platform/mac/fast/text/whitespace/013-expected.txt: Removed.
  • platform/mac/fast/text/whitespace/014-expected.txt: Removed.
  • platform/mac/fast/text/whitespace/017-expected.txt: Removed.
3:13 AM Changeset in webkit [158530] by Antti Koivisto
  • 5 edits in trunk/Source/WebCore

Add helpers for partial descendant traversal to element iterators
https://bugs.webkit.org/show_bug.cgi?id=123703

Reviewed by Andreas Kling.

  • dom/ElementAncestorIterator.h:

(WebCore::lineageOfType):

lineageOfType definition didn't match the declaration.

  • dom/ElementDescendantIterator.h:

(WebCore::::find):
(WebCore::::from):

Add find and from for getting begin iterator for partial traversals.

  • editing/FrameSelection.cpp:

(WebCore::scanForForm):
(WebCore::FrameSelection::currentForm):

  • html/HTMLFormElement.cpp:

(WebCore::HTMLFormElement::formElementIndex):
(WebCore::HTMLFormElement::findClosestFormAncestor):

Use them in a few places.

1:54 AM Changeset in webkit [158529] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

Inline RenderStyle functions for getting/setting pseudo style bits.
<https://webkit.org/b/123702>

hasPseudoStyle() actually shows up on html5-full-render.html,
and it's pretty crazy to eat the cost of a function call just
to do some basic bit twiddling.

Reviewed by Antti Koivisto.

1:41 AM Changeset in webkit [158528] by akling@apple.com
  • 1 edit
    8 moves
    1 add
    5 deletes in trunk/LayoutTests

Optimize baselines: fast/canvas

Unreviewed; run "webkit-patch optimize-baselines fast/canvas"

  • fast/canvas/canvas-empty-image-pattern-expected.png: Renamed from LayoutTests/platform/efl/fast/canvas/canvas-empty-image-pattern-expected.png.
  • fast/canvas/canvas-incremental-repaint-2-expected.png: Renamed from LayoutTests/platform/efl/fast/canvas/canvas-incremental-repaint-2-expected.png.
  • fast/canvas/canvas-render-layer-expected.png: Renamed from LayoutTests/platform/efl/fast/canvas/canvas-render-layer-expected.png.
  • fast/canvas/set-colors-expected.txt: Renamed from LayoutTests/platform/efl/fast/canvas/set-colors-expected.txt.
  • platform/gtk/fast/canvas/canvas-empty-image-pattern-expected.png: Removed.
  • platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.png: Removed.
  • platform/gtk/fast/canvas/canvas-render-layer-expected.png: Removed.
  • platform/gtk/fast/canvas/set-colors-expected.txt: Removed.
  • platform/win-7sp0/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Renamed from LayoutTests/platform/win/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt.
  • platform/win-7sp0/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Renamed from LayoutTests/platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt.
  • platform/win-7sp0/fast/canvas/canvas-render-layer-expected.txt: Renamed from LayoutTests/platform/win/fast/canvas/canvas-render-layer-expected.txt.
  • platform/win-7sp0/fast/canvas/canvas-strokeRect-alpha-shadow-expected.txt: Renamed from LayoutTests/platform/win/fast/canvas/canvas-strokeRect-alpha-shadow-expected.txt.
  • platform/win-xp/fast/canvas/set-colors-expected.txt: Removed.
1:30 AM Changeset in webkit [158527] by calvaris@igalia.com
  • 77 edits
    2 deletes in trunk

Remove HTMLMediaElement.initialTime
https://bugs.webkit.org/show_bug.cgi?id=123572

Reviewed by Eric Carlson.

Source/WebCore:

Patch based on one by: philipj@opera.com
Blink review URL: https://codereview.chromium.org/35033002

initialTime has been removed from the HTMLMediaElement.

  • bindings/gobject/WebKitDOMCustom.cpp:

(webkit_dom_html_media_element_get_initial_time):

  • bindings/gobject/WebKitDOMCustom.h:
  • bindings/gobject/WebKitDOMCustom.symbols: Added phony function.
  • html/HTMLMediaElement.cpp:
  • html/HTMLMediaElement.h:
  • html/HTMLMediaElement.idl: Removed HTMLMediaElement::initialTime.

LayoutTests:

Blink review URL: https://codereview.chromium.org/35033002

Removed presence of initialTime in the tests.

  • media/media-fragments/TC0001-expected.txt:
  • media/media-fragments/TC0002-expected.txt:
  • media/media-fragments/TC0003-expected.txt:
  • media/media-fragments/TC0004-expected.txt:
  • media/media-fragments/TC0005-expected.txt:
  • media/media-fragments/TC0006-expected.txt:
  • media/media-fragments/TC0009-expected.txt:
  • media/media-fragments/TC0011-expected.txt:
  • media/media-fragments/TC0012-expected.txt:
  • media/media-fragments/TC0014-expected.txt:
  • media/media-fragments/TC0015-expected.txt:
  • media/media-fragments/TC0017-expected.txt:
  • media/media-fragments/TC0024-expected.txt:
  • media/media-fragments/TC0027-expected.txt:
  • media/media-fragments/TC0028-expected.txt:
  • media/media-fragments/TC0029-expected.txt:
  • media/media-fragments/TC0030-expected.txt:
  • media/media-fragments/TC0031-expected.txt:
  • media/media-fragments/TC0032-expected.txt:
  • media/media-fragments/TC0033-expected.txt:
  • media/media-fragments/TC0034-expected.txt:
  • media/media-fragments/TC0035-expected.txt:
  • media/media-fragments/TC0036-expected.txt:
  • media/media-fragments/TC0037-expected.txt:
  • media/media-fragments/TC0038-expected.txt:
  • media/media-fragments/TC0039-expected.txt:
  • media/media-fragments/TC0044-expected.txt:
  • media/media-fragments/TC0051-expected.txt:
  • media/media-fragments/TC0052-expected.txt:
  • media/media-fragments/TC0053-expected.txt:
  • media/media-fragments/TC0054-expected.txt:
  • media/media-fragments/TC0055-expected.txt:
  • media/media-fragments/TC0058-expected.txt:
  • media/media-fragments/TC0059-expected.txt:
  • media/media-fragments/TC0061-expected.txt:
  • media/media-fragments/TC0062-expected.txt:
  • media/media-fragments/TC0063-expected.txt:
  • media/media-fragments/TC0064-expected.txt:
  • media/media-fragments/TC0065-expected.txt:
  • media/media-fragments/TC0066-expected.txt:
  • media/media-fragments/TC0067-expected.txt:
  • media/media-fragments/TC0068-expected.txt:
  • media/media-fragments/TC0069-expected.txt:
  • media/media-fragments/TC0070-expected.txt:
  • media/media-fragments/TC0071-expected.txt:
  • media/media-fragments/TC0072-expected.txt:
  • media/media-fragments/TC0073-expected.txt:
  • media/media-fragments/TC0074-expected.txt:
  • media/media-fragments/TC0075-expected.txt:
  • media/media-fragments/TC0076-expected.txt:
  • media/media-fragments/TC0077-expected.txt:
  • media/media-fragments/TC0078-expected.txt:
  • media/media-fragments/TC0079-expected.txt:
  • media/media-fragments/TC0080-expected.txt:
  • media/media-fragments/TC0081-expected.txt:
  • media/media-fragments/TC0082-expected.txt:
  • media/media-fragments/TC0083-expected.txt:
  • media/media-fragments/TC0084-expected.txt:
  • media/media-fragments/TC0085-expected.txt:
  • media/media-fragments/TC0086-expected.txt:
  • media/media-fragments/TC0087-expected.txt:
  • media/media-fragments/TC0088-expected.txt:
  • media/media-fragments/TC0089-expected.txt:
  • media/media-fragments/TC0090-expected.txt:
  • media/media-fragments/TC0091-expected.txt:
  • media/media-fragments/TC0092-expected.txt:
  • media/media-fragments/TC0093-expected.txt:
  • media/media-fragments/TC0094-expected.txt:
  • media/media-fragments/media-fragments.js:

(canplaythrough): Removed check for initialTime

  • media/media-initialTime-expected.txt: Removed.
  • media/media-initialTime.html: Removed.

Nov 2, 2013:

11:58 PM Changeset in webkit [158526] by ap@apple.com
  • 17 edits
    2 copies
    4 adds in trunk

Implement generateKey for HMAC and AES-CBC
https://bugs.webkit.org/show_bug.cgi?id=123669

Reviewed by Dan Bernstein.

Source/WebCore:

Tests: crypto/subtle/aes-cbc-generate-key.html

crypto/subtle/hmac-generate-key.html

  • WebCore.xcodeproj/project.pbxproj: Added new files.
  • bindings/js/JSCryptoAlgorithmDictionary.cpp:

(WebCore::createAesKeyGenParams): Added bindings for AesKeyGenParams.
(WebCore::JSCryptoAlgorithmDictionary::createParametersForGenerateKey): Handle
algorithms that generate AES and HMAC keys.

  • bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::JSSubtleCrypto::generateKey): Added.
  • crypto/CryptoAlgorithmAesKeyGenParams.h: Added.
  • crypto/CryptoKey.cpp: (WebCore::CryptoKey::randomData):
  • crypto/CryptoKey.h:
  • crypto/CryptoKeyMac.cpp: Added

Expose a function that produces random data for symmetric crypto keys. Cross-platform
implementation uses ARC4 code from WTF, while Mac uses a system function that
provides a FIPS validated random number generator.

  • crypto/CryptoKeyAES.cpp: (WebCore::CryptoKeyAES::generate):
  • crypto/CryptoKeyAES.h:

Added a function that creates AES keys.

  • crypto/SubtleCrypto.idl: Added generateKey.
  • crypto/algorithms/CryptoAlgorithmAES_CBC.cpp:

(WebCore::CryptoAlgorithmAES_CBC::generateKey): Added.

  • crypto/algorithms/CryptoAlgorithmHMAC.cpp:

(WebCore::CryptoAlgorithmHMAC::generateKey): Added.

  • crypto/keys/CryptoKeyHMAC.cpp: (WebCore::CryptoKeyHMAC::generate):
  • crypto/keys/CryptoKeyHMAC.h:

Added a function that creates HMAC keys.

  • crypto/mac/CryptoAlgorithmAES_CBCMac.cpp: Removed generateKey stub, the implementation

ended up in cross-platform file.

  • crypto/mac/CryptoAlgorithmHMACMac.cpp: Ditto.

LayoutTests:

  • crypto/subtle/aes-cbc-generate-key-expected.txt: Added.
  • crypto/subtle/aes-cbc-generate-key.html: Added.
  • crypto/subtle/hmac-generate-key-expected.txt: Added.
  • crypto/subtle/hmac-generate-key.html: Added.
  • crypto/subtle/sha-1-expected.txt: Now that crypto.webkitSubtle.generateKey exists,

a different exception is raised.

11:50 PM Changeset in webkit [158525] by akling@apple.com
  • 1 edit
    35 moves
    2 adds
    39 deletes in trunk/LayoutTests

Optimize baselines: css3

Unreviewed; run "webkit-patch optimize-baselines css3"

  • css3/images/cross-fade-background-size-expected.txt: Renamed from LayoutTests/platform/efl/css3/images/cross-fade-background-size-expected.txt.
  • css3/images/cross-fade-blending-expected.png: Renamed from LayoutTests/platform/efl/css3/images/cross-fade-blending-expected.png.
  • css3/images/cross-fade-blending-expected.txt: Renamed from LayoutTests/platform/efl/css3/images/cross-fade-blending-expected.txt.
  • css3/images/cross-fade-invalidation-expected.txt: Renamed from LayoutTests/platform/efl/css3/images/cross-fade-invalidation-expected.txt.
  • css3/images/cross-fade-simple-expected.txt: Renamed from LayoutTests/platform/efl/css3/images/cross-fade-simple-expected.txt.
  • css3/images/cross-fade-sizing-expected.txt: Renamed from LayoutTests/platform/efl/css3/images/cross-fade-sizing-expected.txt.
  • css3/images/cross-fade-tiled-expected.txt: Renamed from LayoutTests/platform/efl/css3/images/cross-fade-tiled-expected.txt.
  • css3/selectors3/html/css3-modsel-17-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/html/css3-modsel-17-expected.png.
  • css3/selectors3/html/css3-modsel-177a-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/html/css3-modsel-177a-expected.png.
  • css3/selectors3/html/css3-modsel-18c-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/html/css3-modsel-18c-expected.png.
  • css3/selectors3/html/css3-modsel-27a-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/html/css3-modsel-27a-expected.png.
  • css3/selectors3/html/css3-modsel-27b-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/html/css3-modsel-27b-expected.png.
  • css3/selectors3/html/css3-modsel-61-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/html/css3-modsel-61-expected.png.
  • css3/selectors3/xhtml/css3-modsel-123b-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-123b-expected.png.
  • css3/selectors3/xhtml/css3-modsel-17-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-17-expected.png.
  • css3/selectors3/xhtml/css3-modsel-177a-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-177a-expected.png.
  • css3/selectors3/xhtml/css3-modsel-18c-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-18c-expected.png.
  • css3/selectors3/xhtml/css3-modsel-27a-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-27a-expected.png.
  • css3/selectors3/xhtml/css3-modsel-27b-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-27b-expected.png.
  • css3/selectors3/xhtml/css3-modsel-61-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-61-expected.png.
  • css3/selectors3/xhtml/css3-modsel-91-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-91-expected.png.
  • css3/selectors3/xhtml/css3-modsel-92-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xhtml/css3-modsel-92-expected.png.
  • css3/selectors3/xml/css3-modsel-123b-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-123b-expected.png.
  • css3/selectors3/xml/css3-modsel-167-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-167-expected.png.
  • css3/selectors3/xml/css3-modsel-167a-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-167a-expected.png.
  • css3/selectors3/xml/css3-modsel-17-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-17-expected.png.
  • css3/selectors3/xml/css3-modsel-177a-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-177a-expected.png.
  • css3/selectors3/xml/css3-modsel-18c-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-18c-expected.png.
  • css3/selectors3/xml/css3-modsel-27a-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-27a-expected.png.
  • css3/selectors3/xml/css3-modsel-27b-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-27b-expected.png.
  • css3/selectors3/xml/css3-modsel-61-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-61-expected.png.
  • css3/selectors3/xml/css3-modsel-91-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-91-expected.png.
  • css3/selectors3/xml/css3-modsel-92-expected.png: Renamed from LayoutTests/platform/efl/css3/selectors3/xml/css3-modsel-92-expected.png.
  • platform/efl-wk1/css3/flexbox/flexbox-baseline-expected.png: Renamed from LayoutTests/platform/efl/css3/flexbox/flexbox-baseline-expected.png.
  • platform/efl-wk1/css3/flexbox/flexbox-baseline-expected.txt: Renamed from LayoutTests/platform/efl/css3/flexbox/flexbox-baseline-expected.txt.
  • platform/gtk/css3/images/cross-fade-blending-expected.png: Removed.
  • platform/gtk/css3/images/cross-fade-blending-expected.txt: Removed.
  • platform/gtk/css3/images/cross-fade-invalidation-expected.txt: Removed.
  • platform/gtk/css3/images/cross-fade-simple-expected.txt: Removed.
  • platform/gtk/css3/images/cross-fade-sizing-expected.txt: Removed.
  • platform/gtk/css3/images/cross-fade-tiled-expected.txt: Removed.
  • platform/gtk/css3/selectors3/html/css3-modsel-17-expected.png: Removed.
  • platform/gtk/css3/selectors3/html/css3-modsel-177a-expected.png: Removed.
  • platform/gtk/css3/selectors3/html/css3-modsel-18c-expected.png: Removed.
  • platform/gtk/css3/selectors3/html/css3-modsel-27a-expected.png: Removed.
  • platform/gtk/css3/selectors3/html/css3-modsel-27b-expected.png: Removed.
  • platform/gtk/css3/selectors3/html/css3-modsel-61-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-123b-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-17-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-177a-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-18c-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-27a-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-27b-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-61-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-91-expected.png: Removed.
  • platform/gtk/css3/selectors3/xhtml/css3-modsel-92-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-123b-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-167-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-167a-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-17-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-177a-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-18c-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-27a-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-27b-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-61-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-91-expected.png: Removed.
  • platform/gtk/css3/selectors3/xml/css3-modsel-92-expected.png: Removed.
  • platform/mac/css3/images/cross-fade-background-size-expected.txt: Removed.
  • platform/mac/css3/images/cross-fade-blending-expected.txt: Removed.
  • platform/mac/css3/images/cross-fade-invalidation-expected.txt: Removed.
  • platform/mac/css3/images/cross-fade-simple-expected.txt: Removed.
  • platform/mac/css3/images/cross-fade-sizing-expected.txt: Removed.
  • platform/mac/css3/images/cross-fade-tiled-expected.txt: Removed.
  • platform/win/css3/filters/effect-reference-expected.txt: Removed.
  • platform/win/css3/filters/effect-reference-hw-expected.txt: Removed.
11:25 PM Changeset in webkit [158524] by akling@apple.com
  • 1 edit
    72 moves
    73 deletes in trunk/LayoutTests

Optimize baselines: css2.1

Unreviewed; run "webkit-patch optimize-baselines css2.1"

  • css2.1/20110323/absolute-replaced-height-036-expected.png: Renamed from LayoutTests/platform/efl/css2.1/20110323/absolute-replaced-height-036-expected.png.
  • css2.1/20110323/block-non-replaced-height-011-expected.png: Renamed from LayoutTests/platform/efl/css2.1/20110323/block-non-replaced-height-011-expected.png.
  • css2.1/20110323/block-non-replaced-height-013-expected.png: Renamed from LayoutTests/platform/efl/css2.1/20110323/block-non-replaced-height-013-expected.png.
  • css2.1/20110323/empty-inline-001-expected.png: Renamed from LayoutTests/platform/efl/css2.1/20110323/empty-inline-001-expected.png.
  • css2.1/20110323/replaced-intrinsic-002-expected.png: Renamed from LayoutTests/platform/efl/css2.1/20110323/replaced-intrinsic-002-expected.png.
  • css2.1/20110323/replaced-intrinsic-002-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/20110323/replaced-intrinsic-002-expected.txt.
  • css2.1/20110323/replaced-intrinsic-ratio-001-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/20110323/replaced-intrinsic-ratio-001-expected.txt.
  • css2.1/t040105-atkeyw-00-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atkeyw-00-b-expected.png.
  • css2.1/t040105-atkeyw-01-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atkeyw-01-b-expected.png.
  • css2.1/t040105-atkeyw-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atkeyw-02-b-expected.png.
  • css2.1/t040105-atrule-00-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atrule-00-b-expected.png.
  • css2.1/t040105-atrule-01-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atrule-01-b-expected.png.
  • css2.1/t040105-atrule-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atrule-02-b-expected.png.
  • css2.1/t040105-atrule-03-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atrule-03-b-expected.png.
  • css2.1/t040105-atrule-04-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-atrule-04-b-expected.png.
  • css2.1/t040105-import-00-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-import-00-b-expected.png.
  • css2.1/t040105-import-01-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-import-01-b-expected.png.
  • css2.1/t040105-import-10-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040105-import-10-b-expected.png.
  • css2.1/t0402-syntax-01-f-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0402-syntax-01-f-expected.png.
  • css2.1/t0402-syntax-02-f-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0402-syntax-02-f-expected.png.
  • css2.1/t0402-syntax-03-f-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0402-syntax-03-f-expected.png.
  • css2.1/t0402-syntax-04-f-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0402-syntax-04-f-expected.png.
  • css2.1/t0402-syntax-05-f-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0402-syntax-05-f-expected.png.
  • css2.1/t0402-syntax-06-f-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0402-syntax-06-f-expected.png.
  • css2.1/t040307-syntax-01-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t040307-syntax-01-b-expected.png.
  • css2.1/t0505-c16-descendant-02-e-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0505-c16-descendant-02-e-expected.png.
  • css2.1/t0509-id-sel-syntax-01-f-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0509-id-sel-syntax-01-f-expected.png.
  • css2.1/t0509-id-sel-syntax-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0509-id-sel-syntax-02-b-expected.png.
  • css2.1/t0511-c21-pseud-link-00-e-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0511-c21-pseud-link-00-e-expected.png.
  • css2.1/t0511-c21-pseud-link-01-e-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0511-c21-pseud-link-01-e-expected.png.
  • css2.1/t0511-c21-pseud-link-02-e-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0511-c21-pseud-link-02-e-expected.png.
  • css2.1/t0511-c21-pseud-link-03-e-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0511-c21-pseud-link-03-e-expected.png.
  • css2.1/t051103-c21-focus-ln-00-e-i-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t051103-c21-focus-ln-00-e-i-expected.png.
  • css2.1/t051103-c21-hover-ln-00-e-i-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t051103-c21-hover-ln-00-e-i-expected.png.
  • css2.1/t0803-c5504-mrgn-l-02-c-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0803-c5504-mrgn-l-02-c-expected.png.
  • css2.1/t0805-c5511-brdr-tw-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0805-c5511-brdr-tw-02-b-expected.png.
  • css2.1/t0805-c5512-brdr-rw-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0805-c5512-brdr-rw-02-b-expected.png.
  • css2.1/t0805-c5513-brdr-bw-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0805-c5513-brdr-bw-02-b-expected.png.
  • css2.1/t0805-c5514-brdr-lw-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0805-c5514-brdr-lw-02-b-expected.png.
  • css2.1/t0805-c5515-brdr-w-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t0805-c5515-brdr-w-02-b-expected.png.
  • css2.1/t1001-abs-pos-cb-01-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-01-b-expected.png.
  • css2.1/t1001-abs-pos-cb-01-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-01-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-02-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-02-b-expected.png.
  • css2.1/t1001-abs-pos-cb-02-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-02-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-03-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-03-b-expected.png.
  • css2.1/t1001-abs-pos-cb-03-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-03-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-04-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-04-b-expected.png.
  • css2.1/t1001-abs-pos-cb-04-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-04-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-05-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-05-b-expected.png.
  • css2.1/t1001-abs-pos-cb-05-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-05-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-06-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-06-b-expected.png.
  • css2.1/t1001-abs-pos-cb-06-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-06-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-07-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-07-b-expected.png.
  • css2.1/t1001-abs-pos-cb-07-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-07-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-08-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-08-b-expected.png.
  • css2.1/t1001-abs-pos-cb-08-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-08-b-expected.txt.
  • css2.1/t1001-abs-pos-cb-09-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-09-b-expected.png.
  • css2.1/t1001-abs-pos-cb-09-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1001-abs-pos-cb-09-b-expected.txt.
  • css2.1/t1205-c566-list-stl-01-c-g-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1205-c566-list-stl-01-c-g-expected.txt.
  • css2.1/t140201-c532-bgcolor-01-b-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t140201-c532-bgcolor-01-b-expected.png.
  • css2.1/t140201-c533-bgimage-01-b-g-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t140201-c533-bgimage-01-b-g-expected.png.
  • css2.1/t140201-c536-bgpos-01-b-ag-expected.png: Renamed from LayoutTests/platform/efl/css2.1/t140201-c536-bgpos-01-b-ag-expected.png.
  • css2.1/t1508-c527-font-00-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-00-b-expected.txt.
  • css2.1/t1508-c527-font-01-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-01-b-expected.txt.
  • css2.1/t1508-c527-font-02-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-02-b-expected.txt.
  • css2.1/t1508-c527-font-03-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-03-b-expected.txt.
  • css2.1/t1508-c527-font-04-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-04-b-expected.txt.
  • css2.1/t1508-c527-font-05-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-05-b-expected.txt.
  • css2.1/t1508-c527-font-07-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-07-b-expected.txt.
  • css2.1/t1508-c527-font-08-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-08-b-expected.txt.
  • css2.1/t1508-c527-font-09-b-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-09-b-expected.txt.
  • css2.1/t1508-c527-font-10-c-expected.txt: Renamed from LayoutTests/platform/efl/css2.1/t1508-c527-font-10-c-expected.txt.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-036-expected.png: Removed.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-011-expected.png: Removed.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-013-expected.png: Removed.
  • platform/gtk/css2.1/20110323/empty-inline-001-expected.png: Removed.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-002-expected.png: Removed.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-002-expected.txt: Removed.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-ratio-001-expected.txt: Removed.
  • platform/gtk/css2.1/t040105-atkeyw-00-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-atkeyw-01-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-atkeyw-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-atrule-00-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-atrule-01-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-atrule-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-atrule-03-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-atrule-04-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-import-00-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-import-01-b-expected.png: Removed.
  • platform/gtk/css2.1/t040105-import-10-b-expected.png: Removed.
  • platform/gtk/css2.1/t0402-syntax-01-f-expected.png: Removed.
  • platform/gtk/css2.1/t0402-syntax-02-f-expected.png: Removed.
  • platform/gtk/css2.1/t0402-syntax-03-f-expected.png: Removed.
  • platform/gtk/css2.1/t0402-syntax-04-f-expected.png: Removed.
  • platform/gtk/css2.1/t0402-syntax-05-f-expected.png: Removed.
  • platform/gtk/css2.1/t0402-syntax-06-f-expected.png: Removed.
  • platform/gtk/css2.1/t040307-syntax-01-b-expected.png: Removed.
  • platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.png: Removed.
  • platform/gtk/css2.1/t0509-id-sel-syntax-01-f-expected.png: Removed.
  • platform/gtk/css2.1/t0509-id-sel-syntax-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t0511-c21-pseud-link-00-e-expected.png: Removed.
  • platform/gtk/css2.1/t0511-c21-pseud-link-01-e-expected.png: Removed.
  • platform/gtk/css2.1/t0511-c21-pseud-link-02-e-expected.png: Removed.
  • platform/gtk/css2.1/t0511-c21-pseud-link-03-e-expected.png: Removed.
  • platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.png: Removed.
  • platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.png: Removed.
  • platform/gtk/css2.1/t0803-c5504-mrgn-l-02-c-expected.png: Removed.
  • platform/gtk/css2.1/t0805-c5511-brdr-tw-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t0805-c5512-brdr-rw-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t0805-c5513-brdr-bw-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t0805-c5514-brdr-lw-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t0805-c5515-brdr-w-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-01-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-01-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-02-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-02-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-03-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-03-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-04-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-04-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-05-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-05-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-06-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-06-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-07-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-07-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-08-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-08-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-09-b-expected.png: Removed.
  • platform/gtk/css2.1/t1001-abs-pos-cb-09-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1205-c566-list-stl-01-c-g-expected.txt: Removed.
  • platform/gtk/css2.1/t140201-c532-bgcolor-01-b-expected.png: Removed.
  • platform/gtk/css2.1/t140201-c533-bgimage-01-b-g-expected.png: Removed.
  • platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.png: Removed.
  • platform/gtk/css2.1/t1508-c527-font-00-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-01-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-02-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-03-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-04-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-05-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-07-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-08-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-09-b-expected.txt: Removed.
  • platform/gtk/css2.1/t1508-c527-font-10-c-expected.txt: Removed.
  • platform/mac/css2.1/t1508-c527-font-00-b-expected.txt: Removed.
11:04 PM Changeset in webkit [158523] by akling@apple.com
  • 1 edit
    14 moves
    2 adds
    12 deletes in trunk/LayoutTests

Optimize baselines: fast/dom

Unreviewed; run "webkit-patch optimize-baselines fast/dom"

  • fast/dom/HTMLHeadElement/textInHead1-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/HTMLHeadElement/textInHead1-expected.txt.
  • fast/dom/HTMLHeadElement/textInHead2-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/HTMLHeadElement/textInHead2-expected.txt.
  • fast/dom/HTMLHeadElement/textInHead3-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/HTMLHeadElement/textInHead3-expected.txt.
  • fast/dom/HTMLHeadElement/textInHead4-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/HTMLHeadElement/textInHead4-expected.txt.
  • fast/dom/HTMLHeadElement/textInHead5-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/HTMLHeadElement/textInHead5-expected.txt.
  • fast/dom/HTMLMeterElement/meter-element-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/HTMLMeterElement/meter-element-expected.txt.
  • fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt.
  • fast/dom/anchor-text-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/anchor-text-expected.txt.
  • fast/dom/comment-not-documentElement-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/comment-not-documentElement-expected.txt.
  • fast/dom/delete-contents-expected.png: Renamed from LayoutTests/platform/efl/fast/dom/delete-contents-expected.png.
  • fast/dom/scroll-reveal-left-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/scroll-reveal-left-overflow-expected.txt.
  • fast/dom/scroll-reveal-top-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/dom/scroll-reveal-top-overflow-expected.txt.
  • platform/gtk/fast/dom/HTMLHeadElement/textInHead1-expected.txt: Removed.
  • platform/gtk/fast/dom/HTMLHeadElement/textInHead2-expected.txt: Removed.
  • platform/gtk/fast/dom/HTMLHeadElement/textInHead3-expected.txt: Removed.
  • platform/gtk/fast/dom/HTMLHeadElement/textInHead4-expected.txt: Removed.
  • platform/gtk/fast/dom/HTMLHeadElement/textInHead5-expected.txt: Removed.
  • platform/gtk/fast/dom/HTMLMeterElement/meter-element-expected.txt: Removed.
  • platform/gtk/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Removed.
  • platform/gtk/fast/dom/anchor-text-expected.txt: Removed.
  • platform/gtk/fast/dom/comment-not-documentElement-expected.txt: Removed.
  • platform/gtk/fast/dom/delete-contents-expected.png: Removed.
  • platform/gtk/fast/dom/scroll-reveal-left-overflow-expected.txt: Removed.
  • platform/gtk/fast/dom/scroll-reveal-top-overflow-expected.txt: Removed.
  • platform/win-7sp0/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Renamed from LayoutTests/platform/win/fast/dom/horizontal-scrollbar-in-rtl-expected.txt.
  • platform/win-7sp0/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Renamed from LayoutTests/platform/win/fast/dom/vertical-scrollbar-in-rtl-expected.txt.
10:35 PM Changeset in webkit [158522] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/LayoutTests

Unreviewed, EFL gardening. Add missing baselines to EFL wk1 TestExpectation.

  • platform/efl-wk1/TestExpectations: Need to add new baseline since upgrading base OS.
9:13 PM Changeset in webkit [158521] by ch.dumez@samsung.com
  • 13 edits in trunk

EnforceRange doesn't enforce range of a short
https://bugs.webkit.org/show_bug.cgi?id=123661

Reviewed by Alexey Proskuryakov.

Source/WebCore:

Handle Web IDL short / unsigned short types as per the
specification:

Specifically, we used to treat short / unsigned short as 32bit
integers, which was wrong. We now properly handle them as 16bit
integers.

No new tests, added test cases to js/dom/webidl-type-mapping.html.

  • WebCore.exp.in:
  • bindings/js/JSDOMBinding.cpp:

(WebCore::toSmallerInt):
(WebCore::toSmallerUInt):
(WebCore::toInt8):
(WebCore::toUInt8):
(WebCore::toInt16):
(WebCore::toUInt16):

  • bindings/js/JSDOMBinding.h:
  • bindings/scripts/CodeGeneratorJS.pm:

(JSValueToNative):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore::setJSTestObjShortAttr):
(WebCore::setJSTestObjUnsignedShortAttr):

  • testing/TypeConversions.h:

(WebCore::TypeConversions::testShort):
(WebCore::TypeConversions::setTestShort):
(WebCore::TypeConversions::testEnforceRangeShort):
(WebCore::TypeConversions::setTestEnforceRangeShort):
(WebCore::TypeConversions::testUnsignedShort):
(WebCore::TypeConversions::setTestUnsignedShort):
(WebCore::TypeConversions::testEnforceRangeUnsignedShort):
(WebCore::TypeConversions::setTestEnforceRangeUnsignedShort):

  • testing/TypeConversions.idl:

Source/WebKit:

Export symbols to fix Windows build.

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

LayoutTests:

Extend js/dom/webidl-type-mapping.html layout test to validate
Web IDL type mapping for short / unsigned short.

  • js/dom/webidl-type-mapping-expected.txt:
  • js/dom/webidl-type-mapping.html:
8:25 PM Changeset in webkit [158520] by Patrick Gansterer
  • 2 edits in trunk/Source/WTF

Fix compilation of DateMath.cpp with MSVC
https://bugs.webkit.org/show_bug.cgi?id=123680

Reviewed by Darin Adler.

  • wtf/DateMath.cpp:

(WTF::appendTwoDigitNumber): Help the compiler finding the
correct overload by casting the characters to LChar.

8:24 PM Changeset in webkit [158519] by Patrick Gansterer
  • 6 edits in trunk/Source/WebCore

Cleanup OpenTypeUtilities
https://bugs.webkit.org/show_bug.cgi?id=123686

Reviewed by Darin Adler.

Merge the WinCE specific code into the general Windows code to
make the compilation of WinCE port on WinNT easier.

  • platform/graphics/opentype/OpenTypeUtilities.cpp:

(WebCore::renameFont):
(WebCore::renameAndActivateFont):

  • platform/graphics/opentype/OpenTypeUtilities.h:
  • platform/graphics/win/FontCustomPlatformData.cpp:

(WebCore::createFontCustomPlatformData):

  • platform/graphics/win/FontCustomPlatformDataCairo.cpp:

(WebCore::createFontCustomPlatformData):

  • platform/graphics/wince/FontCustomPlatformData.cpp:

(WebCore::createFontCustomPlatformData):

8:19 PM Changeset in webkit [158518] by Patrick Gansterer
  • 2 edits in trunk/Source/JavaScriptCore

Add missing getHostCallReturnValue() for MSVC ARM
https://bugs.webkit.org/show_bug.cgi?id=123685

Reviewed by Darin Adler.

  • jit/JITStubsARM.h:
8:18 PM Changeset in webkit [158517] by akling@apple.com
  • 1 edit
    26 moves
    34 deletes in trunk/LayoutTests

Optimize baselines: fast/css

Unreviewed; run "webkit-patch optimize-baselines fast/css"

  • fast/css/background-image-with-baseurl-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/background-image-with-baseurl-expected.txt.
  • fast/css/caption-width-absolute-position-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/caption-width-absolute-position-expected.txt.
  • fast/css/caption-width-absolute-position-offset-top-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/caption-width-absolute-position-offset-top-expected.txt.
  • fast/css/caption-width-fixed-position-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/caption-width-fixed-position-expected.txt.
  • fast/css/caption-width-fixed-position-offset-top-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/caption-width-fixed-position-offset-top-expected.txt.
  • fast/css/caption-width-relative-position-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/caption-width-relative-position-expected.txt.
  • fast/css/caption-width-relative-position-offset-top-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/caption-width-relative-position-offset-top-expected.txt.
  • fast/css/font-face-default-font-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/font-face-default-font-expected.txt.
  • fast/css/font-face-in-media-rule-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/font-face-in-media-rule-expected.txt.
  • fast/css/font-size-negative-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/font-size-negative-expected.txt.
  • fast/css/imageTileOpacity-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/imageTileOpacity-expected.txt.
  • fast/css/import_with_baseurl-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/import_with_baseurl-expected.txt.
  • fast/css/line-height-determined-by-primary-font-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/line-height-determined-by-primary-font-expected.txt.
  • fast/css/line-height-font-order-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/line-height-font-order-expected.txt.
  • fast/css/line-height-negative-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/line-height-negative-expected.txt.
  • fast/css/max-height-none-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/max-height-none-expected.txt.
  • fast/css/min-width-with-spanned-cell-expected.png: Renamed from LayoutTests/platform/efl/fast/css/min-width-with-spanned-cell-expected.png.
  • fast/css/min-width-with-spanned-cell-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/min-width-with-spanned-cell-expected.txt.
  • fast/css/min-width-with-spanned-cell-fixed-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/min-width-with-spanned-cell-fixed-expected.txt.
  • fast/css/pseudo-first-line-border-width-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/pseudo-first-line-border-width-expected.txt.
  • fast/css/replaced-element-implicit-size-expected.png: Renamed from LayoutTests/platform/efl/fast/css/replaced-element-implicit-size-expected.png.
  • fast/css/vertical-align-lengths-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/vertical-align-lengths-expected.txt.
  • fast/css/visibility-hit-test-expected.txt: Renamed from LayoutTests/platform/efl/fast/css/visibility-hit-test-expected.txt.
  • platform/efl-wk2/fast/css/font-smoothing-expected.png: Renamed from LayoutTests/platform/efl/fast/css/font-smoothing-expected.png.
  • platform/efl-wk2/fast/css/font-weight-1-expected.png: Renamed from LayoutTests/platform/efl/fast/css/font-weight-1-expected.png.
  • platform/efl-wk2/fast/css/input-search-padding-expected.png: Renamed from LayoutTests/platform/efl/fast/css/input-search-padding-expected.png.
  • platform/gtk/fast/css/background-image-with-baseurl-expected.txt: Removed.
  • platform/gtk/fast/css/caption-width-absolute-position-expected.txt: Removed.
  • platform/gtk/fast/css/caption-width-absolute-position-offset-top-expected.txt: Removed.
  • platform/gtk/fast/css/caption-width-fixed-position-expected.txt: Removed.
  • platform/gtk/fast/css/caption-width-fixed-position-offset-top-expected.txt: Removed.
  • platform/gtk/fast/css/caption-width-relative-position-expected.txt: Removed.
  • platform/gtk/fast/css/caption-width-relative-position-offset-top-expected.txt: Removed.
  • platform/gtk/fast/css/font-face-in-media-rule-expected.txt: Removed.
  • platform/gtk/fast/css/font-size-negative-expected.txt: Removed.
  • platform/gtk/fast/css/imageTileOpacity-expected.txt: Removed.
  • platform/gtk/fast/css/import_with_baseurl-expected.txt: Removed.
  • platform/gtk/fast/css/line-height-determined-by-primary-font-expected.txt: Removed.
  • platform/gtk/fast/css/line-height-font-order-expected.txt: Removed.
  • platform/gtk/fast/css/line-height-negative-expected.txt: Removed.
  • platform/gtk/fast/css/max-height-none-expected.txt: Removed.
  • platform/gtk/fast/css/min-width-with-spanned-cell-expected.png: Removed.
  • platform/gtk/fast/css/min-width-with-spanned-cell-expected.txt: Removed.
  • platform/gtk/fast/css/min-width-with-spanned-cell-fixed-expected.txt: Removed.
  • platform/gtk/fast/css/pseudo-first-line-border-width-expected.txt: Removed.
  • platform/gtk/fast/css/replaced-element-implicit-size-expected.png: Removed.
  • platform/gtk/fast/css/vertical-align-lengths-expected.txt: Removed.
  • platform/gtk/fast/css/visibility-hit-test-expected.txt: Removed.
  • platform/mac/fast/css/caption-width-absolute-position-expected.txt: Removed.
  • platform/mac/fast/css/caption-width-absolute-position-offset-top-expected.txt: Removed.
  • platform/mac/fast/css/caption-width-fixed-position-expected.txt: Removed.
  • platform/mac/fast/css/caption-width-fixed-position-offset-top-expected.txt: Removed.
  • platform/mac/fast/css/caption-width-relative-position-expected.txt: Removed.
  • platform/mac/fast/css/caption-width-relative-position-offset-top-expected.txt: Removed.
  • platform/mac/fast/css/font-face-default-font-expected.txt: Removed.
  • platform/mac/fast/css/font-face-in-media-rule-expected.txt: Removed.
  • platform/mac/fast/css/min-width-with-spanned-cell-expected.txt: Removed.
  • platform/mac/fast/css/min-width-with-spanned-cell-fixed-expected.txt: Removed.
  • platform/mac/fast/css/pseudo-first-line-border-width-expected.txt: Removed.
  • platform/win/fast/css/zoom-body-scroll-expected.txt: Removed.
8:16 PM Changeset in webkit [158516] by Patrick Gansterer
  • 2 edits in trunk/Source/JavaScriptCore

Fix MSVC warning about unary minus operator
https://bugs.webkit.org/show_bug.cgi?id=123674

Reviewed by Darin Adler.

Change some static_cast<> to silence the following warning of Microsoft compiler:
warning C4146: unary minus operator applied to unsigned type, result still unsigned

  • jit/Repatch.cpp:

(JSC::emitPutTransitionStub):

7:36 PM Changeset in webkit [158515] by akling@apple.com
  • 7 edits in trunk/Source/WebCore

CSSFontFaceSrcValue constructors should return PassRef.
<https://webkit.org/b/123692>

Make functions that return non-null CSSFontFaceSrcValues return
PassRef instead of PassRefPtr. Tweak some call sites to be
slightly more efficient.

Reviewed by Anders Carlsson.

7:33 PM Changeset in webkit [158514] by akling@apple.com
  • 17 edits in trunk/Source/WebCore

CSSStyleSheet::contents() should return a reference.
<https://webkit.org/b/123689>

Make CSSStyleSheet::contents() return a StyleSheetContents& instead
of a pointer. The object was already stored in a Ref.

Reviewed by Anders Carlsson.

7:14 PM Changeset in webkit [158513] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

CSSReflectValue constructor should return PassRef.
<https://webkit.org/b/123963>

Make CSSReflectValue::create() return a PassRef. Tweak one call
site to be slightly more efficient.

Reviewed by Anders Carlsson.

7:12 PM Changeset in webkit [158512] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

CSSFontFeatureValue constructor should return PassRef.
<https://webkit.org/b/123691>

Make CSSFontFeatureValue::create() return PassRef, since it never
returns null. Tweak one call site to be slightly more efficient.

Reviewed by Anders Carlsson.

7:04 PM Changeset in webkit [158511] by akling@apple.com
  • 4 edits in trunk/Source/WebCore

Tighten typing in SVGResources::buildCachedResources().
<https://webkit.org/b/123690>

Make this function take a RenderElement&/SVGRenderStyle& pair instead
of a RenderObject*/SVGRenderStyle* pair. Also tweaked the code a bit,
removing ampersands and asserts as appropriate.

Reviewed by Anders Carlsson.

6:47 PM Changeset in webkit [158510] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Disable LLVM's pretty stack traces, which involve intercepting fatal signals
https://bugs.webkit.org/show_bug.cgi?id=123681

Reviewed by Geoffrey Garen.

  • llvm/library/LLVMExports.cpp:

(initializeAndGetJSCLLVMAPI):

6:33 PM Changeset in webkit [158509] by fpizlo@apple.com
  • 10 edits
    1 add in trunk

LLVM assertion failures should funnel into WTF's crash handling
https://bugs.webkit.org/show_bug.cgi?id=123682

Source/JavaScriptCore:

Reviewed by Geoffrey Garen.

Inside llvmForJSC, we override assertion-related functions and funnel them
into g_llvmTrapCallback(). We also now register a fatal error handler inside
the library and funnel that into g_llvmTrapCallback, and have
initializeAndGetJSCLLVMAPI() take such a callback as an argument.

Inside JSC, we no longer call LLVMInstallFatalErrorHandler() but instead we
pass WTFLogAlwaysAndCrash() as the trap callback for llvmForJSC.

  • llvm/InitializeLLVM.cpp:

(JSC::initializeLLVM):

  • llvm/InitializeLLVMPOSIX.cpp:

(JSC::initializeLLVMPOSIX):

  • llvm/library/LLVMExports.cpp:

(llvmCrash):
(initializeAndGetJSCLLVMAPI):

  • llvm/library/LLVMOverrides.cpp:

(raise):
(assert_rtn):
(abort):

  • llvm/library/LLVMTrapCallback.h: Added.

Source/WTF:

Reviewed by Geoffrey Garen.

Give JSC some new toys to play with for crash handling.

  • wtf/Assertions.cpp:
  • wtf/Assertions.h:

Tools:

Reviewed by Geoffrey Garen.

Need to disable LLVM's crash overrides so that we can do our own crash overrides.

  • Scripts/configure-llvm:
6:30 PM Changeset in webkit [158508] by fpizlo@apple.com
  • 3 edits in trunk/WebKitLibraries

Unreviewed, update binary drops.

These include my LLVMDisablePrettyStackTrace() fix and are built with --enable-crash-overrides=no

  • LLVMIncludesMountainLion.tar.bz2:
  • LLVMLibrariesMountainLion.tar.bz2:
5:32 PM Changeset in webkit [158507] by fpizlo@apple.com
  • 4 edits in trunk/Source/JavaScriptCore

CodeBlock::jettison() shouldn't call baselineVersion()
https://bugs.webkit.org/show_bug.cgi?id=123675

Reviewed by Geoffrey Garen.

Fix more uses of baselineVersion().

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::jettison):

  • bytecode/CodeBlock.h:
  • bytecode/ProfiledCodeBlockJettisoningWatchpoint.cpp:

(JSC::ProfiledCodeBlockJettisoningWatchpoint::fireInternal):

5:29 PM Changeset in webkit [158506] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

LLVM asserts in internal-js-tests.yaml/Octane/stress-tests/mandreel.js
https://bugs.webkit.org/show_bug.cgi?id=123535

Reviewed by Geoffrey Garen.

Use double comparisons for doubles.

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::doubleToInt32):

4:56 PM Changeset in webkit [158505] by akling@apple.com
  • 6 edits in trunk/Source/WebCore

CSSImageValue constructors should return PassRef.
<https://webkit.org/b/123688>

Make the CSSImageValue::create() helpers return PassRef.
Tightened call sites to avoid null checks and destructor calls.

Reviewed by Anders Carlsson.

3:17 PM Changeset in webkit [158504] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

Fix compilation of SynchronousLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=123676

Reviewed by Darin Adler.

Assign a ResourceRequest varibale an empty ResourceRequest instead of 0.
The current solution only works for ports which can create a
ResourceRequest from a pointer, which might not be true for all ports.

  • platform/network/SynchronousLoaderClient.cpp:

(WebCore::SynchronousLoaderClient::willSendRequest):

2:59 PM Changeset in webkit [158503] by Patrick Gansterer
  • 2 edits in trunk

[WINCE] Disable export macros
https://bugs.webkit.org/show_bug.cgi?id=123679

Reviewed by Darin Adler.

Avoid useless exports by turning of the export macros
since the WinCE port works as a static library only.

  • Source/cmake/OptionsWinCE.cmake:
2:58 PM Changeset in webkit [158502] by Patrick Gansterer
  • 3 edits in trunk/Source/WebCore

Port LoggingWin.cpp to WinCE
https://bugs.webkit.org/show_bug.cgi?id=123678

Reviewed by Darin Adler.

This makes it easier to use a common list of files
for the different Windows ports later.

  • PlatformWin.cmake:
  • platform/win/LoggingWin.cpp:

(WebCore::logLevelString):

2:56 PM Changeset in webkit [158501] by Patrick Gansterer
  • 14 edits in trunk/Source/WebKit/wince

Add OVERRIDE keyword to WebCoreSupport classes
https://bugs.webkit.org/show_bug.cgi?id=123672

Reviewed by Darin Adler.

Also align the function parameters with the base classes
and remove useless functions.

  • WebCoreSupport/ChromeClientWinCE.cpp:
  • WebCoreSupport/ChromeClientWinCE.h:
  • WebCoreSupport/ContextMenuClientWinCE.cpp:
  • WebCoreSupport/ContextMenuClientWinCE.h:
  • WebCoreSupport/DragClientWinCE.cpp:

(WebKit::DragClientWinCE::willPerformDragDestinationAction):
(WebKit::DragClientWinCE::willPerformDragSourceAction):
(WebKit::DragClientWinCE::actionMaskForDrag):
(WebKit::DragClientWinCE::startDrag):

  • WebCoreSupport/DragClientWinCE.h:
  • WebCoreSupport/EditorClientWinCE.h:
  • WebCoreSupport/FrameLoaderClientWinCE.cpp:

(WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForResponse):
(WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForNewWindowAction):
(WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForNavigationAction):
(WebKit::FrameLoaderClientWinCE::dispatchWillSubmitForm):

  • WebCoreSupport/FrameLoaderClientWinCE.h:
  • WebCoreSupport/FrameNetworkingContextWinCE.h:
  • WebCoreSupport/InspectorClientWinCE.cpp:
  • WebCoreSupport/InspectorClientWinCE.h:
  • WebCoreSupport/PlatformStrategiesWinCE.h:
2:56 PM Changeset in webkit [158500] by mitz@apple.com
  • 4 edits in trunk/Source/WebKit2

[Cocoa] Wrappers mishandle NULL values in arrays and dictionaries
https://bugs.webkit.org/show_bug.cgi?id=123671

Reviewed by Darin Adler.

  • Shared/Cocoa/WKNSArray.mm:

(-[WKNSArray objectAtIndex:]): Represent a NULL object as NSNull.

  • Shared/Cocoa/WKNSDictionary.mm:

(-[WKNSDictionary objectForKey:]): Represent a NULL value as NSNull.

  • Shared/ImmutableDictionary.h:

(WebKit::ImmutableDictionary::get): Added this overload that returns whether the key exists.

2:47 PM Changeset in webkit [158499] by Patrick Gansterer
  • 8 edits in trunk/Source

Fix UnicodeWchar after r157330.
https://bugs.webkit.org/show_bug.cgi?id=123668

Reviewed by Darin Adler.

Source/WebCore:

  • editing/TextIterator.cpp:

(WebCore::SearchBuffer::append):

  • platform/graphics/wince/FontWinCE.cpp:

(WebCore::generateComponents):

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::GraphicsContext::drawText):

  • platform/text/wchar/TextBreakIteratorWchar.cpp:

(WebCore::isCharStop):
(WebCore::isLineStop):
(WebCore::isSentenceStop):
(WebCore::WordBreakIterator::next):
(WebCore::WordBreakIterator::previous):

Source/WTF:

  • wtf/unicode/wchar/UnicodeWchar.cpp:

(unorm_normalize):
(u_strFoldCase):
(u_strToLower):
(u_strToUpper):

  • wtf/unicode/wchar/UnicodeWchar.h:

(u_foldCase):
(u_isprint):
(u_isspace):

2:18 PM Changeset in webkit [158498] by akling@apple.com
  • 7 edits in trunk/Source

Make remaining StringImpl functions return PassRef.
<https://webkit.org/b/123683>

Okay, this seems to work well! Let's go all in and convert the
remaining StringImpl functions to return PassRef<StringImpl> instead
of PassRefPtr where we know that null is never returned.

Reviewed by Anders Carlsson.

2:18 PM Changeset in webkit [158497] by akling@apple.com
  • 8 edits in trunk/Source/WebCore

Use RenderChildIterator in a couple of places.
<https://webkit.org/b/123684>

Added isRendererOfType() for RenderBox and RenderBlock and switch
some loops over to using childrenOfType<>. Also sprinkled const
and references on touched code.

Reviewed by Antti Koivisto.

2:03 PM Changeset in webkit [158496] by zandobersek@gmail.com
  • 3 edits in trunk/Source/WebCore

Manage FileReaderLoader through std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=123666

Reviewed by Anders Carlsson.

Construct FileReaderLoader objects through std::make_unique and store them in std::unique_ptr.

  • fileapi/FileReader.cpp:

(WebCore::FileReader::readInternal):

  • fileapi/FileReader.h:
12:51 PM Changeset in webkit [158495] by akling@apple.com
  • 10 edits
    2 adds in trunk/Source/WebCore

Add a child renderer iterator.
<https://webkit.org/b/123662>

Introduce an ElementIterator-style iterator for renderers and put
it to use in a childrenOfType() implementation.

It's used just like the Element iterators:

auto sections = childrenOfType<RenderTableSection>(*this);
for (auto section = sections.begin(), section = sections.end(); section != sections.end(); ++section)

section->thisOrThat();

Just like the DOM counterpart, it relies on a templatized helper:

bool isRendererOfType<T>(const RenderObject&)

This patch puts the iterator to use in a couple of random places.

Reviewed by Antti Koivisto.

11:19 AM Changeset in webkit [158494] by ap@apple.com
  • 4 edits
    12 copies
    8 adds in trunk

Implement remaining SHA variations for WebCrypto
https://bugs.webkit.org/show_bug.cgi?id=123659

Reviewed by Anders Carlsson.

Source/WebCore:

Tests: crypto/subtle/sha-224.html

crypto/subtle/sha-256.html
crypto/subtle/sha-384.html
crypto/subtle/sha-512.html

  • WebCore.xcodeproj/project.pbxproj:
  • crypto/algorithms/CryptoAlgorithmSHA224.cpp: Added.

(WebCore::CryptoAlgorithmSHA224::CryptoAlgorithmSHA224):
(WebCore::CryptoAlgorithmSHA224::~CryptoAlgorithmSHA224):
(WebCore::CryptoAlgorithmSHA224::create):
(WebCore::CryptoAlgorithmSHA224::identifier):

  • crypto/algorithms/CryptoAlgorithmSHA224.h: Added.
  • crypto/algorithms/CryptoAlgorithmSHA256.cpp: Added.

(WebCore::CryptoAlgorithmSHA256::CryptoAlgorithmSHA256):
(WebCore::CryptoAlgorithmSHA256::~CryptoAlgorithmSHA256):
(WebCore::CryptoAlgorithmSHA256::create):
(WebCore::CryptoAlgorithmSHA256::identifier):

  • crypto/algorithms/CryptoAlgorithmSHA256.h: Added.
  • crypto/algorithms/CryptoAlgorithmSHA384.cpp: Added.

(WebCore::CryptoAlgorithmSHA384::CryptoAlgorithmSHA384):
(WebCore::CryptoAlgorithmSHA384::~CryptoAlgorithmSHA384):
(WebCore::CryptoAlgorithmSHA384::create):
(WebCore::CryptoAlgorithmSHA384::identifier):

  • crypto/algorithms/CryptoAlgorithmSHA384.h: Added.
  • crypto/algorithms/CryptoAlgorithmSHA512.cpp: Added.

(WebCore::CryptoAlgorithmSHA512::CryptoAlgorithmSHA512):
(WebCore::CryptoAlgorithmSHA512::~CryptoAlgorithmSHA512):
(WebCore::CryptoAlgorithmSHA512::create):
(WebCore::CryptoAlgorithmSHA512::identifier):

  • crypto/algorithms/CryptoAlgorithmSHA512.h: Added.
  • crypto/mac/CryptoAlgorithmRegistryMac.cpp:

(WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms):

  • crypto/mac/CryptoAlgorithmSHA224Mac.cpp: Added.

(WebCore::CryptoAlgorithmSHA224::digest):

  • crypto/mac/CryptoAlgorithmSHA256Mac.cpp: Added.

(WebCore::CryptoAlgorithmSHA256::digest):

  • crypto/mac/CryptoAlgorithmSHA384Mac.cpp: Added.

(WebCore::CryptoAlgorithmSHA384::digest):

  • crypto/mac/CryptoAlgorithmSHA512Mac.cpp: Added.

(WebCore::CryptoAlgorithmSHA512::digest):

LayoutTests:

  • crypto/subtle/sha-224-expected.txt: Added.
  • crypto/subtle/sha-224.html: Added.
  • crypto/subtle/sha-256-expected.txt: Added.
  • crypto/subtle/sha-256.html: Added.
  • crypto/subtle/sha-384-expected.txt: Added.
  • crypto/subtle/sha-384.html: Added.
  • crypto/subtle/sha-512-expected.txt: Added.
  • crypto/subtle/sha-512.html: Added.
10:54 AM Changeset in webkit [158493] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit2

Fixed release builds.

  • Shared/Cocoa/WKNSDictionary.mm:

(-[WKNSDictionary initWithObjects:forKeys:count:]):

10:33 AM Changeset in webkit [158492] by Patrick Gansterer
  • 12 edits in trunk/Source

Various small WinCE build fixes

Source/JavaScriptCore:

  • jsc.cpp:

(main):

Source/WebCore:

  • editing/TextIterator.cpp:

(WebCore::SearchBuffer::append):

  • platform/graphics/BitmapImage.h:
  • platform/graphics/wince/ImageWinCE.cpp:

(WebCore::BitmapImage::getHBITMAPOfSize):
(WebCore::BitmapImage::drawFrameMatchingSourceSize):

  • platform/graphics/wince/PlatformPathWinCE.h:
  • platform/win/PopupMenuWin.h:
  • rendering/RenderThemeWinCE.cpp:

(WebCore::RenderThemeWinCE::adjustMenuListButtonStyle):

Source/WebKit/wince:

  • WebCoreSupport/FrameLoaderClientWinCE.cpp:

(WebKit::FrameLoaderClientWinCE::transitionToCommittedForNewPage):

  • WebView.cpp:
10:26 AM Changeset in webkit [158491] by Patrick Gansterer
  • 2 edits in trunk/Source/JavaScriptCore

Fix MSVC ARM build after r157581.

  • jit/JITStubsARM.h:
9:59 AM Changeset in webkit [158490] by akling@apple.com
  • 3 edits in trunk/Source/WTF

StringImpl::upper() should return PassRef.
<https://webkit.org/b/123655>

Make upper() return PassRef<StringImpl>. Spotted and removed some
ref churning in implementations.

Reviewed by Darin Adler.

9:42 AM Changeset in webkit [158489] by mitz@apple.com
  • 3 edits
    2 adds in trunk/Source/WebKit2

[Cocoa] Add WKNSDictionary
https://bugs.webkit.org/show_bug.cgi?id=123660

Reviewed by Anders Carlsson.

  • Shared/Cocoa/APIObject.mm:

(WebKit::APIObject::newObject): Allocate a WKNSDictionary if the APIObject is a dictionary.

  • Shared/Cocoa/WKNSDictionary.h: Added.

(WebKit::wrapper): Added. Returns an ImmutableDictionary’s wrapper as an NSDictionary.

  • Shared/Cocoa/WKNSDictionary.mm: Added.

(-[WKNSDictionary dealloc]): Calls the ImmutableDictionary destructor.
(-[WKNSDictionary count]): Added.
(-[WKNSDictionary objectForKey:]): Added.
(-[WKNSDictionary keyEnumerator]): Added.
(-[WKNSDictionary copyWithZone:]): Retains self.
(-[WKNSDictionary _apiObject]): Returns the wrapped ImmutableDictionary.

  • WebKit2.xcodeproj/project.pbxproj: Added references to new files.
9:04 AM Changeset in webkit [158488] by timothy_horton@apple.com
  • 3 edits in trunk/Source/WebKit2

Address some review comments noted in r158463
https://bugs.webkit.org/show_bug.cgi?id=123646

Reviewed by Darin Adler.

  • Shared/mac/RemoteLayerBackingStore.mm:

Put our has_include ifs all on one line.

(createIOSurface):
IOSurfaceAlignProperty returns size_t, not unsigned long.

(RemoteLayerBackingStore::display):
(RemoteLayerBackingStore::drawInContext):
Create the frontImage in display() and hand it to drawInContext().

Use the GraphicsContext API instead of CG itself for clearRect().

When using ShareableBitmap, replace m_frontBuffer instead of
having a backBuffer local; the CGImageRef will retain the
ShareableBitmap it references.

Duplicate our drawInContext() calls so we don't have to allocate
a GraphicsContext on the heap in the IOSurface case.

Don't bother clearing frontContext; it'll happen for us at
the appropriate time. Instead, assert that it's still alive after
we drop our reference to the frontImage created from it.

7:34 AM Changeset in webkit [158487] by zandobersek@gmail.com
  • 2 edits in trunk/Source/WebKit2

[GTK] invalid use of incomplete type 'class WTF::PassOwnPtr<WTF::Vector<unsigned char> >'
https://bugs.webkit.org/show_bug.cgi?id=123601

Reviewed by Carlos Garcia Campos.

  • WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: Explicitly include the PassOwnPtr.h header

as certain configurations on the GTK port don't ensure that the header is included indirectly.

3:10 AM Changeset in webkit [158486] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[GTK] invalid application of 'sizeof' to incomplete type
https://bugs.webkit.org/show_bug.cgi?id=123502

Patch by Vitaly Katunin <vkatunin@luxoft.com> on 2013-11-02
Reviewed by Carlos Garcia Campos.

  • Shared/WebCoreArgumentCoders.cpp:

Nov 1, 2013:

11:59 PM Changeset in webkit [158485] by ap@apple.com
  • 17 edits
    6 copies
    14 adds in trunk

Add WebCrypto AES-CBC
https://bugs.webkit.org/show_bug.cgi?id=123647

Reviewed by Anders Carlsson.

Source/WebCore:

Tests: crypto/subtle/aes-cbc-192-encrypt-decrypt.html

crypto/subtle/aes-cbc-256-encrypt-decrypt.html
crypto/subtle/aes-cbc-encrypt-decrypt-with-padding.html
crypto/subtle/aes-cbc-encrypt-decrypt.html
crypto/subtle/aes-cbc-invalid-length.html
crypto/subtle/aes-cbc-wrong-key-class.html

  • WebCore.xcodeproj/project.pbxproj: Added new files.
  • bindings/js/JSCryptoAlgorithmDictionary.cpp:

(WebCore::getProperty): Factored out a function to get a property as JSValue.
(WebCore::getHashAlgorithm): Use it.
(WebCore::createAesCbcParams): Added converter for AesCbcParams.
(WebCore::JSCryptoAlgorithmDictionary::createParametersForEncrypt): Support AES_CBC.
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDecrypt): Ditto.
(WebCore::JSCryptoAlgorithmDictionary::createParametersForImportKey): Support all
algorithms, all the new ones just have trivial dictionaries.
(WebCore::JSCryptoAlgorithmDictionary::createParametersForExportKey): Ditto.

  • bindings/js/JSCryptoOperationData.cpp: Added.

(WebCore::sequenceOfCryptoOperationDataFromJSValue):
(WebCore::cryptoOperationDataFromJSValue):

  • bindings/js/JSCryptoOperationData.h: Added.

Moved CryptoOperationData bindings out of JSSubtleCryptoCustom.cpp, so that we
could use them in JSCryptoAlgorithmDictionary.cpp.

  • bindings/js/JSDOMPromise.h: (WebCore::PromiseWrapper::reject): Added a specialization

to reject with null result. The spec doesn't actually say how algorithms fail.

  • bindings/js/JSSubtleCryptoCustom.cpp:

(WebCore::JSSubtleCrypto::encrypt): Added.
(WebCore::JSSubtleCrypto::decrypt): Ditto.
(WebCore::JSSubtleCrypto::sign): Style fix.

  • crypto/CryptoAlgorithmAesCbcParams.h: Added.
  • crypto/CryptoKey.h:

(WebCore::CryptoKeyClass):

  • crypto/keys/CryptoKeyHMAC.h:

(WebCore::asCryptoKeyHMAC):
Added poor man's RTTI, so that we can safely upcast Keys passed fro JavaScript code.

  • crypto/CryptoKeyAES.cpp: Added.

(WebCore::CryptoKeyAES::CryptoKeyAES):
(WebCore::CryptoKeyAES::~CryptoKeyAES):
(WebCore::CryptoKeyAES::buildAlgorithmDescription):

  • crypto/CryptoKeyAES.h: Added.

(WebCore::asCryptoKeyAES):
AES keys are the same for all algorithms, but they still need to remember the algorithm.

  • crypto/SubtleCrypto.idl: Added encrypt/decrypt.
  • crypto/algorithms/CryptoAlgorithmAES_CBC.cpp: Added.

(WebCore::CryptoAlgorithmAES_CBC::CryptoAlgorithmAES_CBC):
(WebCore::CryptoAlgorithmAES_CBC::~CryptoAlgorithmAES_CBC):
(WebCore::CryptoAlgorithmAES_CBC::create):
(WebCore::CryptoAlgorithmAES_CBC::identifier):
(WebCore::CryptoAlgorithmAES_CBC::importKey):
(WebCore::CryptoAlgorithmAES_CBC::exportKey):

  • crypto/algorithms/CryptoAlgorithmAES_CBC.h: Added.
  • crypto/mac/CryptoAlgorithmAES_CBCMac.cpp: Added.

(WebCore::transformAES_CBC):
(WebCore::CryptoAlgorithmAES_CBC::encrypt):
(WebCore::CryptoAlgorithmAES_CBC::decrypt):
(WebCore::CryptoAlgorithmAES_CBC::generateKey):
Added.

  • crypto/mac/CryptoAlgorithmHMACMac.cpp:

(WebCore::CryptoAlgorithmHMAC::sign):
(WebCore::CryptoAlgorithmHMAC::verify):
Check key class before casting it to CryptoKeyHMAC.

  • crypto/mac/CryptoAlgorithmRegistryMac.cpp:

(WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms): Register AES-CBC
on Mac, so that it can be used.

Source/WTF:

  • wtf/FixedArray.h: (WTF::FixedArray::data): Added a const version of the function.
  • wtf/Vector.h: Added a comment to Vector constructor about how it is different

from std::vector.

LayoutTests:

Part of aes-cbc-encrypt-decrypt.html test was taken from Blink.

  • crypto/subtle/aes-cbc-192-encrypt-decrypt-expected.txt: Added.
  • crypto/subtle/aes-cbc-192-encrypt-decrypt.html: Added.
  • crypto/subtle/aes-cbc-256-encrypt-decrypt-expected.txt: Added.
  • crypto/subtle/aes-cbc-256-encrypt-decrypt.html: Added.
  • crypto/subtle/aes-cbc-encrypt-decrypt-expected.txt: Added.
  • crypto/subtle/aes-cbc-encrypt-decrypt-with-padding-expected.txt: Added.
  • crypto/subtle/aes-cbc-encrypt-decrypt-with-padding.html: Added.
  • crypto/subtle/aes-cbc-encrypt-decrypt.html: Added.
  • crypto/subtle/aes-cbc-invalid-length-expected.txt: Added.
  • crypto/subtle/aes-cbc-invalid-length.html: Added.
  • crypto/subtle/aes-cbc-wrong-key-class-expected.txt: Added.
  • crypto/subtle/aes-cbc-wrong-key-class.html: Added.
  • crypto/subtle/hmac-sign-verify-expected.txt:
  • crypto/subtle/hmac-sign-verify.html:

Corrected a description.

  • crypto/subtle/resources/common.js: (hexToArrayBuffer): Added a helper.
10:01 PM Changeset in webkit [158484] by akling@apple.com
  • 36 edits in trunk/Source/WebCore

SVGRenderStyle accessors should return references.
<https://webkit.org/b/123656>

RenderStyle::svgStyle() and accessSVGStyle() never return null,
so make them return references instead.

This flushed out a myriad of pointless null checks and assertions.

Reviewed by Anders Carlsson.

7:28 PM Changeset in webkit [158483] by ljaehun.lim@samsung.com
  • 4 edits in trunk/LayoutTests

Update layout test results after CSS calc() simplification
https://bugs.webkit.org/show_bug.cgi?id=123654

Reviewed by Andreas Kling.

r156586 simplified CSS calc expressions.
Update layout test results for calc().

  • fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt:
  • fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js:

(valueSettingTest):

  • platform/efl/TestExpectations: gardening
7:24 PM Changeset in webkit [158482] by fpizlo@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

FTL should use a simple optimization pipeline by default
https://bugs.webkit.org/show_bug.cgi?id=123638

Reviewed by Geoffrey Garen.

20% speed-up on imagine-gaussian-blur, when combined with --ftlUsesStackmaps=true.

  • ftl/FTLCompile.cpp:

(JSC::FTL::compile):

  • runtime/Options.h:
7:23 PM Changeset in webkit [158481] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

Remote Layer Tree: Crashes allocating incredibly large backing store for tiled backing layers
https://bugs.webkit.org/show_bug.cgi?id=123651

Reviewed by Simon Fraser.

  • Shared/mac/RemoteLayerBackingStore.mm:

(RemoteLayerBackingStore::display):
(RemoteLayerBackingStore::drawInContext):
We can't dirty the whole layer if we have no existing front buffer if
we have no paints, because that will lead to layers which were never
setNeedsDisplay()'d getting backing store. Added back an assertion
that will catch this, too.

7:13 PM Changeset in webkit [158480] by commit-queue@webkit.org
  • 13 edits in trunk/Source

Removing MediaStreamTrackVector and MediaStreamSourceVector typedefs
https://bugs.webkit.org/show_bug.cgi?id=123648

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-11-01
Reviewed by Eric Carlson.

Source/WebCore:

No new tests needed.

  • Modules/mediastream/MediaStream.cpp:

(WebCore::MediaStream::create):
(WebCore::MediaStream::clone):
(WebCore::MediaStream::cloneMediaStreamTrackVector):
(WebCore::MediaStream::addTrack):
(WebCore::MediaStream::removeTrack):
(WebCore::MediaStream::haveTrackWithSource):
(WebCore::MediaStream::getTrackById):
(WebCore::MediaStream::trackVectorForType):

  • Modules/mediastream/MediaStream.h:
  • Modules/mediastream/MediaStreamTrack.h:
  • Modules/mediastream/UserMediaRequest.cpp:

(WebCore::UserMediaRequest::callSuccessHandler):

  • Modules/webaudio/AudioContext.cpp:

(WebCore::AudioContext::createMediaStreamSource):

  • Modules/webaudio/MediaStreamAudioDestinationNode.cpp:

(WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode):

  • platform/mediastream/MediaStreamDescriptor.cpp:

(WebCore::MediaStreamDescriptor::create):
(WebCore::MediaStreamDescriptor::MediaStreamDescriptor):

  • platform/mediastream/MediaStreamDescriptor.h:
  • platform/mediastream/MediaStreamSource.h:

Source/WebKit/blackberry:

  • WebCoreSupport/UserMediaClientImpl.cpp:

(WebCore::toMediaStreamDescriptor):
(WebCore::UserMediaClientImpl::requestUserMedia):

  • WebCoreSupport/UserMediaClientImpl.h:
7:09 PM Changeset in webkit [158479] by Joseph Pecoraro
  • 4 edits in trunk/Source/WTF

Unreviewed extended attempt at Windows build fix after r158471.

  • wtf/text/cf/AtomicStringCF.cpp:
  • wtf/text/cf/StringCF.cpp:
  • wtf/text/cf/StringImplCF.cpp:
6:53 PM Changeset in webkit [158478] by akling@apple.com
  • 2 edits in trunk/Source/WebCore

createFontFaceValue() should be smarter about overgrown cache.
<https://webkit.org/b/123643>

Instead of clearing the whole font-face value cache when it passes
128 entries, just delete one entry at random.

Reviewed by Geoffrey Garen.

6:51 PM Changeset in webkit [158477] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Fixing mac code to use new MediaStreamDescriptor create method
https://bugs.webkit.org/show_bug.cgi?id=123653

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-11-01
Reviewed by Eric Carlson.

No new tests needed.

  • platform/mediastream/mac/MediaStreamCenterMac.cpp:

(WebCore::MediaStreamCenterMac::createMediaStream):

6:50 PM Changeset in webkit [158476] by akling@apple.com
  • 2 edits in trunk/Source/WebCore

Re-use existing RenderStyle local in textWidth().
<https://webkit.org/b/123392>

We already have the RenderStyle cached in a local here, so avoid
getting it from RenderText since that has to go via the parent.

Reviewed by Antti Koivisto.

6:49 PM Changeset in webkit [158475] by Joseph Pecoraro
  • 4 edits in trunk/Source/WTF

Unreviewed attempt at Windows build fix after r158471.

  • wtf/text/cf/AtomicStringCF.cpp:
  • wtf/text/cf/StringCF.cpp:
  • wtf/text/cf/StringImplCF.cpp:
6:45 PM Changeset in webkit [158474] by akling@apple.com
  • 6 edits in trunk/Source

Make more StringImpl construction helpers return PassRef.
<https://webkit.org/b/123652>

Tweak another handful of StringImpl constructor functions to return
PassRef<StringImpl> instead of PassRefPtr.

Reviewed by Anders Carlsson.

6:38 PM Changeset in webkit [158473] by akling@apple.com
  • 6 edits in trunk/Source

Neuter WTF_MAKE_FAST_ALLOCATED in GLOBAL_FASTMALLOC_NEW builds.
<https://webkit.org/b/123639>

Source/JavaScriptCore:

JSC::ParserArenaRefCounted really needed to have the new/delete
operators overridden, in order for JSC::ScopeNode to be able to
choose that "operator new" out of the two it inherits.

Reviewed by Anders Carlsson.

Source/WebCore:

WebCore::TimerBase really needed to have the new/delete operators
overridden, in order for WebCore::SuspendableTimer to be able to
choose that "operator new" out of the two it inherits.

Reviewed by Anders Carlsson.

Source/WTF:

When building with GLOBAL_FASTMALLOC_NEW, we don't need to expand
operator new/delete overrides in every class.

This change makes allocations group up nicely in Instruments,
instead of being split between "WTF::fastMalloc" and "operator new"
depending on whether the class had WTF_MAKE_FAST_ALLOCATED.

Reviewed by Anders Carlsson.

6:23 PM Changeset in webkit [158472] by akling@apple.com
  • 2 edits in trunk/Source/WebCore

CSSCanvasValue construction helper should return PassRef.
<https://webkit.org/b/123650>

Return PassRef instead of PassRefPtr from functions that return
ownership-passing pointers that are known to be non-null.

Reviewed by Anders Carlsson.

6:22 PM Changeset in webkit [158471] by commit-queue@webkit.org
  • 11 edits
    5 moves
    2 adds in trunk/Source

Move CF/Mac WTF String implementations down into WTF
https://bugs.webkit.org/show_bug.cgi?id=123635

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-11-01
Reviewed by Sam Weinig.

Source/WebCore:

  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • WebCore.xcodeproj/project.pbxproj:

Source/WTF:

  • WTF.vcxproj/WTF.vcxproj:
  • WTF.vcxproj/WTF.vcxproj.filters:
  • WTF.xcodeproj/project.pbxproj:
  • wtf/text/AtomicString.h:
  • wtf/text/StringImpl.h:
  • wtf/text/WTFString.h:
  • wtf/text/cf/AtomicStringCF.cpp: Renamed from Source/WebCore/platform/text/cf/AtomicStringCF.cpp.

(WTF::AtomicString::add):

  • wtf/text/cf/StringCF.cpp: Renamed from Source/WebCore/platform/text/cf/StringCF.cpp.

(WTF::String::String):
(WTF::String::createCFString):

  • wtf/text/cf/StringImplCF.cpp: Renamed from Source/WebCore/platform/text/cf/StringImplCF.cpp.

(garbageCollectionEnabled):
(WTF::StringWrapperCFAllocator::retain):
(WTF::StringWrapperCFAllocator::release):
(WTF::StringWrapperCFAllocator::copyDescription):
(WTF::StringWrapperCFAllocator::allocate):
(WTF::StringWrapperCFAllocator::reallocate):
(WTF::StringWrapperCFAllocator::deallocateOnMainThread):
(WTF::StringWrapperCFAllocator::deallocate):
(WTF::StringWrapperCFAllocator::preferredSize):
(WTF::StringWrapperCFAllocator::create):
(WTF::StringWrapperCFAllocator::allocator):
(WTF::StringImpl::createCFString):

  • wtf/text/mac/StringImplMac.mm: Renamed from Source/WebCore/platform/text/mac/StringImplMac.mm.

(WTF::StringImpl::operator NSString *):

  • wtf/text/mac/StringMac.mm: Renamed from Source/WebCore/platform/text/mac/StringMac.mm.

(WTF::String::String):

6:20 PM Changeset in webkit [158470] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Removing unnecessary early returns in addTrack, removeTrack and removeRemoteSource methods
https://bugs.webkit.org/show_bug.cgi?id=123644

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-11-01
Reviewed by Eric Carlson.

No new tests needed.

  • Modules/mediastream/MediaStream.cpp:

(WebCore::MediaStream::addTrack):
(WebCore::MediaStream::removeTrack):
(WebCore::MediaStream::removeRemoteSource):
(WebCore::MediaStream::trackVectorForType):

  • Modules/mediastream/MediaStream.h:
6:03 PM Changeset in webkit [158469] by akling@apple.com
  • 2 edits in trunk/Source/WebCore

CSSAspectRatioValue construction helper should return PassRef.
<https://webkit.org/b/123645>

Return PassRef instead of PassRefPtr from functions that return
ownership-passing pointers that are known to be non-null.

Reviewed by Darin Adler.

5:55 PM Changeset in webkit [158468] by Brent Fulgham
  • 16 edits
    8 adds in branches/safari-537.73-branch

Merge r157070

Source/WebCore:

2013-10-04 Ojan Vafai <ojan@chromium.org> and Martin Robinson <mrobinson@igalia.com>

[MathML] Remove RenderTree modification during layout and refactor the StretchyOp code
https://bugs.webkit.org/show_bug.cgi?id=121416

Reviewed by David Hyatt.

Tests: mathml/presentation/mo-minus.html

mathml/presentation/mo-stacked-glyphs.html
mathml/presentation/mo-stretchy-vertical-bar.html
mathml/very-large-stretchy-operators.html

MathML stretched operators by both modifying the width of the operator
and adding children to the operator node in the render tree.

Instead we make the operator width equal to the widest glyph possible that we use
to represent the operator. Additionally instead of rendering stretchy glyphs via
stacked operator pieces in separate render tree nodes, keep only one node for the
glyph, and use a custom paint method to paint the stacked representation.

With this patch, rendering seems roughly equivalent on Mac and markedly better
on Linux.

  • css/mathml.css: Not sure what this line-height:0 was here for, but it caused bugs with the new code
  • mathml/MathMLTextElement.cpp: (WebCore::MathMLTextElement::attach): (WebCore): (WebCore::MathMLTextElement::childrenChanged): Need to update the anonymous render tree below <mo> elements when their children change or when the renderer is first attached.
  • mathml/MathMLTextElement.h: (MathMLTextElement):
  • rendering/mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::RenderMathMLBlock):
  • rendering/mathml/RenderMathMLBlock.h: Now that the preferred width doesn't depend on the height, we don't need to override computePreferredLogicalWidths at all.
  • rendering/mathml/RenderMathMLFenced.cpp: (WebCore::RenderMathMLFenced::makeFences): (WebCore::RenderMathMLFenced::styleDidChange): Need to update the anonymous renderers for the anonymous RenderMathMLOperators.
  • rendering/mathml/RenderMathMLOperator.cpp: (WebCore::RenderMathMLOperator::expandedStretchHeight): Store the non-expanded stretch height so that we can detect when the height actually changed.

(WebCore::RenderMathMLOperator::stretchToHeight):
Only update the style on the anonymous render tree since this is called
from RenderMathMLRow::layout

(WebCore::RenderMathMLOperator::styleDidChange):
(WebCore::RenderMathMLOperator::glyphBoundsForCharacter): A helper to get glyph boundaries.
(WebCore::RenderMathMLOperator::glyphHeightForCharacter): Ditto for glyph width.
(WebCore::RenderMathMLOperator::advanceForCharacter): The advance is different from the width,
and we want the width of the operator to be the advance instead of the tight bounding width.
(WebCore::RenderMathMLOperator::computePreferredLogicalWidths): Use the max of all possible glyphs
we can use to render this operator.
(WebCore::RenderMathMLOperator::computeLogicalHeight): Return the stretched operator height, if appropriate.
(WebCore::RenderMathMLOperator::updateFromElement): We add a child for rendering the non-scaled
version of the glyph.
(WebCore::RenderMathMLOperator::firstCharacterForStretching): Helper to figure out what character
is the character used for stretching operations.
(WebCore::RenderMathMLOperator::findAcceptableStretchyCharacter): Helper to find an acceptable set
of glyph pieces for stretching characters.
(WebCore::RenderMathMLOperator::updateStyle): Resize the operator to the appropriate height and hide
the child if we are using the stretchy style.
(WebCore::RenderMathMLOperator::firstLineBoxBaseline):
(WebCore::RenderMathMLOperator::paintCharacter): Helper to paint a single character component of the
stretchy glyph.
(WebCore::RenderMathMLOperator::fillWithExtensionGlyph): Helper to paint the extender glue between
features of the stretchy glyph.
(WebCore::RenderMathMLOperator::paint): Properly paint stretchy glyphs.

  • rendering/mathml/RenderMathMLOperator.h: Update method declarations.

LayoutTests:

2013-10-04 Frédéric Wang <fred.wang@free.fr>

[MathML] Remove RenderTree modification during layout and refactor the StretchyOp code
https://bugs.webkit.org/show_bug.cgi?id=121416

Reviewed by David Hyatt.

Add some reftests for stretchy operators.

  • TestExpectations: The remaining MathML pixel tests are broken by this patch.
  • LayoutTests/platform/gtk/TestExpectations:
  • LayoutTests/platform/mac/TestExpectations:
  • LayoutTests/platform/win/TestExpectations:
  • mathml/presentation/mo-minus.html: Added.
  • mathml/presentation/mo-minus-expected.html: Added.
  • mathml/presentation/mo-stacked-glyphs-expected.html: Added.
  • mathml/presentation/mo-stacked-glyphs.html: Added.
  • mathml/presentation/mo-stretchy-vertical-bar-expected-mismatch.html: Added.
  • mathml/presentation/mo-stretchy-vertical-bar.html: Added.
  • mathml/very-large-stretchy-operators-expected.txt: Added.
  • mathml/very-large-stretchy-operators.html: Added.
4:46 PM Changeset in webkit [158467] by commit-queue@webkit.org
  • 6 edits
    2 adds in trunk

Initial implementation of text-decoration-skip ink
https://bugs.webkit.org/show_bug.cgi?id=121806

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-11-01
Reviewed by Darin Adler.

Source/WebCore:

text-decoration-skip: ink is implemented by the following steps:

  1. Before drawing any decorations, figure out the bounding box for the decorations that will be drawn
  2. Create an ImageBuffer with these dimensions
  3. Draw text into this ImageBuffer with a thicker stroke
  4. Apply the ImageBuffer as a mask to the context
  5. Draw decorations like normal
  6. Clean up

Test: fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink.html

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::computeLineBoundsAndAntialiasingModeForText): Don't call GraphicsContext::roundToDevicePixels
when painting is disabled

  • rendering/InlineTextBox.cpp:

(WebCore::InlineTextBox::paint): Pass the TextPainter to paintDecoration
(WebCore::computeUnderlineOffset): Small cleanup
(WebCore::getWavyStrokeControlPointDistance): Pulling out of strokeWavyTextDecoration()
(WebCore::getWavyStrokeStep): Ditto
(WebCore::strokeWavyTextDecoration): Use the previous 2 functions
(WebCore::getSingleDecorationBoundingBox): Pulling out repeated code into a function
(WebCore::getDecorationBoundingBox): Compute the bounding box for an underline which
hasn't been drawn yet
(WebCore::InlineTextBox::paintDecoration): Construct a mask and apply it to the GraphicsContext

  • rendering/InlineTextBox.h: paintDecoration needs the TextPainter
  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline): Redraw the underline when
text-decoration-skip changes

LayoutTests:

Adding a test which draws a very large "p" with text-decoration-skip:ink. The
viewport is restricted to be just hugging the place where an underline would
intersect the descender of the "p". This should look the same as if there was
no underline at all (because of the skipping underline).

  • fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-expected.html: Added.
  • fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink.html: Added.
4:38 PM Changeset in webkit [158466] by hmuller@adobe.com
  • 2 edits in trunk/LayoutTests

[CSS Shapes] Fix typo in simple-polygon.js LayoutTest helper
https://bugs.webkit.org/show_bug.cgi?id=123595

Reviewed by Darin Adler.

  • fast/shapes/resources/simple-polygon.js:

(generatePolygonContentString): Fixed a typo: the lineHeight parameter generatePolygonContentString() is now lineHeight.

4:34 PM Changeset in webkit [158465] by akling@apple.com
  • 4 edits in trunk/Source/WebCore

CSS 'initial' and 'inherit' value constructors should return PassRef.
<https://webkit.org/b/123641>

Make the helpers involved in constructing CSS{Initial,Inherited}Value
all return PassRef instead of PassRefPtr. This avoids generating
pointless null checks at the call sites.

Reviewed by Darin Adler.

4:29 PM Changeset in webkit [158464] by Lucas Forschler
  • 2 edits in branches/safari-537.73-branch/Source/WebCore

Merged r158334. <rdar://problem/15359442>

4:24 PM Changeset in webkit [158463] by timothy_horton@apple.com
  • 2 edits
    2 moves in trunk/Source/WebKit2

Remote Layer Tree: Move RemoteLayerBackingStore to Shared/
https://bugs.webkit.org/show_bug.cgi?id=123646

Reviewed by Darin Adler.

Move RemoteLayerBackingStore to Shared/, since it is
used on both the UI and Web process side of things.

  • Shared/mac/RemoteLayerBackingStore.h: Renamed from Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerBackingStore.h.
  • Shared/mac/RemoteLayerBackingStore.mm: Renamed from Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerBackingStore.mm.
  • WebKit2.xcodeproj/project.pbxproj:
4:24 PM Changeset in webkit [158462] by Lucas Forschler
  • 2 edits in branches/safari-537.60-branch/Source/WebCore

Merged r158334. <rdar://problem/15359450>

3:22 PM Changeset in webkit [158461] by akling@apple.com
  • 25 edits
    4 deletes in trunk/Source/WebCore

Kill RenderArena.
<https://webkit.org/b/123634>

There are no remaining users of the RenderArena allocator.

Reviewed by Geoffrey Garen.

3:14 PM Changeset in webkit [158460] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit2

[Cocoa] WKObject seems to be initializing its target in a thread-safe manner, but really is not
https://bugs.webkit.org/show_bug.cgi?id=123640

Reviewed by Darin Adler.

  • Shared/Cocoa/WKObject.mm:

(initializeTargetIfNeeded): Removed misleading incorrect code.

3:10 PM Changeset in webkit [158459] by fpizlo@apple.com
  • 8 edits in trunk/Source/JavaScriptCore

OSR exit profiling should be robust against all code being cleared
https://bugs.webkit.org/show_bug.cgi?id=123629
<rdar://problem/15365476>

Reviewed by Michael Saboff.

The problem here is two-fold:

1) A watchpoint (i.e. ProfiledCodeBlockJettisoningWatchpoint) may be fired after we
have cleared the CodeBlock for all or some Executables. This means that doing
codeBlock->baselineVersion() would either crash or return a bogus CodeBlock, since
there wasn't a baseline code block reachable from the Executable anymore. The
solution is that we shouldn't be asking for the baseline code block reachable from
the owning executable (what baselineVersion did), but instead we should be asking
for the baseline version reachable from the code block being watchpointed (basically
what CodeBlock::alternative() did).

2) If dealing with inlined code, baselienCodeBlockForOriginAndBaselineCodeBlock()
may return null, for the same reason as above - we might have cleared the baseline
codeblock for the executable that was inlined. The solution is to just not do
profiling if there isn't a baseline code block anymore.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::baselineAlternative):
(JSC::CodeBlock::baselineVersion):
(JSC::CodeBlock::jettison):

  • bytecode/CodeBlock.h:
  • bytecode/CodeBlockJettisoningWatchpoint.cpp:

(JSC::CodeBlockJettisoningWatchpoint::fireInternal):

  • bytecode/ProfiledCodeBlockJettisoningWatchpoint.cpp:

(JSC::ProfiledCodeBlockJettisoningWatchpoint::fireInternal):

  • dfg/DFGOSRExitBase.cpp:

(JSC::DFG::OSRExitBase::considerAddingAsFrequentExitSiteSlow):

  • jit/AssemblyHelpers.h:

(JSC::AssemblyHelpers::AssemblyHelpers):

  • runtime/Executable.cpp:

(JSC::FunctionExecutable::baselineCodeBlockFor):

2:29 PM Changeset in webkit [158458] by aestes@apple.com
  • 2 edits in trunk/Tools

Teach check-for-webkit-framework-include-consistency to ignore stale iOS Private headers that might exist in build directories due to r158443
https://bugs.webkit.org/show_bug.cgi?id=123636

Reviewed by Andreas Kling.

  • Scripts/check-for-webkit-framework-include-consistency:
2:28 PM Changeset in webkit [158457] by benjamin@webkit.org
  • 2 edits in trunk/Source/WebKit2

[WK2] Create a unique identifier for WebPageGroup if the input name is empty
https://bugs.webkit.org/show_bug.cgi?id=123606

Reviewed by Andreas Kling.

Strengthen the "public" API of page group.
If someone uses WKBrowsingContextGroup with a nil or empty string, the related WKString
would be empty, and all the WKBrowsingContextGroup end up with the same identifier.

  • UIProcess/WebPageGroup.cpp:

(WebKit::WebPageGroup::WebPageGroup):

2:26 PM Changeset in webkit [158456] by mitz@apple.com
  • 2 edits
    2 moves in trunk/Source/WebKit2

[Cocoa] Avoid some double-wrapping of strings and URLs
https://bugs.webkit.org/show_bug.cgi?id=123632

Reviewed by Anders Carlsson.

  • Shared/API/c/cf/WKStringCF.cpp: Removed.
  • Shared/API/c/cf/WKStringCF.mm: Copied from Source/WebKit2/Shared/API/c/cf/WKStringCF.cpp.

(wkNSStringClass): Added this helper.
(WKStringCreateWithCFString): If the passed-in CFString is already wrapping a WebString,
then retain it and return it.

  • Shared/API/c/cf/WKURLCF.cpp: Removed.
  • Shared/API/c/cf/WKURLCF.mm: Copied from Source/WebKit2/Shared/API/c/cf/WKURLCF.cpp.

(wkNSURLClass): Added this helper.
(WKURLCreateWithCFURL): If the passed-in CFURL is already wrapping a WebURL, then retain it
and return it.

  • WebKit2.xcodeproj/project.pbxproj: Updated for renames.
2:23 PM Changeset in webkit [158455] by commit-queue@webkit.org
  • 5 edits in trunk

AX: Regression: media controls are no longer accessible
https://bugs.webkit.org/show_bug.cgi?id=121990

Patch by James Craig <jcraig@apple.com> on 2013-11-01
Reviewed by Jer Noble.

Source/WebCore:

Updated existing test coverage.
Added ARIA roles, attrs, and labels to the new media controls shadow DOM.
Localization will be handled in http://webkit.org/b/120956

  • Modules/mediacontrols/mediaControlsApple.js:

(Controller.prototype.UIString):
(Controller.prototype.createControls):
(Controller.prototype.handleLoadStart):
(Controller.prototype.handleError):
(Controller.prototype.handleAbort):
(Controller.prototype.handleSuspend):
(Controller.prototype.handleStalled):
(Controller.prototype.handleWaiting):
(Controller.prototype.handleFullscreenChange):
(Controller.prototype.handleMuteButtonClicked):
(Controller.prototype.handleMinButtonClicked):
(Controller.prototype.handleMaxButtonClicked):
(Controller.prototype.handleVolumeSliderChange):
(Controller.prototype.updatePlaying):

LayoutTests:

Removed failure expectation and updated expected render dump output.

  • platform/mac/TestExpectations:
  • platform/mac/accessibility/media-element-expected.txt:
2:06 PM Changeset in webkit [158454] by aestes@apple.com
  • 4 edits in trunk/Source/WebKit

[iOS] Make some headers Private
https://bugs.webkit.org/show_bug.cgi?id=123626

Reviewed by Andreas Kling.

Source/WebKit:

  • WebKit.xcodeproj/project.pbxproj:

Source/WebKit/mac:

  • Configurations/WebKit.xcconfig: Exclude iOS Private headers from the Mac build.
2:04 PM Changeset in webkit [158453] by akling@apple.com
  • 7 edits in trunk/Source/WebCore

Take BidiRuns out of the arena.
<https://webkit.org/b/123630>

Stop arena-allocating BidiRun objects and use regular new/delete.

With this, there are no remaining clients of RenderArena.
It will be removed in a subsequent patch.

Reviewed by Anders Carlsson.

2:00 PM Changeset in webkit [158452] by andersca@apple.com
  • 7 edits in trunk

Begin work on encoding argument types
https://bugs.webkit.org/show_bug.cgi?id=123631

Reviewed by Dan Bernstein.

Source/WebKit2:

  • Shared/API/Cocoa/WKRemoteObjectCoder.mm:

(-[WKRemoteObjectEncoder _encodeInvocation:forKey:]):
Encode argument types in an array.

(-[WKRemoteObjectEncoder _encodedObjectUsingBlock:]):
Add new helper method that encodes an object and returns the dictionary.

(-[WKRemoteObjectEncoder _encodeObjectForKey:usingBlock:]):
Implement this in terms of _encodedObjectUsingBlock:.

  • Shared/MutableArray.cpp:

(WebKit::MutableArray::append):

  • Shared/MutableArray.h:

Change append to take a PassRefPtr.

Tools:

Add another test method.

  • TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm:
  • TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Shared.h:
1:42 PM Changeset in webkit [158451] by barraclough@apple.com
  • 9 edits in trunk/Source/WebKit2

Rename InWindowState -> ViewState
https://bugs.webkit.org/show_bug.cgi?id=123584

Rubber stamped by Sam Weinig.

WebPageProxy::setViewState offers the option to wait for a reply. Previously this option
was only available via setIsInWindow, hence the mechanism to wait to the update has
'InWindowState' in method and variable names (i.e.
'WebPageProxy::waitForDidUpdateInWindowState'). Since the mechanism is now applicable to
all ViewState changes, rename to reflect this.

  • UIProcess/API/mac/WKView.mm:

(-[WKView endDeferringViewInWindowChangesSync]):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::waitForDidUpdateViewState):
(WebKit::WebPageProxy::resetStateAfterProcessExited):

  • UIProcess/WebPageProxy.h:

(WebKit::WebPageProxy::didUpdateViewState):

  • UIProcess/WebPageProxy.messages.in:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage):
(WebKit::WebPage::didUpdateViewStateTimerFired):
(WebKit::WebPage::setViewState):

  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in:
  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::didUpdateViewStateTimerFired):

1:15 PM Changeset in webkit [158450] by commit-queue@webkit.org
  • 21 edits in trunk

Expose setApplicationCacheOriginQuota via window.internals
https://bugs.webkit.org/show_bug.cgi?id=87838

Patch by Afonso R. Costa Jr. <afonso.costa@samsung.com> on 2013-11-01
Reviewed by Joseph Pecoraro.

Source/WebCore:

Also reset the default origin quota in resetToConsistentState().

  • testing/Internals.cpp: Add setApplicationCacheOriginQuota.

(WebCore::Internals::resetToConsistentState): Reset the default origin
quota.
(WebCore::Internals::setApplicationCacheOriginQuota): Added.

  • testing/Internals.h: Add setApplicationCacheOriginQuota.
  • testing/Internals.idl: Ditto.

Source/WebKit:

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Add

symbols for setApplicationCacheOriginQuota from Internals.

Tools:

  • DumpRenderTree/TestRunner.cpp: Move setApplicationCacheOriginQuota

to window.internals
(TestRunner::staticFunctions):

  • DumpRenderTree/TestRunner.h: Ditto.
  • DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp: Remove setApplicationCacheOriginQuota.
  • DumpRenderTree/efl/TestRunnerEfl.cpp: Ditto.
  • DumpRenderTree/gtk/TestRunnerGtk.cpp: Ditto.
  • DumpRenderTree/mac/TestRunnerMac.mm: Ditto.
  • DumpRenderTree/win/TestRunnerWin.cpp: Ditto.
  • WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Ditto.
  • WebKitTestRunner/InjectedBundle/TestRunner.cpp: Ditto.
  • WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.

LayoutTests:

  • http/tests/appcache/origin-quota-continued-download-multiple-manifests.html: Updated

to use setApplicationCacheOriginQuota from window.internals

  • http/tests/appcache/origin-quota-continued-download.html: Ditto.
  • http/tests/appcache/origin-quota.html: Ditto.
12:46 PM Changeset in webkit [158449] by timothy_horton@apple.com
  • 3 edits in trunk/Source/WebKit2

Remote Layer Tree: Vend layer contents via IOSurfaces
https://bugs.webkit.org/show_bug.cgi?id=123600

Reviewed by Anders Carlsson.

Address some review comments from Darin (and subsequently Anders).

  • WebProcess/WebPage/mac/RemoteLayerBackingStore.h:

(WebKit::RemoteLayerBackingStore::surface):
No need for .get() here.

  • WebProcess/WebPage/mac/RemoteLayerBackingStore.mm:

(RemoteLayerBackingStore::ensureBackingStore):
All on one line for readability.

(createIOSurfaceContext):
This 'if' is meaningless.

(createIOSurface):
No need for a RetainPtr here, the dictionary is autoreleased.

(RemoteLayerBackingStore::display):
Snuggle 'context' up next to the other declarations.

12:35 PM Changeset in webkit [158448] by andersca@apple.com
  • 5 edits in trunk/Source/WebKit2

Don't use the C API in WKRemoteObjectCoder
https://bugs.webkit.org/show_bug.cgi?id=123627

Reviewed by Dan Bernstein.

  • Shared/API/Cocoa/WKRemoteObjectCoder.mm:

(-[WKRemoteObjectEncoder init]):
(-[WKRemoteObjectEncoder encodeBytes:length:forKey:]):
(-[WKRemoteObjectEncoder _encodeObjectForKey:usingBlock:]):

  • Shared/ImmutableDictionary.h:
  • Shared/MutableDictionary.cpp:

(WebKit::MutableDictionary::add):
(WebKit::MutableDictionary::set):

  • Shared/MutableDictionary.h:
12:18 PM Changeset in webkit [158447] by mark.lam@apple.com
  • 16 edits in trunk

REGRESSION: Crashes in -[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:].
https://bugs.webkit.org/show_bug.cgi?id=123383.

Reviewed by Geoffrey Garen.

Tools:

Removed an inappropriate assertion in DumpRenderTree/mac/UIDelegate.mm and
added 2 attributes (databaseDefaultQuota and databaseMaxQuota) to allow
tests to set appropriate quota settings to exercise quota expansion tests
when needed.

  • DumpRenderTree/TestRunner.cpp:

(TestRunner::TestRunner):
(getDatabaseDefaultQuotaCallback):
(getDatabaseMaxQuotaCallback):
(setDatabaseDefaultQuotaCallback):
(setDatabaseMaxQuotaCallback):
(TestRunner::staticValues):

  • DumpRenderTree/TestRunner.h:

(TestRunner::databaseDefaultQuota):
(TestRunner::setDatabaseDefaultQuota):
(TestRunner::databaseMaxQuota):
(TestRunner::setDatabaseMaxQuota):

  • DumpRenderTree/blackberry/DumpRenderTree.cpp:

(BlackBerry::WebKit::DumpRenderTree::exceededDatabaseQuota):

  • DumpRenderTree/efl/DumpRenderTreeView.cpp:

(onExceededDatabaseQuota):

  • DumpRenderTree/mac/UIDelegate.mm:

(-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):

  • DumpRenderTree/win/UIDelegate.cpp:

(UIDelegate::exceededDatabaseQuota):

  • WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::didExceedDatabaseQuota):

  • WebKitTestRunner/InjectedBundle/TestRunner.cpp:

(WTR::TestRunner::TestRunner):

  • WebKitTestRunner/InjectedBundle/TestRunner.h:

(WTR::TestRunner::databaseDefaultQuota):
(WTR::TestRunner::setDatabaseDefaultQuota):
(WTR::TestRunner::databaseMaxQuota):
(WTR::TestRunner::setDatabaseMaxQuota):

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::createOtherPage):
(WTR::TestController::createWebViewWithOptions):

LayoutTests:

Removed an inappropriate assertion in DumpRenderTree/mac/UIDelegate.mm and
added 2 attributes (databaseDefaultQuota and databaseMaxQuota) to allow
tests to set appropriate quota settings to exercise quota expansion tests
when needed.

  • storage/websql/open-database-expand-quota.html:
  • Set databaseDefaultQuota and databaseMaxQuota as needed for this test.
  • storage/websql/open-database-over-quota-expected.txt:
  • storage/websql/open-database-over-quota.html:
  • Revert the change from r157874 which is no longer needed for this test.
12:10 PM Changeset in webkit [158446] by aestes@apple.com
  • 2 edits in trunk/Source/WebKit

Reverted r158443. It broke the build.

  • WebKit.xcodeproj/project.pbxproj:
11:59 AM Changeset in webkit [158445] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WTF

HPPA build fixes
https://bugs.webkit.org/show_bug.cgi?id=123625

Original patch from John David Anglin <dave.anglin@bell.net>

Patch by Emilio Pozuelo Monfort <pochu27@gmail.com> on 2013-11-01
Reviewed by Darin Adler.

  • wtf/Platform.h:
  • wtf/dtoa/utils.h:
11:48 AM Changeset in webkit [158444] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

Fix build on non-linux platforms
https://bugs.webkit.org/show_bug.cgi?id=123622

Patch by Emilio Pozuelo Monfort <pochu27@gmail.com> on 2013-11-01
Reviewed by Darin Adler.

  • UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
11:37 AM Changeset in webkit [158443] by aestes@apple.com
  • 2 edits in trunk/Source/WebKit

[iOS] Make some headers Private
https://bugs.webkit.org/show_bug.cgi?id=123626

Reviewed by Sam Weinig.

  • WebKit.xcodeproj/project.pbxproj:
11:30 AM Changeset in webkit [158442] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Explicitly initialize RefCounted base class in MediaStreamTrack's constructors
https://bugs.webkit.org/show_bug.cgi?id=123620

Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-11-01
Reviewed by Andreas Kling.

No new tests needed.

  • Modules/mediastream/MediaStreamTrack.cpp:

(WebCore::MediaStreamTrack::MediaStreamTrack):

11:17 AM Changeset in webkit [158441] by Bem Jones-Bey
  • 54 edits in trunk/LayoutTests

[css shapes] Pull in upstream fixes to shape-outside margin and clipping tests
https://bugs.webkit.org/show_bug.cgi?id=123588

Reviewed by Alexandru Chiculita.

Fix some typos in the tests, add better explanation, and generally
make the tests clearer.

  • csswg/contributors/adobe/submitted/shapes/shape-outside/resources/w3c-import.log:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-004.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-005.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-006.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021-expected.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021.html:
  • csswg/contributors/adobe/submitted/shapes/shape-outside/w3c-import.log:
11:13 AM Changeset in webkit [158440] by Antoine Quint
  • 2 edits in trunk/Source/WebInspectorUI

Remove custom Function.prototype.bind() in favor of native version
https://bugs.webkit.org/show_bug.cgi?id=123608

Reviewed by Joseph Pecoraro.

  • UserInterface/Utilities.js:
11:06 AM Changeset in webkit [158439] by Antoine Quint
  • 2 edits in trunk/Source/WebInspectorUI

Error trying to serialize a color created without an alpha component to RGBA or HSLA
https://bugs.webkit.org/show_bug.cgi?id=123623

Reviewed by Joseph Pecoraro.

Check whether we have .rgba and .hsla ivars before trying to retrieve them to serialize
the color to RGBA or HSLA format.

  • UserInterface/Color.js:

(WebInspector.Color.prototype.toString):

11:03 AM Changeset in webkit [158438] by commit-queue@webkit.org
  • 6 edits in trunk/Source/WebCore

Adding addRemoteTrack and removeRemoteTrack functions to MediaStreamDescriptor and MediaStream
https://bugs.webkit.org/show_bug.cgi?id=123477

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-11-01
Reviewed by Eric Carlson.

When the backend report that a remote track has been added or removed by a remote peer, we must be able to add
it to its MediaStream

No new tests needed.

  • Modules/mediastream/MediaStream.cpp:

(WebCore::MediaStream::addTrack): Splitted in two parts that can be used by old addTrack and new addRemoteTrack.
(WebCore::MediaStream::removeTrack): Splitted in two parts that can be used by old removeTrack and new
removeRemoteTrack.
(WebCore::MediaStream::addRemoteSource): Reusing code in new addTrack method.
(WebCore::MediaStream::removeRemoteSource): Refactored.
(WebCore::MediaStream::addRemoteTrack): Added.
(WebCore::MediaStream::removeRemoteTrack): Added.
(WebCore::MediaStream::getTrackVectorForType): Helper method that returns a vector of tracks according to
track's type (Audio or Video).

  • Modules/mediastream/MediaStream.h:
  • Modules/mediastream/MediaStreamTrack.cpp:

(WebCore::MediaStreamTrack::MediaStreamTrack):

  • platform/mediastream/MediaStreamDescriptor.cpp:

(WebCore::MediaStreamDescriptor::addRemoteTrack): Added.
(WebCore::MediaStreamDescriptor::removeRemoteTrack): Added.

  • platform/mediastream/MediaStreamDescriptor.h:
10:44 AM Changeset in webkit [158437] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[GTK] [WK2] Crash in webkitWebViewLoadFailedWithTLSErrors
https://bugs.webkit.org/show_bug.cgi?id=123618

Patch by Brian Holt <brian.holt@samsung.com> on 2013-11-01
Reviewed by Mario Sanchez Prada.

The GOwnPtrSoup header was not included which meant that the
specialization for GOwnPtr<SoupURI> was not used and instead the
default freeOwnedGPtr which calls g_free is used and crashes.

  • UIProcess/API/gtk/WebKitWebView.cpp:
9:30 AM Changeset in webkit [158436] by commit-queue@webkit.org
  • 30 edits
    6 copies
    1 move
    19 adds in trunk

[GStreamer] Support audio and video tracks
https://bugs.webkit.org/show_bug.cgi?id=117039

Patch by Brendan Long <b.long@cablelabs.com> on 2013-11-01
Reviewed by Philippe Normand.

Source/WebCore:

Tests: media/track/audio/audio-track-mkv-vorbis-addtrack.html

media/track/audio/audio-track-mkv-vorbis-enabled.html
media/track/audio/audio-track-mkv-vorbis-language.html
media/track/in-band/track-in-band-kate-ogg-addtrack.html
media/track/in-band/track-in-band-srt-mkv-addtrack.html
media/track/video/video-track-mkv-theora-addtrack.html
media/track/video/video-track-mkv-theora-language.html
media/track/video/video-track-mkv-theora-selected.html

  • GNUmakefile.list.am: Add audio and video track files.
  • PlatformEfl.cmake: Same.
  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::audioTrackEnabledChanged): Schedule "change" event.
(WebCore::HTMLMediaElement::videoTrackSelectedChanged): Same.

  • html/track/AudioTrack.cpp:

(WebCore::AudioTrack::setEnabled): Call m_private->setEnabled
(WebCore::AudioTrack::enabledChanged): Added callback.
(WebCore::AudioTrack::labelChanged): Same.
(WebCore::AudioTrack::languageChanged): Same.
(WebCore::AudioTrack::willRemoveAudioTrackPrivate): Use ASSERT_UNUSED for consistence.

  • html/track/AudioTrack.h: Add new enabled, label and language callbacks.
  • html/track/VideoTrack.cpp:

(WebCore::VideoTrack::setSelected): Call m_private->setEnabled
(WebCore::VideoTrack::selectedChanged): Added callback.
(WebCore::VideoTrack::labelChanged): Same.
(WebCore::VideoTrack::languageChanged): Same.
(WebCore::VideoTrack::willRemoveVideoTrackPrivate): Use ASSERT_UNUSED for consistence.

  • html/track/VideoTrack.h: Add new selected, label and language callbacks.
  • platform/graphics/AudioTrackPrivate.h:

(WebCore::AudioTrackPrivate::setEnabled): Call m_client->enabledChanged

  • platform/graphics/VideoTrackPrivate.h:

(WebCore::VideoTrackPrivate::setSelected): Call m_client->selectedChanged

  • platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:

(WebCore::InbandTextTrackPrivateGStreamer::InbandTextTrackPrivateGStreamer): Add ASSERT(m_pad)
(WebCore::InbandTextTrackPrivateGStreamer::notifyTrackOfTagsChanged): Look at all tag events instead of just the first one.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::mediaPlayerPrivateVideoSinkCapsChangedCallback): Separated callback when caps change from callback when number of videos change.
(WebCore::mediaPlayerPrivateVideoCapsChangeTimeoutCallback): Same.
(WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer): Initialize m_videoCapsTimerHandler.
(WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer): Disconnect audio and video tracks and remove callbacks.
(WebCore::MediaPlayerPrivateGStreamer::videoCapsChanged): Separated callback when caps change from callback when number of videos change.
(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideo): Create video tracks for each stream.
(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideoCaps): Separated callback when caps change from callback when number of videos change.
(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudio): Create audio tracks for each stream.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: Add audio and video tracks, and a pointer to keep track of the default audio stream.
  • platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp: Added.
  • platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h: Added.
  • platform/graphics/gstreamer/GRefPtrGStreamer.cpp: Add GRefPtr<GstTagList>
  • platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: Added, handles tags and "active" property of audio and video tracks.
  • platform/graphics/gstreamer/TrackPrivateBaseGStreamer.h: Added.
  • platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp: Added.
  • platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h: Added.

LayoutTests:

  • media/content/two-audio-and-video-tracks.mkv: Added.
  • media/in-band-tracks.js: Renamed from LayoutTests/media/in-band-cues.js.

(testAddTrack): Tests addtrack events.
(testAttribute): Added "type" parameter so we can use this for audio and video tracks.
(testTextTrackMode): Renamed to make it clear that this only applies to text tracks.
(testCueStyle): Same.
(testTextTrackOrder): Same.

  • media/track/audio/audio-track-mkv-vorbis-addtrack-expected.txt: Added.
  • media/track/audio/audio-track-mkv-vorbis-addtrack.html: Copied from LayoutTests/media/track/in-band/track-in-band-srt-mkv-track-order.html.
  • media/track/audio/audio-track-mkv-vorbis-enabled-expected.txt: Added.
  • media/track/audio/audio-track-mkv-vorbis-enabled.html: Added.
  • media/track/audio/audio-track-mkv-vorbis-language-expected.txt: Added.
  • media/track/audio/audio-track-mkv-vorbis-language.html: Copied from LayoutTests/media/track/in-band/track-in-band-kate-ogg-track-order.html.
  • media/track/in-band/track-in-band-kate-ogg-addtrack-expected.txt: Added.
  • media/track/in-band/track-in-band-kate-ogg-addtrack.html: Copied from LayoutTests/media/track/in-band/track-in-band-srt-mkv-track-order.html.
  • media/track/in-band/track-in-band-kate-ogg-cues-added-once.html: Added.
  • media/track/in-band/track-in-band-kate-ogg-kind.html: Added.
  • media/track/in-band/track-in-band-kate-ogg-language.html: Added.
  • media/track/in-band/track-in-band-kate-ogg-mode.html: Added.
  • media/track/in-band/track-in-band-kate-ogg-style.html: Added.
  • media/track/in-band/track-in-band-kate-ogg-track-order.html: Added.
  • media/track/in-band/track-in-band-srt-mkv-addtrack-expected.txt: Added.
  • media/track/in-band/track-in-band-srt-mkv-addtrack.html: Copied from LayoutTests/media/track/in-band/track-in-band-srt-mkv-track-order.html.
  • media/track/in-band/track-in-band-srt-mkv-cues-added-once.html: Added.
  • media/track/in-band/track-in-band-srt-mkv-kind.html: Added.
  • media/track/in-band/track-in-band-srt-mkv-language.html: Added.
  • media/track/in-band/track-in-band-srt-mkv-mode.html: Added.
  • media/track/in-band/track-in-band-srt-mkv-style.html: Added.
  • media/track/in-band/track-in-band-srt-mkv-track-order.html: Added.
  • media/track/video/video-track-mkv-theora-addtrack-expected.txt: Added.
  • media/track/video/video-track-mkv-theora-addtrack.html: Copied from LayoutTests/media/track/in-band/track-in-band-srt-mkv-track-order.html.
  • media/track/video/video-track-mkv-theora-language-expected.txt: Added.
  • media/track/video/video-track-mkv-theora-language.html: Copied from LayoutTests/media/track/in-band/track-in-band-kate-ogg-track-order.html.
  • media/track/video/video-track-mkv-theora-selected-expected.txt: Added.
  • media/track/video/video-track-mkv-theora-selected.html: Added.
  • platform/mac/TestExpectations: Ignore audio and video track tests on mac.
7:40 AM Changeset in webkit [158435] by Antoine Quint
  • 2 edits in trunk/Source/WebInspectorUI

Remove custom Element.prototype.remove() in favor of native version
https://bugs.webkit.org/show_bug.cgi?id=123607

Reviewed by Timothy Hatcher.

  • UserInterface/Utilities.js:
7:09 AM Changeset in webkit [158434] by Patrick Gansterer
  • 3 edits in trunk/Source/WebKit/win

[WIN] Reduce usage of CFSTR() in WebPreferences
https://bugs.webkit.org/show_bug.cgi?id=121827

Reviewed by Brent Fulgham.

This moved the dependency on CF to a few functions only
and is a first step to make it compile without CF.

  • WebPreferences.cpp:
  • WebPreferences.h:
6:57 AM Changeset in webkit [158433] by Patrick Gansterer
  • 2 edits in trunk/Source/WTF

Buildfix for !USE(ICU_UNICODE) after 156968.

  • wtf/unicode/CollatorDefault.cpp:

(WTF::Collator::userDefault):

5:48 AM Changeset in webkit [158432] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

Buildfix for !ENABLE(INSPECTOR) after 157288.

  • inspector/InspectorInstrumentation.h:

(WebCore::InspectorInstrumentation::willDispatchEvent):

5:43 AM Changeset in webkit [158431] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/LayoutTests

Unreviewed, EFL gardening. Skip webgl tests because EFL port doesn't fully support webgl yet.

  • platform/efl/TestExpectations:
5:09 AM Changeset in webkit [158430] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/LayoutTests

Unreviewed, EFL gardening. css3 text tests are failing since r158389

  • platform/efl/TestExpectations: Add failure tests.
4:54 AM Changeset in webkit [158429] by mario@webkit.org
  • 3 edits in trunk/LayoutTests

Unreviewed GTK gardening. Tests passing after r158273 and r158352
and rebaseline needed after r158195.

  • platform/gtk/TestExpectations: Removed tests now passing.
  • platform/gtk/accessibility/media-element-expected.txt: Rebaseline.
3:59 AM Changeset in webkit [158428] by mario@webkit.org
  • 13 edits in trunk

[ATK] Avoid explicit traversal of text controls and the render tree in AtkText implementation
https://bugs.webkit.org/show_bug.cgi?id=123153

Reviewed by Chris Fleizach.

Source/WebCore:

Remove functions from the AtkText implementation that manually
walk the render tree to compose the text for a exposed objects in
certain cases (e.g. anonymous blocks, text controls).

The reason for this change is that the current implementation
follows an error-prone approach, since by doing things like
manually walking the render tree from here we are not properly
considering all the possible scenarios that might happen when
traversing text. This, however, is a task that is better suited
for the TextIterator, which is already written to consider all
those cases and to emit the proper character in every single
situation: text nodes, replaced objects and so on.

So, by removing all that too specific code (textForObject() and
textForRenderer() mainly) from WebKitAccessibleInterfaceText.cpp
and relying in AccessibilityObject::textUnderElement(), which it
ends up using the TextIterator for certain cases, we have a much
better and robust method of retrieving the text associated with an
instance of AtkObject implementing the AtkText interface.

  • accessibility/atk/WebKitAccessibleInterfaceText.cpp:

(webkitAccessibleTextGetText): Removed call to textForObject(), now that
we have just removed that function, together with textForRenderer().

Make AccessibilityRenderObject::textUnderElement() able to deal with
anonymous blocks directly, by creating a range based in the boundaries
defined by the first and last child renderers for that block. This will
make possible to treat an anonymous block as a whole instead of having
to rely in the concatenation of each of its children, as it does now.

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::textUnderElement): Added a new code
path to deal with anonymous blocks for text renderers, or when including
all the children is explicitly requested.

Modified TextIterator so text for children of replaced objects are
ignored if we are emmiting the special character for those objects.

  • editing/TextIterator.cpp:

(WebCore::TextIterator::handleReplacedElement): Make sure no children are
handled a replaced object if m_emitsObjectReplacementCharacters is set.

  • editing/TextIterator.h: Updated m_emitsObjectReplacementCharacters

description to reflect the new behavior.

LayoutTests:

Updated test expectations to properly reflect the new reality when it
comes to exposing replaced objects and anymous blocks.

  • platform/gtk/accessibility/table-with-rules-expected.txt: Updated to

print <\n> explicitly for the two instances of <BR> that are present in the
test, that will be included as part of an anonymous block.

  • platform/efl/accessibility/table-with-rules-expected.txt: Ditto.
  • platform/efl-wk2/accessibility/table-with-rules-expected.txt: Ditto.
  • platform/efl/accessibility/deleting-iframe-destroys-axcache-expected.txt: Updated

expectations not to expect the text of a button to be shown.

  • platform/gtk/accessibility/deleting-iframe-destroys-axcache-expected.txt: Ditto.
  • platform/gtk/accessibility/replaced-objects-in-anonymous-blocks-expected.txt: Ditto.
  • platform/gtk/TestExpectations: Removed replaced-objects-in-anonymous-blocks.html

from the list of expected failures, as it's now being properly exposed.

12:15 AM Changeset in webkit [158427] by ap@apple.com
  • 6 edits
    4 copies
    4 adds in trunk

Add a Mac WebCrypto implementation of HMAC importKey/sign/verify
https://bugs.webkit.org/show_bug.cgi?id=123598

Reviewed by Anders Carlsson.

Source/WebCore:

Test: crypto/subtle/hmac-sign-verify.html

  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSSubtleCryptoCustom.cpp: Added property svn:eol-style.

(WebCore::createAlgorithmFromJSValue):
(WebCore::cryptoOperationDataFromJSValue):
(WebCore::cryptoKeyFormatFromJSValue):
(WebCore::cryptoKeyUsagesFromJSValue):
(WebCore::JSSubtleCrypto::sign):
(WebCore::JSSubtleCrypto::verify):
(WebCore::JSSubtleCrypto::digest):
(WebCore::JSSubtleCrypto::importKey):

  • crypto/SubtleCrypto.idl:
  • crypto/algorithms/CryptoAlgorithmHMAC.cpp: Added.

(WebCore::CryptoAlgorithmHMAC::CryptoAlgorithmHMAC):
(WebCore::CryptoAlgorithmHMAC::~CryptoAlgorithmHMAC):
(WebCore::CryptoAlgorithmHMAC::create):
(WebCore::CryptoAlgorithmHMAC::identifier):
(WebCore::CryptoAlgorithmHMAC::importKey):
(WebCore::CryptoAlgorithmHMAC::exportKey):

  • crypto/algorithms/CryptoAlgorithmHMAC.h: Added.
  • crypto/keys: Added.
  • crypto/keys/CryptoKeyHMAC.cpp: Added.

(WebCore::CryptoKeyHMAC::CryptoKeyHMAC):
(WebCore::CryptoKeyHMAC::~CryptoKeyHMAC):
(WebCore::CryptoKeyHMAC::buildAlgorithmDescription):

  • crypto/keys/CryptoKeyHMAC.h: Added.
  • crypto/mac/CryptoAlgorithmHMACMac.cpp: Added.

(WebCore::getCommonCryptoAlgorithm):
(WebCore::calculateSignature):
(WebCore::CryptoAlgorithmHMAC::sign):
(WebCore::CryptoAlgorithmHMAC::verify):
(WebCore::CryptoAlgorithmHMAC::generateKey):

  • crypto/mac/CryptoAlgorithmRegistryMac.cpp:

(WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms):

LayoutTests:

  • crypto/subtle/hmac-sign-verify-expected.txt: Added.
  • crypto/subtle/hmac-sign-verify.html: Added.
12:15 AM Changeset in webkit [158426] by ryuan.choi@samsung.com
  • 2 edits in trunk/Source/WebKit/efl

[EFL][WK1] Rendering is broken when scrolled ewk_view_single repeatedly
https://bugs.webkit.org/show_bug.cgi?id=123609

Reviewed by Gyuyoung Kim.

ewk_view_single adds wrong updateRects except last one in scrolls_process,
because previous updateRects are not considered accumulated scrollOffsets.

  • ewk/ewk_view_single.cpp:

(_ewk_view_single_smart_scrolls_process):
Merged scrollOffsets to calculate updateRects once.
It will also reduce unnecessary memory copy operations.

Oct 31, 2013:

10:13 PM Changeset in webkit [158425] by oliver@apple.com
  • 8 edits in trunk

JavaScript parser bug
https://bugs.webkit.org/show_bug.cgi?id=123506

Reviewed by Mark Lam.

Source/JavaScriptCore:

Add ParserState as an abstraction and use that to save and restore
the parser state around nested functions (We'll need to use this in
more places in future). Also fix a minor error typo this testcases
hit.

  • parser/Parser.cpp:

(JSC::::parseFunctionInfo):
(JSC::::parseAssignmentExpression):

  • parser/Parser.h:

(JSC::Parser::saveState):
(JSC::Parser::restoreState):

LayoutTests:

Update and add tests

  • js/dom/assign-expected.txt:
  • js/function-toString-parentheses-expected.txt:
  • js/parser-syntax-check-expected.txt:
  • js/script-tests/parser-syntax-check.js:
8:28 PM Changeset in webkit [158424] by rniwa@webkit.org
  • 3 edits in trunk/LayoutTests

Update the test expectations for the bug 121452.

fast/frames/lots-of-objects.html and lots-of-iframes.html are timing out everywhere on Mac.

  • platform/mac-wk2/TestExpectations:
  • platform/mac/TestExpectations:
7:47 PM Changeset in webkit [158423] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

Update the Mac test expectation for the mac-future.

  • platform/mac/TestExpectations:
7:32 PM Changeset in webkit [158422] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit

Windows build fix attempt after r158421.

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
7:05 PM Changeset in webkit [158421] by commit-queue@webkit.org
  • 11 edits in trunk/Source/WebCore

Web Inspector: Clean up a few Inspector interfaces
https://bugs.webkit.org/show_bug.cgi?id=123594

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-31
Reviewed by Timothy Hatcher.

  • WebCore.exp.in:
  • inspector/InjectedScriptHost.cpp:
  • inspector/InspectorBaseAgent.h:

(WebCore::InspectorBaseAgentInterface::name):

  • inspector/InspectorConsoleAgent.cpp:
  • inspector/InspectorConsoleAgent.h:

(WebCore::InspectorConsoleAgent::enabled):

  • inspector/InspectorController.cpp:

(WebCore::InspectorController::profilerEnabled):

  • inspector/InspectorController.h:
  • inspector/InspectorDebuggerAgent.cpp:
  • inspector/InspectorDebuggerAgent.h:

(WebCore::InspectorDebuggerAgent::enabled):

  • inspector/InspectorRuntimeAgent.h:

(WebCore::InspectorRuntimeAgent::enabled):

6:45 PM Changeset in webkit [158420] by Lucas Forschler
  • 5 edits in branches/safari-537.73-branch/Source

Versioning.

6:42 PM Changeset in webkit [158419] by Lucas Forschler
  • 1 copy in tags/Safari-537.73.2

New Tag.

6:27 PM Changeset in webkit [158418] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

Fix a typo/review comment from Dan, in http://trac.webkit.org/changeset/158413

  • Shared/API/Cocoa/WKRemoteObjectCoder.mm:
6:16 PM Changeset in webkit [158417] by timothy_horton@apple.com
  • 11 edits in trunk/Source

Remote Layer Tree: Vend layer contents via IOSurfaces
https://bugs.webkit.org/show_bug.cgi?id=123600

Reviewed by Anders Carlsson.

  • Configurations/WebKit2.xcconfig:

Link WebKit2 against IOSurface.

  • Shared/mac/RemoteLayerTreeTransaction.mm:

(WebKit::dumpChangedLayers):
Dump the size of the backing store instead of the pointer of its
SharedBitmap, because that's slightly more useful.

  • UIProcess/mac/RemoteLayerTreeHost.mm:

(WebKit::RemoteLayerTreeHost::commit):
If a layer's backing store uses accelerated drawing, hand the IOSurface
to the CALayer for display.

  • WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:

(PlatformCALayerRemote::PlatformCALayerRemote):
Initialize contentsScale to 1 to match CA. Other properties will follow.

(PlatformCALayerRemote::ensureBackingStore):
Instead of replacing the RemoteLayerBackingStore when its properties
change, allow it to update them on the fly. Replacing them caused
us to throw away repaint rects when the accelerated drawing
flag was flipped.

(PlatformCALayerRemote::acceleratesDrawing):
(PlatformCALayerRemote::setAcceleratesDrawing):
Store the accelerated drawing flag and mark it dirty when it changes.

  • WebProcess/WebPage/mac/PlatformCALayerRemote.h:
  • WebProcess/WebPage/mac/RemoteLayerBackingStore.h:

(WebKit::RemoteLayerBackingStore::image):
Rename bitmap() to image() and have it create a CGImageRef from
the ShareableBitmap, ready for direct application to a CALayer.

(WebKit::RemoteLayerBackingStore::surface):
Return a IOSurface ready for direct application to a CALayer.

(WebKit::RemoteLayerBackingStore::acceleratesDrawing):
(WebKit::RemoteLayerBackingStore::hasFrontBuffer):
Return whether or not we have a front buffer/surface.

  • WebProcess/WebPage/mac/RemoteLayerBackingStore.mm:

Forward-declare some CGIOSurface SPI.

(RemoteLayerBackingStore::RemoteLayerBackingStore):
(RemoteLayerBackingStore::ensureBackingStore):
Throw away our front image and reset flags if needed.

(RemoteLayerBackingStore::encode):
(RemoteLayerBackingStore::decode):
En/decode the front surface instead of the ShareableBitmap if needed,
using CoreIPC::MachPort. Destroy the port on receipt.

(createIOSurfaceContext):
Create a CGIOSurfaceContext from an IOSurface.

(createIOSurface):
Create an IOSurface of the given size.

(RemoteLayerBackingStore::image):
Return a CGImageRef, if we're not using accelerated drawing.
Moved from the header.

(RemoteLayerBackingStore::display):
(RemoteLayerBackingStore::drawInContext):
If using accelerated drawing, create and paint into an IOSurface.
Reorganize some code to make the copying-from-the-front-image code
work for both software and IOSurfaces.
Flush the context when completed, to ensure that any asynchronous
painting is complete before we vend the surface to the UI process.

  • WebCore.exp.in:

Export sRGBColorSpaceRef.

  • WebCore.xcodeproj/project.pbxproj:

Expose GraphicsContextCG.h.

6:11 PM Changeset in webkit [158416] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Remove unused Page::setDebuggerForAllPages
https://bugs.webkit.org/show_bug.cgi?id=123602

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-31
Reviewed by Timothy Hatcher.

  • page/Page.cpp:
  • page/Page.h:
6:07 PM Changeset in webkit [158415] by commit-queue@webkit.org
  • 75 edits
    3 deletes in trunk/Source

Web Inspector: Remove InspectorState
https://bugs.webkit.org/show_bug.cgi?id=123547

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-31
Reviewed by Timothy Hatcher.

Source/WebCore:

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • WebCore.xcodeproj/project.pbxproj:
  • inspector/InspectorAgent.cpp:

(WebCore::InspectorAgent::InspectorAgent):

  • inspector/InspectorAgent.h:

(WebCore::InspectorAgent::create):

  • inspector/InspectorAllInOne.cpp:
  • inspector/InspectorApplicationCacheAgent.cpp:

(WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):

  • inspector/InspectorApplicationCacheAgent.h:

(WebCore::InspectorApplicationCacheAgent::create):

  • inspector/InspectorBaseAgent.cpp:

(WebCore::InspectorBaseAgentInterface::InspectorBaseAgentInterface):

  • inspector/InspectorBaseAgent.h:

(WebCore::InspectorBaseAgent::InspectorBaseAgent):

  • inspector/InspectorCSSAgent.cpp:

(WebCore::InspectorCSSAgent::InspectorCSSAgent):

  • inspector/InspectorCSSAgent.h:

(WebCore::InspectorCSSAgent::create):

  • inspector/InspectorCanvasAgent.cpp:

(WebCore::InspectorCanvasAgent::InspectorCanvasAgent):

  • inspector/InspectorCanvasAgent.h:

(WebCore::InspectorCanvasAgent::create):

  • inspector/InspectorClient.h:
  • inspector/InspectorConsoleAgent.cpp:

(WebCore::InspectorConsoleAgent::InspectorConsoleAgent):

  • inspector/InspectorConsoleAgent.h:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::connectFrontend):
(WebCore::InspectorController::disconnectFrontend):

  • inspector/InspectorController.h:
  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::InspectorDOMAgent):

  • inspector/InspectorDOMAgent.h:

(WebCore::InspectorDOMAgent::create):

  • inspector/InspectorDOMDebuggerAgent.cpp:

(WebCore::InspectorDOMDebuggerAgent::create):
(WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):

  • inspector/InspectorDOMDebuggerAgent.h:
  • inspector/InspectorDOMStorageAgent.cpp:

(WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):

  • inspector/InspectorDOMStorageAgent.h:

(WebCore::InspectorDOMStorageAgent::create):

  • inspector/InspectorDatabaseAgent.cpp:

(WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):

  • inspector/InspectorDatabaseAgent.h:

(WebCore::InspectorDatabaseAgent::create):

  • inspector/InspectorDebuggerAgent.cpp:

(WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):

  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorHeapProfilerAgent.cpp:

(WebCore::InspectorHeapProfilerAgent::create):
(WebCore::InspectorHeapProfilerAgent::InspectorHeapProfilerAgent):

  • inspector/InspectorHeapProfilerAgent.h:
  • inspector/InspectorIndexedDBAgent.cpp:

(WebCore::InspectorIndexedDBAgent::InspectorIndexedDBAgent):

  • inspector/InspectorIndexedDBAgent.h:

(WebCore::InspectorIndexedDBAgent::create):

  • inspector/InspectorInputAgent.cpp:

(WebCore::InspectorInputAgent::InspectorInputAgent):

  • inspector/InspectorInputAgent.h:

(WebCore::InspectorInputAgent::create):

  • inspector/InspectorLayerTreeAgent.cpp:

(WebCore::InspectorLayerTreeAgent::InspectorLayerTreeAgent):

  • inspector/InspectorLayerTreeAgent.h:

(WebCore::InspectorLayerTreeAgent::create):

  • inspector/InspectorMemoryAgent.cpp:

(WebCore::InspectorMemoryAgent::InspectorMemoryAgent):
(WebCore::InspectorMemoryAgent::create):

  • inspector/InspectorMemoryAgent.h:
  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::create):
(WebCore::InspectorPageAgent::InspectorPageAgent):

  • inspector/InspectorPageAgent.h:
  • inspector/InspectorProfilerAgent.cpp:

(WebCore::PageProfilerAgent::PageProfilerAgent):
(WebCore::InspectorProfilerAgent::create):
(WebCore::WorkerProfilerAgent::WorkerProfilerAgent):
(WebCore::InspectorProfilerAgent::InspectorProfilerAgent):

  • inspector/InspectorProfilerAgent.h:
  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::InspectorResourceAgent):

  • inspector/InspectorResourceAgent.h:

(WebCore::InspectorResourceAgent::create):

  • inspector/InspectorRuntimeAgent.cpp:

(WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):

  • inspector/InspectorRuntimeAgent.h:
  • inspector/InspectorState.cpp: Removed.
  • inspector/InspectorState.h: Removed.
  • inspector/InspectorStateClient.h: Removed.
  • inspector/InspectorTimelineAgent.cpp:

(WebCore::InspectorTimelineAgent::InspectorTimelineAgent):

  • inspector/InspectorTimelineAgent.h:

(WebCore::InspectorTimelineAgent::create):

  • inspector/InspectorWorkerAgent.cpp:

(WebCore::InspectorWorkerAgent::create):
(WebCore::InspectorWorkerAgent::InspectorWorkerAgent):

  • inspector/InspectorWorkerAgent.h:
  • inspector/PageConsoleAgent.cpp:

(WebCore::PageConsoleAgent::PageConsoleAgent):

  • inspector/PageConsoleAgent.h:

(WebCore::PageConsoleAgent::create):

  • inspector/PageDebuggerAgent.cpp:

(WebCore::PageDebuggerAgent::create):
(WebCore::PageDebuggerAgent::PageDebuggerAgent):

  • inspector/PageDebuggerAgent.h:
  • inspector/PageRuntimeAgent.cpp:

(WebCore::PageRuntimeAgent::PageRuntimeAgent):

  • inspector/PageRuntimeAgent.h:

(WebCore::PageRuntimeAgent::create):

  • inspector/WorkerConsoleAgent.cpp:

(WebCore::WorkerConsoleAgent::WorkerConsoleAgent):

  • inspector/WorkerConsoleAgent.h:

(WebCore::WorkerConsoleAgent::create):

  • inspector/WorkerDebuggerAgent.cpp:

(WebCore::WorkerDebuggerAgent::create):
(WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):

  • inspector/WorkerDebuggerAgent.h:
  • inspector/WorkerInspectorController.cpp:

(WebCore::WorkerInspectorController::WorkerInspectorController):
(WebCore::WorkerInspectorController::connectFrontend):
(WebCore::WorkerInspectorController::disconnectFrontend):

  • inspector/WorkerInspectorController.h:
  • inspector/WorkerRuntimeAgent.cpp:

(WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent):

  • inspector/WorkerRuntimeAgent.h:

(WebCore::WorkerRuntimeAgent::create):

  • workers/DefaultSharedWorkerRepository.cpp:

(WebCore::SharedWorkerProxy::postMessageToPageInspector):

  • workers/WorkerMessagingProxy.cpp:

(WebCore::WorkerMessagingProxy::postMessageToPageInspector):

  • workers/WorkerMessagingProxy.h:
  • workers/WorkerReportingProxy.h:

Source/WebKit/blackberry:

  • WebCoreSupport/InspectorClientBlackBerry.cpp:
  • WebCoreSupport/InspectorClientBlackBerry.h:
6:01 PM Changeset in webkit [158414] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/win

Compile fix for VS2012.
https://bugs.webkit.org/show_bug.cgi?id=123599

Patch by Alex Christensen <achristensen@webkit.org> on 2013-10-31
Reviewed by Brent Fulgham.

  • WebCoreSupport/WebFrameLoaderClient.cpp:

(WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate):
(WebFrameLoaderClient::cancelPolicyCheck):
(WebFrameLoaderClient::receivedPolicyDecision):
Use nullptr instead of 0 for m_policyFunction, which is a std::function.

5:48 PM Changeset in webkit [158413] by andersca@apple.com
  • 4 edits
    3 adds in trunk/Source/WebKit2

Begin stubbing out the WKRemoteObjectCoder NSCoder subclass
https://bugs.webkit.org/show_bug.cgi?id=123596

Reviewed by Tim Horton.

  • Shared/API/Cocoa/WKRemoteObject.mm:

(-[WKRemoteObject forwardInvocation:]):
Call through to the WKRemoteObjectRegistry.

  • Shared/API/Cocoa/WKRemoteObjectCoder.h: Added.
  • Shared/API/Cocoa/WKRemoteObjectCoder.mm: Added.

(-[WKRemoteObjectEncoder init]):
Create a root WKDictionary.

(-[WKRemoteObjectEncoder dealloc]):
Assert that the current dictionary is the root dictionary; that we're back where we started.

(-[WKRemoteObjectEncoder allowsKeyedCoding]):
Return YES.

(-[WKRemoteObjectEncoder encodeObject:forKey:]):
Check that the object is valid and then encode it.

(-[WKRemoteObjectEncoder _encodeInvocation:forKey:]):
Encode the method type string and invocation selector.

(-[WKRemoteObjectEncoder encodeBytes:length:forKey:]):
Create a WKDataRef and add it to the dictionary.

(-[WKRemoteObjectEncoder _encodeObjectForKey:usingBlock:]):
Create a new dictionary and call the block.

  • Shared/API/Cocoa/WKRemoteObjectRegistry.mm:

(-[WKRemoteObjectRegistry _sendInvocation:interface:]):
Create an encoder and encode the invocation and interface.

  • Shared/API/Cocoa/WKRemoteObjectRegistryInternal.h: Added.

Add IPI header.

  • WebKit2.xcodeproj/project.pbxproj:

Add new files.

5:45 PM Changeset in webkit [158412] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

FTL Int32ToDouble should handle the forward type check case where you need a recovery
https://bugs.webkit.org/show_bug.cgi?id=123605

Reviewed by Mark Hahnenberg.

If you have a Int32ToDouble that needs to do a type check and it's required to do a
forward exit, then it needs to manually pass in a value recovery for itself in the
OSR exit - since this is one of those forward-exiting nodes that doesn't have a
preceding MovHint.

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileInt32ToDouble):
(JSC::FTL::LowerDFGToLLVM::forwardTypeCheck):

5:35 PM Changeset in webkit [158411] by Lucas Forschler
  • 4 edits
    2 copies in branches/safari-537.73-branch

Merged r157183. <rdar://problem/15333287>

5:31 PM Changeset in webkit [158410] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

Address review comments.

  • Shared/API/Cocoa/WKRemoteObject.h:
  • Shared/API/Cocoa/WKRemoteObject.mm:

(-[WKRemoteObject conformsToProtocol:]):

5:05 PM Changeset in webkit [158409] by beidson@apple.com
  • 5 edits
    1 add in trunk/Source/WebCore

Split PendingDeleteCall into its own header
https://bugs.webkit.org/show_bug.cgi?id=123597

Reviewed by Beth “Okay I guess so, bro” Dakin.

  • GNUmakefile.list.am:
  • WebCore.xcodeproj/project.pbxproj:
  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(WebCore::IDBDatabaseBackendImpl::processPendingCalls):
(WebCore::IDBDatabaseBackendImpl::deleteDatabase):

  • Modules/indexeddb/IDBDatabaseBackendImpl.h:
  • Modules/indexeddb/IDBPendingDeleteCall.h: Added.

(WebCore::IDBPendingDeleteCall::create):
(WebCore::IDBPendingDeleteCall::callbacks):
(WebCore::IDBPendingDeleteCall::IDBPendingDeleteCall):

5:01 PM Changeset in webkit [158408] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebCore

Web Inspector: Convert some InspectorObject member variables to HashSet/HashMap
https://bugs.webkit.org/show_bug.cgi?id=123579

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-31
Reviewed by Timothy Hatcher.

  • inspector/InspectorDOMDebuggerAgent.h:
  • inspector/InspectorDOMDebuggerAgent.cpp:

(WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
(WebCore::InspectorDOMDebuggerAgent::setBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::removeBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded):
(WebCore::InspectorDOMDebuggerAgent::setXHRBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::removeXHRBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
Make m_eventListenerBreakpoints and m_xhrBreakpoints HashSet.

  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorDebuggerAgent.cpp:

(WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
(WebCore::InspectorDebuggerAgent::disable):
(WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
(WebCore::InspectorDebuggerAgent::removeBreakpoint):
(WebCore::InspectorDebuggerAgent::didParseSource):
Make m_javaScriptBreakpoints a HashMap.

4:56 PM Changeset in webkit [158407] by andersca@apple.com
  • 6 edits
    1 copy
    1 add in trunk

Add a WKRemoteObject class
https://bugs.webkit.org/show_bug.cgi?id=123586

Reviewed by Dan Bernstein.

Source/WebKit2:

  • Shared/API/Cocoa/WKRemoteObject.h: Added.
  • Shared/API/Cocoa/WKRemoteObject.mm: Added.

(-[WKRemoteObject _initWithObjectRegistry:interface:]):
Add designated initializer.

(-[WKRemoteObject conformsToProtocol:]):
Check if the interface protocol conforms to our protocol.

(methodArgumentTypeEncodingForSelector):
Helper function that looks up a method in a given protocol and returns its type encoding.

(-[WKRemoteObject methodSignatureForSelector:]):
Try to find the method argument type encoding for the given selector and return its NSMethodSignature.

(-[WKRemoteObject forwardInvocation:]):
Add stub.

  • Shared/API/Cocoa/WKRemoteObjectInterface.mm:

Remove a newline.

  • Shared/API/Cocoa/WKRemoteObjectRegistry.mm:

(-[WKRemoteObjectRegistry remoteObjectProxyWithInterface:]):
Establish a mapping between interface identifiers and remote object proxies.

  • WebKit2.xcodeproj/project.pbxproj:

Tools:

  • TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm:

(TestWebKitAPI::TEST):
Add a conformsToProtocol: test.

4:30 PM Changeset in webkit [158406] by Lucas Forschler
  • 19 edits
    9 copies in tags/Safari-538.4

Rollout r158288, r158291, r158295, r158311, r158318.

4:23 PM Changeset in webkit [158405] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

Correct the elapsedTime calculation in SVG animations
https://bugs.webkit.org/show_bug.cgi?id=119289

Patch by Youenn Fablet <youennf@gmail.com> on 2013-10-31
Reviewed by Brent Fulgham.

Merged from Blink: https://chromium.googlesource.com/chromium/blink/+/338f9badca7fb7880abdb0cecd5f02493c1f7d2e

Source/WebCore:

Test: svg/animations/getCurrentTime-pause-unpause.html

  • svg/animation/SMILTimeContainer.cpp:

(WebCore::SMILTimeContainer::SMILTimeContainer):
(WebCore::SMILTimeContainer::elapsed):
(WebCore::SMILTimeContainer::begin):
(WebCore::SMILTimeContainer::pause):
(WebCore::SMILTimeContainer::resume):
(WebCore::SMILTimeContainer::setElapsed):

  • svg/animation/SMILTimeContainer.h:

LayoutTests:

  • svg/animations/getCurrentTime-pause-unpause-expected.txt: Added.
  • svg/animations/getCurrentTime-pause-unpause.html: Added.
4:12 PM Changeset in webkit [158404] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebInspectorUI

Web Inspector: Breakpoints in auto-formatted JavaScript editors are not working
https://bugs.webkit.org/show_bug.cgi?id=123589

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-31
Reviewed by Timothy Hatcher.

The internal this._ignoreCodeMirrorContentDidChangeEvent flag was being used
in two places that could be nested, meaning the flag was deleted while it
was still expected to be set. Change it instead to a counter, to handle nesting.

  • UserInterface/TextEditor.js:

(WebInspector.TextEditor):
(WebInspector.TextEditor.prototype.set string):
(WebInspector.TextEditor.prototype.set formatted):
(WebInspector.TextEditor.prototype._contentChanged):

3:57 PM Changeset in webkit [158403] by Lucas Forschler
  • 3 edits in tags/Safari-538.4/Source/WebCore

Merged r158391. <rdar://problem/15246606>

3:49 PM Changeset in webkit [158402] by fpizlo@apple.com
  • 4 edits in trunk/Source/JavaScriptCore

FTL should implement InvalidationPoint in terms of llvm.stackmap
https://bugs.webkit.org/show_bug.cgi?id=113647

Reviewed by Mark Hahnenberg.

This is pretty straightforward now that InvalidationPoint has exactly the semantics
that agree with llvm.stackmap.

  • ftl/FTLCompile.cpp:

(JSC::FTL::fixFunctionBasedOnStackMaps):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileInvalidationPoint):
(JSC::FTL::LowerDFGToLLVM::emitOSRExitCall):
(JSC::FTL::LowerDFGToLLVM::buildExitArguments):
(JSC::FTL::LowerDFGToLLVM::callStackmap):

  • ftl/FTLOSRExitCompilationInfo.h:

(JSC::FTL::OSRExitCompilationInfo::OSRExitCompilationInfo):

3:38 PM Changeset in webkit [158401] by oliver@apple.com
  • 9 edits in trunk

Source/JavaScriptCore: Implement basic ES6 Math functions
https://bugs.webkit.org/show_bug.cgi?id=123536

Reviewed by Michael Saboff.

Fairly trivial patch to implement the core ES6 Math functions.

This doesn't implement Math.hypot as it is not a trivial function.
I've also skipped Math.sign as I am yet to be convinced the spec
behaviour is good. Everything else is trivial.

  • runtime/MathObject.cpp:

(JSC::MathObject::finishCreation):
(JSC::mathProtoFuncACosh):
(JSC::mathProtoFuncASinh):
(JSC::mathProtoFuncATanh):
(JSC::mathProtoFuncCbrt):
(JSC::mathProtoFuncCosh):
(JSC::mathProtoFuncExpm1):
(JSC::mathProtoFuncFround):
(JSC::mathProtoFuncLog1p):
(JSC::mathProtoFuncLog10):
(JSC::mathProtoFuncLog2):
(JSC::mathProtoFuncSinh):
(JSC::mathProtoFuncTanh):
(JSC::mathProtoFuncTrunc):

Source/WTF: Implement basic ES6 Math functions
https://bugs.webkit.org/show_bug.cgi?id=123536

Reviewed by Michael Saboff.

Add basic implementations of necessary methods to MathExtras to
deal with MSVC not supplying them

  • wtf/MathExtras.h:

(asinh):
(acosh):
(atanh):
(expm1):
(log1p):
(cbrt):

LayoutTests: Implement ES6 Math functions
https://bugs.webkit.org/show_bug.cgi?id=123536

Reviewed by Michael Saboff.

Add tests for new math functions

  • js/Object-getOwnPropertyNames-expected.txt:
  • js/math-expected.txt:
  • js/script-tests/Object-getOwnPropertyNames.js:
  • js/script-tests/math.js:
3:29 PM Changeset in webkit [158400] by fpizlo@apple.com
  • 4 edits in trunk/Source/JavaScriptCore

FTL::Location::restoreInto() doesn't handle stack-related registers correctly if you're using it after pushing a new stack frame
https://bugs.webkit.org/show_bug.cgi?id=123591

Reviewed by Mark Hahnenberg.

This gets us to pass more tests with ftlUsesStackmaps.

  • ftl/FTLLocation.cpp:

(JSC::FTL::Location::restoreInto):

  • ftl/FTLLocation.h:
  • ftl/FTLThunks.cpp:

(JSC::FTL::osrExitGenerationWithStackMapThunkGenerator):

3:21 PM Changeset in webkit [158399] by Lucas Forschler
  • 8 edits in branches/safari-537.73-branch/Source

Merged r157056. <rdar://problem/15357230>

2:59 PM Changeset in webkit [158398] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

Manage line-grid RootInlineBox with unique_ptr.
<https://webkit.org/b/123583>

Use smart pointers for the RenderBlockFlow's optional line-grid box
instead of manual new/delete.

Reviewed by Antti Koivisto.

2:50 PM Changeset in webkit [158397] by Lucas Forschler
  • 2 edits in branches/safari-537.73-branch/Source/WebInspectorUI

Merged r156481. <rdar://problem/15168249>

2:50 PM Changeset in webkit [158396] by ap@apple.com
  • 18 edits
    19 moves
    3 adds in trunk

Enable WebCrypto on Mac
https://bugs.webkit.org/show_bug.cgi?id=123587

Reviewed by Anders Carlsson.

Source/JavaScriptCore:

  • Configurations/FeatureDefines.xcconfig: Do it.

Source/WebCore:

  • Configurations/FeatureDefines.xcconfig: Enable it.
  • bindings/js/JSCryptoAlgorithmDictionary.cpp: Build fix.
  • crypto/CryptoAlgorithmRegistry.cpp: (WebCore::CryptoAlgorithmRegistry::getIdentifierForName):

Special case empty keys to avoid upsetting HashMap.

  • crypto/algorithms/CryptoAlgorithmSHA1.cpp: (WebCore::CryptoAlgorithmSHA1::create):

Build fix. Can't use make_unique, because constructor is private.

Source/WebKit/mac:

  • Configurations/FeatureDefines.xcconfig: Do it.

Source/WebKit2:

  • Configurations/FeatureDefines.xcconfig: Do it.

LayoutTests:

  • TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/win/TestExpectations:
  • platform/wincairo/TestExpectations:

Only skipping on specific platforms now.

  • crypto: Added.
  • crypto/crypto-gc-expected.txt: Copied from LayoutTests/security/crypto-gc-expected.txt.
  • crypto/crypto-gc.html: Copied from LayoutTests/security/crypto-gc.html.
  • crypto/crypto-random-values-expected.txt: Copied from LayoutTests/security/crypto-random-values-expected.txt.
  • crypto/crypto-random-values-limits-expected.txt: Copied from LayoutTests/security/crypto-random-values-limits-expected.txt.
  • crypto/crypto-random-values-limits.html: Copied from LayoutTests/security/crypto-random-values-limits.html.
  • crypto/crypto-random-values-types-expected.txt: Copied from LayoutTests/security/crypto-random-values-types-expected.txt.
  • crypto/crypto-random-values-types.html: Copied from LayoutTests/security/crypto-random-values-types.html.
  • crypto/crypto-random-values.html: Copied from LayoutTests/security/crypto-random-values.html.
  • crypto/subtle: Added.
  • crypto/subtle/argument-conversion-expected.txt: Copied from LayoutTests/security/crypto-subtle-arguments-expected.txt.
  • crypto/subtle/argument-conversion.html: Copied from LayoutTests/security/crypto-subtle-arguments.html.
  • crypto/subtle/gc-2-expected.txt: Copied from LayoutTests/security/crypto-subtle-gc-2-expected.txt.
  • crypto/subtle/gc-2.html: Copied from LayoutTests/security/crypto-subtle-gc-2.html.
  • crypto/subtle/gc-3-expected.txt: Copied from LayoutTests/security/crypto-subtle-gc-3-expected.txt.
  • crypto/subtle/gc-3.html: Copied from LayoutTests/security/crypto-subtle-gc-3.html.
  • crypto/subtle/gc-expected.txt: Copied from LayoutTests/security/crypto-subtle-gc-expected.txt.
  • crypto/subtle/gc.html: Copied from LayoutTests/security/crypto-subtle-gc.html.
  • crypto/subtle/resources: Added.
  • crypto/subtle/resources/common.js: Copied from LayoutTests/security/resources/common.js.
  • crypto/subtle/sha-1-expected.txt: Copied from LayoutTests/security/crypto-subtle-sha1-expected.txt.
  • crypto/subtle/sha-1.html: Copied from LayoutTests/security/crypto-subtle-sha1.html.
  • security/crypto-gc-expected.txt: Removed.
  • security/crypto-gc.html: Removed.
  • security/crypto-random-values-expected.txt: Removed.
  • security/crypto-random-values-limits-expected.txt: Removed.
  • security/crypto-random-values-limits.html: Removed.
  • security/crypto-random-values-types-expected.txt: Removed.
  • security/crypto-random-values-types.html: Removed.
  • security/crypto-random-values.html: Removed.
  • security/crypto-subtle-arguments-expected.txt: Removed.
  • security/crypto-subtle-arguments.html: Removed.
  • security/crypto-subtle-gc-2-expected.txt: Removed.
  • security/crypto-subtle-gc-2.html: Removed.
  • security/crypto-subtle-gc-3-expected.txt: Removed.
  • security/crypto-subtle-gc-3.html: Removed.
  • security/crypto-subtle-gc-expected.txt: Removed.
  • security/crypto-subtle-gc.html: Removed.
  • security/crypto-subtle-sha1-expected.txt: Removed.
  • security/crypto-subtle-sha1.html: Removed.
  • security/resources/common.js: Removed.

Moved tests from security/ to crypto/.

2:29 PM Changeset in webkit [158395] by Lucas Forschler
  • 2 edits in branches/safari-537.73-branch/Source/WebInspectorUI

Merged r154897. <rdar://problem/15168237>

2:24 PM Changeset in webkit [158394] by Lucas Forschler
  • 2 edits in branches/safari-537.73-branch/Source/WebInspectorUI

Merged r153087. <rdar://problem/15168237>

2:15 PM Changeset in webkit [158393] by rniwa@webkit.org
  • 2 edits
    2 adds in trunk/Tools

build.webkit.org should have a clean build button
https://bugs.webkit.org/show_bug.cgi?id=123559

Reviewed by Darin Adler.

Add a new "clean" forced scheduler. When a build was created by this scheduler, CleanBuildIfScheduled
step executes clean-build script that removes the WebKitBuild directory.

Also added make-passwords-json.py which creates a fake passwords.json from config.json for testing purposes.

  • BuildSlaveSupport/build.webkit.org-config/make-passwords-json.py: Added.
  • BuildSlaveSupport/build.webkit.org-config/master.cfg:

(CleanBuildIfScheduled): Added.
(CleanBuildIfScheduled.start): Added. Don't do a clean build if if this build wasn't schecueld by
the clean build scheduler.
(DeleteStaleBuildFiles): Added.
(DeleteStaleBuildFiles.start): Added. Don't delete stale build files if this build was scheduled by
the clean build scheduler since everything in the WebKitBuild directory had already been removed.
(Factory.init): Always add CleanBuildIfScheduled. The step itself checks whether to run
clean-build script or hide itself.
(loadBuilderConfig): Added the new clean build scheduler. Also make ForceScheduler future proof; in newer
versions of buildbot, builderNames needs to be a list of regular strings.

  • BuildSlaveSupport/clean-build: Added.
2:14 PM Changeset in webkit [158392] by commit-queue@webkit.org
  • 6 edits in trunk/Source/WebCore

Underline bounds cannot be queried before underline itself is drawn
https://bugs.webkit.org/show_bug.cgi?id=123310

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-10-31
Reviewed by Dean Jackson.

GraphicsContext's drawLineForText function is used to draw underlines,
strikethroughs, and overlines. Before drawing the line, this function
modifies the bounds given to it in order to make underlines crisp. However,
this means that it is impossible to know where an underline will be drawn
before drawing it. This patch pulls out this adjustment computation into
GraphicsContext::computeLineBoundsForText, then passes the result to
drawLineForText

Because there should be no observable difference, no tests need to be updated.

  • platform/graphics/GraphicsContext.h: Signature of new computeLineBoundsForText

function

  • platform/graphics/blackberry/PathBlackBerry.cpp:

(WebCore::GraphicsContext::computeLineBoundsForText): Implement new function

  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::GraphicsContext::computeLineBoundsForText): Ditto
(WebCore::GraphicsContext::drawLineForText): Use computeLineBoundsForText

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::computeLineBoundsAndAntialiasingModeForText): Static function that
performs the actual bounds computation
(WebCore::GraphicsContext::computeLineBoundsForText): Calls
computeLineBoundsAndAntialiasingModeForText
(WebCore::GraphicsContext::drawLineForText): Use new function

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::GraphicsContext::computeLineBoundsForText): Implement new function

2:03 PM Changeset in webkit [158391] by Beth Dakin
  • 3 edits in trunk/Source/WebCore

Repro scrolling crash with scrollbars that use setPresentationValue on the
scrolling thread
https://bugs.webkit.org/show_bug.cgi?id=123549
-and corresponding-
<rdar://problem/15246606>

Reviewed by Brady Eidson.

Here's another speculative fix. If a scrollbar was removed, we would not properly
inform the scrolling thread. Instead of checking supportsUpdateOnSecondaryThread()
before calling setScrollbarPaintersFromScrollbars(), check it from within
setScrollbarPaintersFromScrollbars(), and this will allow the ScrollbarPainter to
be properly updated.

  • page/scrolling/mac/ScrollingCoordinatorMac.mm:

(WebCore::ScrollingCoordinatorMac::frameViewLayoutUpdated):

  • page/scrolling/mac/ScrollingStateScrollingNodeMac.mm:

(WebCore::ScrollingStateScrollingNode::setScrollbarPaintersFromScrollbars):

1:13 PM Changeset in webkit [158390] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

Unreviewed typo fix after 158386. (buildfix after r158365)

  • Modules/mediastream/UserMediaRequest.cpp:

(WebCore::UserMediaRequest::callSuccessHandler):

1:11 PM Changeset in webkit [158389] by commit-queue@webkit.org
  • 30 edits
    4 adds in trunk

Move CSS3 text decoration implementation behind ENABLE(CSS3_TEXT_DECORATION)
https://bugs.webkit.org/show_bug.cgi?id=123541

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-10-31
Reviewed by Tim Horton.

Source/WebCore:

Enabled CSS3 text decoration tests

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::renderTextDecorationStyleFlagsToCSSValue): Mapping internal
representation to a CSSValue
(WebCore::ComputedStyleExtractor::propertyValue): Ditto

  • css/CSSParser.cpp: Moving parsing functions behind new flag

(WebCore::isColorPropertyID):
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::addTextDecorationProperty):
(WebCore::CSSParser::parseTextDecorationSkip):
(WebCore::CSSParser::parseTextUnderlinePosition):

  • css/CSSParser.h:
  • css/CSSPrimitiveValueMappings.h:
  • css/CSSPropertyNames.in: Marking the new properties behind new flag
  • css/CSSValueKeywords.in: Marking new values behind new flag
  • css/DeprecatedStyleBuilder.cpp:

(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):

  • css/StylePropertyShorthand.cpp:

(WebCore::shorthandForProperty): Move text decoration shorthand
(WebCore::matchingShorthandsForLonghand):

  • css/StylePropertyShorthand.h:
  • css/StyleResolver.cpp:

(WebCore::isValidVisitedLinkProperty):
(WebCore::StyleResolver::applyProperty):

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::GraphicsContext::setPlatformStrokeStyle):

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::GraphicsContext::drawLine):

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::createPen):

  • rendering/InlineFlowBox.cpp:
  • rendering/InlineFlowBox.h:
  • rendering/InlineTextBox.cpp:

(WebCore::textDecorationStyleToStrokeStyle):
(WebCore::computeUnderlineOffset):
(WebCore::InlineTextBox::paintDecoration):

  • rendering/RenderObject.cpp:

(WebCore::decorationColor):

  • rendering/RootInlineBox.cpp:
  • rendering/RootInlineBox.h:
  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline):
(WebCore::RenderStyle::colorIncludingFallback):
(WebCore::RenderStyle::visitedDependentColor):

  • rendering/style/RenderStyle.h:
  • rendering/style/RenderStyleConstants.h:
  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):

  • rendering/style/StyleRareInheritedData.h:
  • rendering/style/StyleRareNonInheritedData.cpp:

(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):

  • rendering/style/StyleRareNonInheritedData.h:

LayoutTests:

  • platform/mac/TestExpectations: Enable CSS3 text decoration tests

(since CSS3_TEXT_DECORATION is enabled by default)

12:50 PM Changeset in webkit [158388] by commit-queue@webkit.org
  • 11 edits in trunk/Source/WebKit2

[WK2] Convert SeccompFilters to using unique_ptr instead of OwnPtr/PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=122883

Patch by Sergio Correia <Sergio Correia> on 2013-10-31
Reviewed by Darin Adler.

  • Shared/linux/SeccompFilters/OpenSyscall.cpp:

(WebKit::OpenSyscall::createFromOpenatContext):
(WebKit::OpenSyscall::createFromCreatContext):
(WebKit::OpenSyscall::execute):

  • Shared/linux/SeccompFilters/OpenSyscall.h:
  • Shared/linux/SeccompFilters/SeccompBroker.cpp:

(WebKit::SIGSYSHandler):
(WebKit::SeccompBrokerClient::dispatch):
(WebKit::SeccompBroker::runLoop):

  • Shared/linux/SeccompFilters/SigactionSyscall.cpp:

(WebKit::SigactionSyscall::createFromContext):

  • Shared/linux/SeccompFilters/SigactionSyscall.h:
  • Shared/linux/SeccompFilters/SigprocmaskSyscall.cpp:

(WebKit::SigprocmaskSyscall::createFromContext):

  • Shared/linux/SeccompFilters/SigprocmaskSyscall.h:
  • Shared/linux/SeccompFilters/Syscall.cpp:

(WebKit::Syscall::createFromContext):
(WebKit::Syscall::createFromDecoder):
(WebKit::SyscallResult::createFromDecoder):

  • Shared/linux/SeccompFilters/Syscall.h:
  • Shared/linux/SeccompFilters/SyscallPolicy.cpp:
12:31 PM Changeset in webkit [158387] by ap@apple.com
  • 7 edits
    9 adds in trunk

[WebCrypto] Add SHA-1
https://bugs.webkit.org/show_bug.cgi?id=123582

Reviewed by Anders Carlsson.

Source/WebCore:

Tests: security/crypto-subtle-arguments.html

security/crypto-subtle-sha1.html

  • WebCore.xcodeproj/project.pbxproj: Added new files.
  • bindings/js/JSSubtleCryptoCustom.cpp:

(WebCore::createAlgorithmFromJSValue):
(WebCore::sequenceOfCryptoOperationDataFromJSValue):
(WebCore::JSSubtleCrypto::digest):

  • crypto/SubtleCrypto.idl:

Added bindings for crypto.digest.

  • crypto/algorithms: Added.
  • crypto/algorithms/CryptoAlgorithmSHA1.cpp: Added.
  • crypto/algorithms/CryptoAlgorithmSHA1.h: Added.
  • crypto/mac/CryptoAlgorithmRegistryMac.cpp:

(WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms): Register SHA-1.

  • crypto/mac/CryptoAlgorithmSHA1Mac.cpp: Added.

(WebCore::CryptoAlgorithmSHA1::digest): Performs the work synchronously, because
otherwise we'd have to copy the data first, which is crazy for something as simple
as hashing. We can change to a dispatch queue later if we find that it's actually
better to copy and do the work asynchronously.

LayoutTests:

  • security/resources/common.js: Added from Blink.

(importTestKeys):
(asciiToArrayBuffer):
(printRejectedResult):
(printAcceptedResult):
(failAndFinishJSTest):

  • security/crypto-subtle-arguments-expected.txt: Added.
  • security/crypto-subtle-arguments.html: Added.

Added tests for how bindings treat crazy arguments. Heavily based on a test from Blink.

  • security/crypto-subtle-sha1-expected.txt: Added.
  • security/crypto-subtle-sha1.html: Added.

Test that SHA-1 works.

12:22 PM Changeset in webkit [158386] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

One more speculative buildfix after r158365.

  • Modules/mediastream/UserMediaRequest.cpp:

(WebCore::UserMediaRequest::callSuccessHandler):

12:20 PM Changeset in webkit [158385] by fpizlo@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Unreviewed, really remove CachedTranscendentalFunction.h.

12:19 PM Changeset in webkit [158384] by fpizlo@apple.com
  • 22 edits
    6 adds
    1 delete in trunk

Remove CachedTranscendentalFunction because caching math functions is an ugly idea
https://bugs.webkit.org/show_bug.cgi?id=123574

Source/JavaScriptCore:

Reviewed by Mark Hahnenberg.

This is performance-neutral because I also make Math.cos/sin intrinsic. This means that
we gain the "overhead" of actually computing sin and cos but we lose the overhead of
going through the native call thunks.

Caching transcendental functions is a really ugly idea. It works for SunSpider because
that benchmark makes very predictable calls into Math.sin. But I don't believe that this
is representative of any kind of reality, and so for sensible uses of Math.sin/cos all
that this was doing was adding more call overhead and some hashing overhead.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::::executeEffects):

  • dfg/DFGBackwardsPropagationPhase.cpp:

(JSC::DFG::BackwardsPropagationPhase::propagate):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::handleIntrinsic):

  • dfg/DFGCSEPhase.cpp:

(JSC::DFG::CSEPhase::performNodeCSE):

  • dfg/DFGClobberize.h:

(JSC::DFG::clobberize):

  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixupNode):

  • dfg/DFGNodeType.h:
  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::doDoubleVoting):

  • dfg/DFGSafeToExecute.h:

(JSC::DFG::safeToExecute):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::callOperation):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • jit/JITOperations.h:
  • runtime/CachedTranscendentalFunction.h: Removed.
  • runtime/DateInstanceCache.h:
  • runtime/Intrinsic.h:
  • runtime/MathObject.cpp:

(JSC::MathObject::finishCreation):
(JSC::mathProtoFuncCos):
(JSC::mathProtoFuncSin):

  • runtime/VM.h:

Tools:

Reviewed by Mark Hahnenberg.

Make it easier to see that a test doesn't have an -expected file.

  • Scripts/run-jsc-stress-tests:

LayoutTests:

Reviewed by Mark Hahnenberg.

  • js/dfg-cos-constant-expected.txt: Added.
  • js/dfg-cos-constant.html: Added.
  • js/dfg-sin-constant-expected.txt: Added.
  • js/dfg-sin-constant.html: Added.
  • js/script-tests/dfg-cos-constant.js: Added.

(foo):

  • js/script-tests/dfg-sin-constant.js: Added.

(foo):

12:17 PM Changeset in webkit [158383] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

REGRESSION(r158348): Breaks Debug build
https://bugs.webkit.org/show_bug.cgi?id=123562

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2013-10-31
Reviewed by Brady Eidson.

Remove an unnecessary check that cause compilation failure.

No new tests since this just fixes the build failure.

  • Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:

(WebCore::IDBBackingStoreLevelDB::updateIDBDatabaseVersion):

12:16 PM Changeset in webkit [158382] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

One more speculative buildfix after r158365.

  • Modules/mediastream/RTCPeerConnection.cpp:

(WebCore::RTCPeerConnection::didAddRemoteStream):

12:08 PM Changeset in webkit [158381] by Csaba Osztrogonác
  • 3 edits in trunk/Source/WebCore

Speculative buildfix after r158365.

  • Modules/mediastream/VideoStreamTrack.cpp:

(WebCore::VideoStreamTrack::create):
(WebCore::VideoStreamTrack::VideoStreamTrack):

  • Modules/mediastream/VideoStreamTrack.h:
12:08 PM Changeset in webkit [158380] by Lucas Forschler
  • 2 edits in tags/Safari-538.4/Source/WebCore

Merged r158375. <rdar://problem/15246606>

11:47 AM Changeset in webkit [158379] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Decorated text sometimes does not draw its decorations
https://bugs.webkit.org/show_bug.cgi?id=123539

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-10-31
Reviewed by Antti Koivisto.

Decorated text should opt-out of the simple line layout, because
SimpleLineLayout::paintFlow doesn't draw decorations

Fixes fast/css3-text/css3-text-decoration/text-decoration-color.html

  • rendering/SimpleLineLayout.cpp:

(WebCore::SimpleLineLayout::canUseFor):

11:40 AM Changeset in webkit [158378] by Lucas Forschler
  • 4 edits in tags/Safari-538.4/Source/JavaScriptCore

Merged r158341. <rdar://problem/15356238>

11:33 AM Changeset in webkit [158377] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebCore

Web Inspector: Remove last member variable uses of InspectorState from Agents
https://bugs.webkit.org/show_bug.cgi?id=123540

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-31
Reviewed by Timothy Hatcher.

  • inspector/InspectorDOMDebuggerAgent.h:
  • inspector/InspectorDOMDebuggerAgent.cpp:

(WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
(WebCore::InspectorDOMDebuggerAgent::setBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::removeBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded):
(WebCore::InspectorDOMDebuggerAgent::setXHRBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::removeXHRBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
DOMDebuggerAgentState::eventListenerBreakpoints -> m_eventListenerBreakpoints.
DOMDebuggerAgentState::xhrBreakpoints -> m_xhrBreakpoints.

  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorDebuggerAgent.cpp:

(WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
(WebCore::InspectorDebuggerAgent::disable):
(WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
(WebCore::InspectorDebuggerAgent::removeBreakpoint):
(WebCore::InspectorDebuggerAgent::didParseSource):
DebuggerAgentState::javaScriptBreakpoints -> m_javaScriptBreakpoints.

  • inspector/InspectorPageAgent.h:
  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::disable):
(WebCore::InspectorPageAgent::addScriptToEvaluateOnLoad):
(WebCore::InspectorPageAgent::removeScriptToEvaluateOnLoad):
(WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
PageAgentState::pageAgentScriptsToEvaluateOnLoad -> m_scriptsToEvaluateOnLoad.
This is a lazily created InspectorObject member variable.

  • inspector/InspectorResourceAgent.h:
  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::willSendRequest):
(WebCore::InspectorResourceAgent::disable):
(WebCore::InspectorResourceAgent::setExtraHTTPHeaders):
ResourceAgentState::extraRequestHeaders -> m_extraRequestHeaders.
This is a lazily created InspectorObject member variable.

11:29 AM Changeset in webkit [158376] by Philippe Normand
  • 2 edits in trunk/Source/WebCore

Unreviewed, one more build fix after r158365.

  • Modules/webaudio/MediaStreamAudioDestinationNode.cpp:

(WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode):

11:26 AM Changeset in webkit [158375] by Beth Dakin
  • 2 edits in trunk/Source/WebCore

Repro scrolling crash with scrollbars that use setPresentationValue on the
scrolling thread
https://bugs.webkit.org/show_bug.cgi?id=123549
-and corresponding-
<rdar://problem/15246606>

Reviewed by Darin Adler.

Speculative fix. I think if we retain the ScrollbarPainters, we should avoid this
crash.

  • page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
11:18 AM Changeset in webkit [158374] by Philippe Normand
  • 2 edits in trunk/Source/WebCore

Unreviewed, MediaStream build fix after r158365.

  • Modules/mediastream/MediaStream.cpp:

(WebCore::MediaStream::clone):

11:13 AM Changeset in webkit [158373] by commit-queue@webkit.org
  • 4 edits in trunk/Tools

Run tests as if they are expected to pass when --force is given.
https://bugs.webkit.org/show_bug.cgi?id=112890

Patch by Tamas Gergely <gertom@inf.u-szeged.hu> on 2013-10-31
Reviewed by Ryosuke Niwa.

The --force switch of new-run-webkit-tests is now forces all tests to
be run with 'PASS' as expected result.

  • Scripts/webkitpy/layout_tests/controllers/manager.py:

(Manager.run):

  • Scripts/webkitpy/layout_tests/models/test_expectations.py:

(TestExpectations.init):
(TestExpectations._add_expectations):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(parse_args):
(_set_up_derived_options):

11:05 AM Changeset in webkit [158372] by barraclough@apple.com
  • 12 edits in trunk/Source/WebKit2

Change WebPage, WebPageProxy, WebPageCreationParameters to use ViewState
https://bugs.webkit.org/show_bug.cgi?id=123379

Reviewed by Darin Adler.

Visibility state of the Page should be stored and communicated consistently.

Remove individual visibility flags from WebPageProxy, WebPageCreationParameters,
and replace them with a ViewState, and add a ViewState member to WebPage.
Merge together all messages that convey and individual aspect of the ViewState.

Restructure WebPageProxy::viewStateDidChange to break the operation down into
three steps: 1) update m_viewState, 2) send the new ViewState to the WebProcess,
and 3) perform any further work necessary in the UIProcess.

This patch fixes a problem that if the web process crashes m_isVisible &
m_isInWindow in WebPageProxy were not updated, and could have held stale values
on reattach.

In WebPage, add a new message to update the entire ViewState - diff the prior
value against the new one to detect changes, call existing methods accordingly.

  • Shared/ViewState.h:
    • Add constants 'Reset', 'AllFlags'
  • Shared/WebPageCreationParameters.cpp:

(WebKit::WebPageCreationParameters::encode):
(WebKit::WebPageCreationParameters::decode):

  • Shared/WebPageCreationParameters.h:
    • Removed boolean visibility flags, added viewState.
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):

  • Constructor calls updateViewState to initialize m_viewState.

(WebKit::WebPageProxy::reattachToWebProcess):

  • ViewStaet is not updated while detatched; recalculate.

(WebKit::WebPageProxy::initializeWebPage):

  • m_isVisible -> isViewVisible()

(WebKit::WebPageProxy::updateViewState):

  • Added, update m_viewState by querying the page client.

(WebKit::WebPageProxy::viewStateDidChange):

  • Restructured to use m_viewState, reordered to combine messages.

(WebKit::WebPageProxy::creationParameters):

  • Removed boolean visibility flags, added viewState.
  • UIProcess/WebPageProxy.h:

(WebKit::WebPageProxy::isInWindow):
(WebKit::WebPageProxy::isViewVisible):

  • Removed boolean visibility flags, added viewState.
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage):

  • initial state now passed as a ViewState.

(WebKit::WebPage::setIsInWindow):

  • Remove code to send reply (this is handled by setViewState).

(WebKit::WebPage::setViewState):

  • Set m_viewState - diff from prior & call methods to update.
  • WebProcess/WebPage/WebPage.h:
    • Added setViewState, m_viewState.
  • WebProcess/WebPage/WebPage.messages.in:
    • Add SetViewState, remove individual messages.
  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:

(WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea):

  • initial state now passed as a ViewState.
11:03 AM Changeset in webkit [158371] by ggaren@apple.com
  • 2 edits in trunk/Tools

2013-10-31 Geoffrey Garen <ggaren@apple.com>

Added Mark Lam as a reviewer.

Unreviewed.

  • Scripts/webkitpy/common/config/contributors.json:
11:02 AM Changeset in webkit [158370] by Patrick Gansterer
  • 4 edits in trunk/Source/WebKit/win

[WIN] Make WebHistory compile without USE(CF)
https://bugs.webkit.org/show_bug.cgi?id=122010

Reviewed by Brent Fulgham.

Add an alternative code path for !USE(CF) to be able to
compile WebHistory without the CoreFoundation library.

  • COMVariantSetter.h: Add support for setting a Vector.
  • WebHistory.cpp:

(createUserInfoFromArray):
(createUserInfoFromHistoryItem):
(WebHistory::removeAllItems):
(WebHistory::removeItem):
(WebHistory::addItem):
(WebHistory::visitedURL):

  • WebHistory.h:
10:48 AM Changeset in webkit [158369] by barraclough@apple.com
  • 4 edits
    2 adds in trunk

WebPageCreationParameters should be consistent in Window.open
https://bugs.webkit.org/show_bug.cgi?id=123557

Reviewed by Sam Weinig.

When Window.open in called in WebKit2 the WebProcess sends a synchronous request to open
a page (WebPageProxy::createNewPage). The UIProcess creates a WebpageProxy, and responds
with instructions to the WebProcess to create the WebPage. The initial creation state of
the WebPage is communicated to the WebProcess via two routes (firstly an asynchronous
WebProcess::CreateWebPage message, and secondly in the synchronous response from
WebPageProxy::createNewPage). Unfortunately these responses are inconsistent with each
other. The creationParameters() for the page are calculated twice, and since the WKView
will be added to a window between the async message being sent and the synchronous reply
being returned the visibility state of the page can change.

To fix the inconsistency we can set the creation parameters at the point that the
WebPageProxy is instantiated. This will result in a functional change that is web
visible, since the page will initially be opened in a hidden/blurred state, and may
later become visible/focussed. This change is consistent with the direction we want to
evolve in. Whilst we will still probably require a synchronous message from the
WebProcess to the UIProcess on Window.open, we'll probably make this return much earlier
– having just created the WebPageProxy, but avoiding blocking the WebProcess over the
client delegate callback that opens the new window.

This fix results in a layout test result change, due to the change in behavior (page is
created blurred, and becomes focussed, resulting in a focus event being fired – rather
than the window opening directly into a focussed state). This is reported as a
progression (test is broken in WebKit1, fixed in WebKit2 after this change). In reality
the test is actually slightly broken in DRT/test-runner – the test runs differently than
in browser, since there is is no visible main window. In-browser this patch results in
no change in behavior on dom/Window/mozilla-focus-blur.html (the affected test).

Source/WebKit2:

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::initializeWebPage):

  • call initializeCreationParameters

(WebKit::WebPageProxy::initializeCreationParameters):

  • calculate m_creationParameters
  • UIProcess/WebPageProxy.h:

(WebKit::WebPageProxy::creationParameters):

  • Added m_creationParameters, initializeCreationParameters, creationParameters returns m_creationParameters

LayoutTests:

  • platform/mac-wk2/fast/dom/Window: Added.
  • platform/mac-wk2/fast/dom/Window/mozilla-focus-blur-expected.txt: Added.
    • This test now reports a pass on WebKit2
10:41 AM Changeset in webkit [158368] by weinig@apple.com
  • 4 edits in trunk/Source/WebCore

Pass an Element by reference to the PseudoElement constructor
https://bugs.webkit.org/show_bug.cgi?id=123576

Reviewed by Andreas Kling.

  • dom/Element.cpp:

(WebCore::Element::createPseudoElementIfNeeded):

  • dom/PseudoElement.cpp:

(WebCore::PseudoElement::PseudoElement):

  • dom/PseudoElement.h:
10:39 AM Changeset in webkit [158367] by ap@apple.com
  • 2 edits in trunk/Source/WebCore

Fix a mis-merge.

  • WebCore.xcodeproj/project.pbxproj: Remove duplicate CryptoAlgorithmRegistryMac.cpp.
10:33 AM Changeset in webkit [158366] by ap@apple.com
  • 3 edits
    4 adds in trunk/Source/WebCore

Add bindings code for crypto algorithm dictionaries
https://bugs.webkit.org/show_bug.cgi?id=123476

Reviewed by Sam Weinig.

JSCryptoAlgorithmDictionary reads the Algorithm, much like JSDictionary does in
simpler cases. We should see about bringing them closer together (perhaps replacing
with autogenerated code).

  • crypto/parameters: Added.
  • crypto/parameters/CryptoAlgorithmHmacKeyParams.h: Added.
  • crypto/parameters/CryptoAlgorithmHmacParams.h: Added.

Added a couple specific dictionaries as an example.

  • WebCore.xcodeproj/project.pbxproj: Added JSCryptoAlgorithmDictionary.
  • bindings/js/JSCryptoAlgorithmDictionary.cpp: Added.

(WebCore::JSCryptoAlgorithmDictionary::getAlgorithmIdentifier):
(WebCore::getHashAlgorithm):
(WebCore::createHmacParams):
(WebCore::createHmacKeyParams):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForSign):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForVerify):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDigest):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForImportKey):

  • bindings/js/JSCryptoAlgorithmDictionary.h: Added.
10:26 AM Changeset in webkit [158365] by weinig@apple.com
  • 49 edits in trunk/Source/WebCore

Pass ScriptExecutionContext by reference to from the bindings constructors
https://bugs.webkit.org/show_bug.cgi?id=123575

Reviewed by Andreas Kling.

Since we null check the ScriptExecutionContext before creating the c++ class,
we should be passing by reference.

10:17 AM Changeset in webkit [158364] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Paint the input tag of range type on WinCE port.
https://bugs.webkit.org/show_bug.cgi?id=123199

Patch by Zhuang Zhigang <zhuangzg@cn.fujitsu.com> on 2013-10-31
Reviewed by Brent Fulgham.

  • rendering/RenderThemeWinCE.cpp:

(WebCore::RenderThemeWinCE::paintSliderTrack):
(WebCore::RenderThemeWinCE::paintSliderThumb):

10:13 AM Changeset in webkit [158363] by ap@apple.com
  • 2 edits
    7 adds in trunk/Source/WebCore

Add a crypto algorithm abstraction
https://bugs.webkit.org/show_bug.cgi?id=123474

Reviewed by Sam Weinig.

This works slightly differently than WebCrypto implies. We have separate classes
for algorithm and its parameters, while WebCrypto puts them in the same dictionary.

  • WebCore.xcodeproj/project.pbxproj: Added new files.
  • crypto/CryptoAlgorithm.cpp: Added. As most algorithms don't implement most

operations, default implementations just raise an exception.

  • crypto/CryptoAlgorithm.h: Added.
  • crypto/CryptoAlgorithmParameters.h: Added. Base class for numerous future parameter

dictionaries, such as HmacParams or HmacKeyParams.

  • crypto/CryptoAlgorithmRegistry.cpp: Added.
  • crypto/CryptoAlgorithmRegistry.h: Added.

The registry decouples universal bindings code from algorithms that may or may not
be implemented on each platform.

  • crypto/mac: Added.
  • crypto/mac/CryptoAlgorithmRegistryMac.cpp: Added.

(WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms): Algorithms implemented
on Mac will be registered by this function.

9:50 AM Changeset in webkit [158362] by ap@apple.com
  • 7 edits in trunk

REGRESSION(r158333): http/tests/xmlhttprequest/response-encoding.html and xmlhttprequest-overridemimetype-content-type-header.html are failing
https://bugs.webkit.org/show_bug.cgi?id=123548

Reviewed by Brady Eidson.

Source/WebCore:

We had code that made sure that cached 200 responses weren't used for conditional
requests. But it didn't work the other way - cached 304 responses got reused for
subsequent unconditional requests!

Adding the test uncovered this bug.

  • loader/cache/CachedRawResource.cpp: (WebCore::shouldIgnoreHeaderForCacheReuse):

Should never ignore conditional headers. Code in determineRevalidationPolicy
was already undoing this for conditional requests, but we also shouldn't use
WebCore cache if it holds a 304 response to conditional request.

  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::determineRevalidationPolicy):

Even though the changed code is only for raw resources, I think that we can never
get a conditional request here any more.

LayoutTests:

  • TestExpectations: Unskip tests that used to be affected by response-empty-arraybuffer.html
  • http/tests/xmlhttprequest/response-empty-arraybuffer-expected.txt:
  • http/tests/xmlhttprequest/response-empty-arraybuffer.html:

Fix a stupid typo. This test actually fully passes.

9:28 AM Changeset in webkit [158361] by ap@apple.com
  • 4 edits in trunk/Source/WebCore

CryptoAlgorithmDescriptionBuilder should support producing nested algorithms
https://bugs.webkit.org/show_bug.cgi?id=123461

Reviewed by Darin Adler.

To add a nested algorithm, clone a builder with createEmptyClone(), fill it,
and add it using add().

  • bindings/js/JSCryptoAlgorithmBuilder.h:
  • crypto/CryptoAlgorithmDescriptionBuilder.h:
  • bindings/js/JSCryptoAlgorithmBuilder.cpp:

(WebCore::JSCryptoAlgorithmBuilder::createEmptyClone):
(WebCore::JSCryptoAlgorithmBuilder::add): Keep VM in a local variable for marginally
better performance.

8:35 AM Changeset in webkit [158360] by Philippe Normand
  • 12 edits in trunk/Source

[WK2][GTK] enable-media-stream Setting
https://bugs.webkit.org/show_bug.cgi?id=123145

Reviewed by Anders Carlsson.

Source/WebCore:

  • page/Settings.in: new mediaStreamEnabled setting.

Source/WebKit2:

  • Shared/WebPreferencesStore.h: New MediaStreamEnabled boolean preference.
  • UIProcess/API/C/WKPreferences.cpp: MediaStreamEnabled getter and

setter functions.
(WKPreferencesSetMediaStreamEnabled):
(WKPreferencesGetMediaStreamEnabled):

  • UIProcess/API/C/WKPreferences.h:
  • UIProcess/API/gtk/WebKitSettings.cpp: Add a enable-media-stream

property to the GTK WebKitSettings class. It will act as a facade
to the MediaStreamEnabled preference.
(webKitSettingsSetProperty):
(webKitSettingsGetProperty):
(webkit_settings_class_init):
(webkit_settings_get_enable_media_stream):
(webkit_settings_set_enable_media_stream):

  • UIProcess/API/gtk/WebKitSettings.h:
  • UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
  • UIProcess/API/gtk/tests/TestWebKitSettings.cpp:

(testWebKitSettings): Test enable-media-stream websetting.

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
Allow WKTR to override the MediaStreamEnabled preference.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences): Update MediaStreamEnabled
along with the other settings.

8:29 AM Changeset in webkit [158359] by zandobersek@gmail.com
  • 10 edits in trunk/Source/WebCore

Manage SVGPathByteStream through std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=123467

Reviewed by Anders Carlsson.

Manage SVGPathByteStream objects through std::unique_ptr. Constructors for the class are made public
so std::make_unique can be used with the class.

  • svg/SVGAnimatedPath.cpp:

(WebCore::SVGAnimatedPathAnimator::constructFromString):
(WebCore::SVGAnimatedPathAnimator::startAnimValAnimation):
(WebCore::SVGAnimatedPathAnimator::calculateAnimatedValue):

  • svg/SVGAnimatedType.cpp:

(WebCore::SVGAnimatedType::createPath):

  • svg/SVGAnimatedType.h:
  • svg/SVGPathByteStream.h:

(WebCore::SVGPathByteStream::SVGPathByteStream): Takes a const Data object that's then copied.
(WebCore::SVGPathByteStream::copy): Made const.

  • svg/SVGPathByteStreamBuilder.cpp: Remove an unnecessary include.
  • svg/SVGPathByteStreamBuilder.h: Ditto.
  • svg/SVGPathElement.cpp:

(WebCore::SVGPathElement::SVGPathElement):

  • svg/SVGPathElement.h:
  • svg/SVGPathUtilities.cpp:

(WebCore::appendSVGPathByteStreamFromSVGPathSeg):
(WebCore::addToSVGPathByteStream):

8:29 AM Changeset in webkit [158358] by commit-queue@webkit.org
  • 4 edits in trunk/LayoutTests

[EFL] Rebaselining after r158186
https://bugs.webkit.org/show_bug.cgi?id=123571

Unreviewed gardening.

Patch by Krzysztof Wolanski <k.wolanski@samsung.com> on 2013-10-31

  • platform/efl/editing/deleting/smart-delete-003-expected.txt: Rebaselining after r158186.
  • platform/efl/editing/deleting/smart-delete-004-expected.txt: Rebaselining after r158186.
  • platform/efl/editing/selection/after-line-wrap-expected.txt: Rebaselining after r157851.
7:07 AM Changeset in webkit [158357] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Removing m_maxDeadCapacity condition in fast path in MemoryCache::prune().
https://bugs.webkit.org/show_bug.cgi?id=115631

Patch by Marcin Bychawski <m.bychawski@samsung.com> on 2013-10-31
Reviewed by Brent Fulgham.

If the m_maxDeadSize and m_deadSize are both 0, the method unnecessairly tries to prune resources.

No new tests, covered by existing ones.

  • loader/cache/MemoryCache.cpp:

(WebCore::MemoryCache::prune):

5:02 AM Changeset in webkit [158356] by commit-queue@webkit.org
  • 6 edits in trunk/Source

Web Inspector: Remove stale optional native memory instrumentation protocol params
https://bugs.webkit.org/show_bug.cgi?id=123552

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-31
Reviewed by Timothy Hatcher.

Source/WebCore:

  • inspector/Inspector.json:
  • inspector/InspectorTimelineAgent.cpp:

(WebCore::InspectorTimelineAgent::start):

  • inspector/InspectorTimelineAgent.h:

Source/WebInspectorUI:

  • UserInterface/InspectorBackendCommands.js:
2:14 AM Changeset in webkit [158355] by zandobersek@gmail.com
  • 3 edits in trunk/Source/WebCore

[GTK] Undefined references to RenderObject::style() when disabling video support
https://bugs.webkit.org/show_bug.cgi?id=123492

Reviewed by Carlos Garcia Campos.

  • platform/gtk/RenderThemeGtk2.cpp: Disabling video support removes indirect inclusion of the RenderElement.h

header, causing undefined references to RenderObject::style(). The RenderElement.h header should be included
instead of RenderObject.h as the former defines the RenderObject::style() inline and also includes the latter.

  • platform/gtk/RenderThemeGtk3.cpp: Ditto.
1:55 AM Changeset in webkit [158354] by g.czajkowski@samsung.com
  • 1 edit
    4 adds in trunk/LayoutTests

[EFL] Add baselines for spelling tests added in r157900.

Unreviewed gardening.

  • platform/efl/editing/spelling/centering-misspelling-dots-expected.png: Added.
  • platform/efl/editing/spelling/centering-misspelling-dots-expected.txt: Added.
  • platform/efl/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.png: Added.
  • platform/efl/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.txt: Added.
1:44 AM Changeset in webkit [158353] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/LayoutTests

Unreviewed EFL gardening. Add 5 printing tests to EFL TestExpectations.
EFL port doesn't fully support printing functionality yet.

  • platform/efl/TestExpectations:
1:38 AM Changeset in webkit [158352] by commit-queue@webkit.org
  • 5 edits in trunk

[EFL] accessibility/textbox-role-reports-selection.html is failing
https://bugs.webkit.org/show_bug.cgi?id=112017

Patch by Robert Plociennik <r.plociennik@samsung.com> on 2013-10-31
Reviewed by Mario Sanchez Prada.

Source/WebCore:

getSelectionOffsetsForObject() now returns proper start/end offsets for
selections "touching" the object's front border.

No new tests, covered by existing ones.

  • accessibility/atk/WebKitAccessibleInterfaceText.cpp:

(getSelectionOffsetsForObject):

LayoutTests:

Removed failure expectations.

  • platform/efl-wk1/TestExpectations: The test is no longer failing.
  • platform/efl-wk2/TestExpectations: The test is no longer failing.
12:11 AM Changeset in webkit [158351] by ryuan.choi@samsung.com
  • 8 edits in trunk

.: [EFL][GLES] OpenGL should be an optional
https://bugs.webkit.org/show_bug.cgi?id=123399

Reviewed by Noam Rosenthal.

  • Source/cmake/OptionsEfl.cmake:

Refactor the check routine of GL dependencies to use OpenGL as optional.

Source/WebCore: [EFL][GLES] OpenGL should be optional
https://bugs.webkit.org/show_bug.cgi?id=123399

Reviewed by Noam Rosenthal.

  • CMakeLists.txt: Make OpenGL dependencies as optional.
  • PlatformEfl.cmake:

Move OpenGL macro to OptionsEfl.cmake and make Xcomposite and XRender as optional.

  • platform/graphics/OpenGLESShims.h:

Removed GL_COLOR_ATTACHMENT0_EXT because it was added to gl2ext.h since r153064

  • platform/graphics/surfaces/GraphicsSurfaceToken.h:

Removed wrong GLX guard.
(WebCore::GraphicsSurfaceToken::GraphicsSurfaceToken):
(WebCore::GraphicsSurfaceToken::operator!=):
(WebCore::GraphicsSurfaceToken::isValid):

  • platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:

Removed unnecessary OpenGLShims.h

Oct 30, 2013:

11:41 PM Changeset in webkit [158350] by commit-queue@webkit.org
  • 30 edits in trunk/Source/WebCore

[webcore/editing] remove extra header includes from cpp files.
https://bugs.webkit.org/show_bug.cgi?id=123524

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-10-30
Reviewed by Ryosuke Niwa.

Removing redundant header files.

  • editing/AlternativeTextController.cpp:
  • editing/ApplyBlockElementCommand.cpp:
  • editing/ApplyStyleCommand.cpp:
  • editing/BreakBlockquoteCommand.cpp:
  • editing/DeleteButton.cpp:
  • editing/DeleteButtonController.cpp:
  • editing/DeleteSelectionCommand.cpp:
  • editing/DictationCommand.cpp:
  • editing/EditCommand.cpp:
  • editing/EditingStyle.cpp:
  • editing/EditorCommand.cpp:
  • editing/FrameSelection.cpp:
  • editing/IndentOutdentCommand.cpp:
  • editing/InsertLineBreakCommand.cpp:
  • editing/InsertParagraphSeparatorCommand.cpp:
  • editing/MarkupAccumulator.h:
  • editing/RemoveFormatCommand.cpp:
  • editing/RenderedPosition.cpp:
  • editing/ReplaceSelectionCommand.cpp:
  • editing/SpellChecker.cpp:
  • editing/SpellingCorrectionCommand.cpp:
  • editing/SurroundingText.cpp:
  • editing/TextCheckingHelper.cpp:
  • editing/TextIterator.cpp:
  • editing/TypingCommand.cpp:
  • editing/VisibleSelection.cpp:
  • editing/VisibleUnits.cpp:
  • editing/WrapContentsInDummySpanCommand.cpp:
  • editing/htmlediting.cpp:
11:32 PM Changeset in webkit [158349] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WTF

Unreviewed, rolling out r158299.
http://trac.webkit.org/changeset/158299
https://bugs.webkit.org/show_bug.cgi?id=123558

caused assertion failures in fast/canvas/canvas-color-
serialization.html and fast/forms/input-text-paste-
maxlength.html (Requested by rniwa on #webkit).

  • wtf/text/StringStatics.cpp:

(WTF::StringImpl::empty):

11:27 PM Changeset in webkit [158348] by beidson@apple.com
  • 16 edits in trunk/Source

IDB Database versions are uint64_t, not int64_t
https://bugs.webkit.org/show_bug.cgi?id=123556

Reviewed by Alexey Proskuryakov.

Source/WebCore:

  • Modules/indexeddb/IDBBackingStoreInterface.h:
  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(WebCore::IDBDatabaseBackendImpl::processPendingCalls):
(WebCore::IDBDatabaseBackendImpl::openConnection):

  • Modules/indexeddb/IDBDatabaseBackendImpl.h:
  • Modules/indexeddb/IDBFactoryBackendInterface.h:
  • Modules/indexeddb/IDBPendingOpenCall.h:

(WebCore::IDBPendingOpenCall::create):
(WebCore::IDBPendingOpenCall::version):
(WebCore::IDBPendingOpenCall::IDBPendingOpenCall):

  • Modules/indexeddb/IDBTransactionBackendOperations.cpp:

(WebCore::IDBDatabaseBackendImpl::VersionChangeOperation::perform):

  • Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:

(WebCore::IDBBackingStoreLevelDB::updateIDBDatabaseVersion):

  • Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
  • Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:

(WebCore::IDBFactoryBackendLevelDB::open):

  • Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:

Source/WebKit2:

  • WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp:

(WebKit::WebIDBFactoryBackend::open):

  • WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
  • WebProcess/Databases/IndexedDB/WebProcessIDBDatabaseBackend.cpp:

(WebKit::WebProcessIDBDatabaseBackend::openConnection):

  • WebProcess/Databases/IndexedDB/WebProcessIDBDatabaseBackend.h:
11:25 PM Changeset in webkit [158347] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[Gtk] Build is failing after r158317
https://bugs.webkit.org/show_bug.cgi?id=123544

Patch by Brendan Long <b.long@cablelabs.com> on 2013-10-30
Reviewed by Alexey Proskuryakov.

No new tests since this just fixes the build.

  • GNUmakefile.list.am: Add JSCryptoKey.cpp and JSCryptoKey.h
10:51 PM Changeset in webkit [158346] by akling@apple.com
  • 2 edits in trunk/Source/WebCore

Manage EllipsisBox objects with unique_ptr.
<https://webkit.org/b/123554>

Use smart pointers to store ellipsis boxes instead of new/delete.

Reviewed by Anders Carlsson.

10:37 PM Changeset in webkit [158345] by ap@apple.com
  • 2 edits
    2 adds in trunk/Source/WebCore

[Gtk] Build is failing after r158317
https://bugs.webkit.org/show_bug.cgi?id=123544

Use a correct style for JSC includes.

  • ForwardingHeaders/runtime/JSPromise.h: Added.
  • ForwardingHeaders/runtime/JSPromiseResolver.h: Added.
  • bindings/js/JSDOMPromise.h:
10:02 PM Changeset in webkit [158344] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

Add two crash expectations per bug 123555.

9:15 PM Changeset in webkit [158343] by akling@apple.com
  • 15 edits in trunk/Source/WebCore

Replace InlineBox::destroy() with regular virtual destruction.
<https://webkit.org/b/123550>

Move logic out of destroy() and its overloads into good ol' virtual
destructors instead.

Reviewed by Anders Carlsson.

9:11 PM Changeset in webkit [158342] by ap@apple.com
  • 3 edits in trunk/Tools

Teach the style checker about ENUM_CLASS
https://bugs.webkit.org/show_bug.cgi?id=123528

Reviewed by Andy Estes.

  • Scripts/webkitpy/style/checkers/cpp.py:

(_EnumState.process_clean_line): Make content of an ENUM_CLASS declaration
equivalent to enum content for checking.
(check_braces): Allow semicolon at the end.

  • Scripts/webkitpy/style/checkers/cpp_unittest.py:

(NoNonVirtualDestructorsTest.test_enum_casing):
(NoNonVirtualDestructorsTest.test_enum_trailing_semicolon):
(WebKitStyleTest.test_braces):
Test it.

8:52 PM Changeset in webkit [158341] by fpizlo@apple.com
  • 4 edits in trunk/Source/JavaScriptCore

Assertion failure in js/dom/global-constructors-attributes-dedicated-worker.html
https://bugs.webkit.org/show_bug.cgi?id=123551
<rdar://problem/15356238>

Reviewed by Mark Hahnenberg.

WatchpointSets have always had this "fire everything on deletion" policy because it
seemed like a good fail-safe at the time I first implemented WatchpointSets. But
it's actually causing bugs rather than providing safety:

  • Everyone who registers Watchpoints with WatchpointSets have separate mechanisms for either keeping the WatchpointSets alive or noticing when they are collected. So this wasn't actually providing any safety.


One example of this is Structures, where:


  • CodeBlocks that register Watchpoints on Structure's WatchpointSet will also register weak references to the Structure, and the GC will jettison a CodeBlock if the Structure(s) it cares about dies.


  • StructureStubInfos that register Watchpoints on Structure's WatchpointSet will also be cleared by GC if the Structures die.


  • The WatchpointSet destructor would get invoked from finalization/destruction. This would then cause CodeBlock::jettison() to be called on a CodeBlock, but that method requires doing things that access heap objects. This would usually cause problems on VM destruction, since then the CodeBlocks would still be alive but the whole heap would be destroyed.


This also ensures that CodeBlock::jettison() cannot cause a GC. This is safe since
that method doesn't really allocate objects, and it is likely necessary because
jettison() may be called from deep in the stack.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::jettison):

  • bytecode/Watchpoint.cpp:

(JSC::WatchpointSet::~WatchpointSet):

  • bytecode/Watchpoint.h:
8:37 PM Changeset in webkit [158340] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit2

Fixed a potential race condition around the initializtion of WKObject’s target.

Reviewed by Mark Rowe.

  • Shared/Cocoa/WKObject.mm:

(initializeTargetIfNeeded): Removed the early return if _target is non-nil. As Mark pointed
out, when stores are reordered relative to other stores, it is possible for the early return
to occur while the object _target is pointing to is not yet valid.

8:07 PM Changeset in webkit [158339] by rniwa@webkit.org
  • 2 edits in trunk/Tools

kill-old-processes should kill Web Socket script
https://bugs.webkit.org/show_bug.cgi?id=123546

Reviewed by Benjamin Poulain.

  • BuildSlaveSupport/kill-old-processes:

(main):

7:36 PM Changeset in webkit [158338] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

REGRESSION(r158333): http/tests/xmlhttprequest/response-encoding.html and
xmlhttprequest-overridemimetype-content-type-header.html are failing
https://bugs.webkit.org/show_bug.cgi?id=123548

Add the failing test expectation.

6:15 PM Changeset in webkit [158337] by commit-queue@webkit.org
  • 7 edits in trunk/Source/WebCore

Simplifying MediaStream and MediStreamDescriptor creation
https://bugs.webkit.org/show_bug.cgi?id=123443

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-10-30
Reviewed by Eric Carlson.

The internal process of creating a MediaStream and MediaStreamDescriptor was quite confusing and spread.
We can take advantage of the platform implementation of MediaStreamTrack (aka MediaStreamTrackPrivate)
and simplify the whole process.
A new constructor that receives vectors of MediaStreamTrackPrivate objects were added, then the check
if a source already exists or if the tracks are all ended are now made in MediaStreamDescriptor.

No new tests needed.

  • Modules/mediastream/MediaStream.cpp:

(WebCore::MediaStream::create): Removed unnecessary variables in one create method and using new
MediaStreamDescriptor::create method that receives vector of MediaStreamTrackPrivate objects as parameter.

  • Modules/webaudio/MediaStreamAudioDestinationNode.cpp:

(WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode): Removed passing flag to
MediaStreamDescriptor create.

  • platform/mediastream/MediaStreamDescriptor.cpp:

(WebCore::MediaStreamDescriptor::create): Removed EndedAtCreationFlag parameter, because this is being
handled inside constructor by analyzing the tracks or sources passed.
(WebCore::MediaStreamDescriptor::MediaStreamDescriptor): Adding new constructor that receives vector of
MediaStreamTrackPrivate as parameter.

(WebCore::MediaStreamDescriptor::addTrack): Changed to store the track's source in the object.

(WebCore::MediaStreamDescriptor::removeTrack):

  • platform/mediastream/MediaStreamDescriptor.h:

(WebCore::MediaStreamDescriptor::numberOfAudioTracks):
(WebCore::MediaStreamDescriptor::audioTracks):
(WebCore::MediaStreamDescriptor::numberOfVideoTracks):
(WebCore::MediaStreamDescriptor::videoTracks):

  • platform/mock/MockMediaStreamCenter.cpp:

(WebCore::MockMediaStreamCenter::createMediaStream): Removing flag that is being passed to
MediaStreamDescriptor's create method.

6:07 PM Changeset in webkit [158336] by Lucas Forschler
  • 5 edits in trunk/Source

Versioning.

6:04 PM Changeset in webkit [158335] by Lucas Forschler
  • 1 copy in tags/Safari-538.4

New Tag.

5:50 PM Changeset in webkit [158334] by Brent Fulgham
  • 2 edits in trunk/Source/WebCore

[Win] Legible Output callbacks should happen on notification queue
https://bugs.webkit.org/show_bug.cgi?id=123545

Reviewed by Eric Carlson.

Modify the callback creation for Legible Output items so that they
are made on our notification queue. The use of the main queue was a
holdover from some temporary code used during earlier development.

  • platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:

(WebCore::AVFWrapper::AVFWrapper): Assert this happens on the main thread.
(WebCore::AVFWrapper::~AVFWrapper): Ditto.
(WebCore::destroyAVFWrapper): Ditto.
(WebCore::AVFWrapper::createPlayer): Ditto.
(WebCore::AVFWrapper::createPlayerItem): Ditto.
Also, instruct LegibleOutput callbacks to happen on our notification
queue, rather than the main thread.
(WebCore::AVFWrapper::createAVCFVideoLayer): Assert this happens on the main thread.
(WebCore::AVFWrapper::destroyVideoLayer): Ditto.
(WebCore::AVFWrapper::createImageGenerator): Ditto.
(WebCore::AVFWrapper::destroyImageGenerator): Ditto.

5:32 PM Changeset in webkit [158333] by ap@apple.com
  • 3 edits
    2 adds in trunk

XHR.response is null when requesting empty file as arraybuffer
https://bugs.webkit.org/show_bug.cgi?id=123457

Source/WebCore:

Reviewed by Sam Weinig.

Test: http/tests/xmlhttprequest/response-empty-arraybuffer.html

  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::responseArrayBuffer): Don't do this.

LayoutTests:

Based on a Blink test by yusukesuzuki@chromium.org.

Reviewed by Sam Weinig.

Failures in expected results appear to mean that Blink caches XHR responses in more
cases. It's not directly related to the patch.

  • http/tests/xmlhttprequest/response-empty-arraybuffer-expected.txt: Added.
  • http/tests/xmlhttprequest/response-empty-arraybuffer.html: Added.
5:31 PM Changeset in webkit [158332] by Samuel White
  • 3 edits
    2 adds in trunk

AX: AXFocused not exposed on ARIA menuitems
https://bugs.webkit.org/show_bug.cgi?id=123494

Reviewed by Chris Fleizach.

Source/WebCore:

ARIA menuitems should expose AXFocused accessibility attribute.

Test: platform/mac/accessibility/aria-menuitem-focus.html

  • accessibility/mac/WebAccessibilityObjectWrapperMac.mm:

(-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):

LayoutTests:

Adding test to make sure ARIA menuitems expose each piece of their focus state correctly.

  • platform/mac/accessibility/aria-menuitem-focus-expected.txt: Added.
  • platform/mac/accessibility/aria-menuitem-focus.html: Added.
5:26 PM Changeset in webkit [158331] by commit-queue@webkit.org
  • 32 edits in trunk/Source/WebCore

Web Inspector: Remove basic uses of InspectorState from agents
https://bugs.webkit.org/show_bug.cgi?id=123534

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-30
Reviewed by Timothy Hatcher.

  • inspector/InspectorAgent.h:
  • inspector/InspectorAgent.cpp:

(WebCore::InspectorAgent::InspectorAgent):
(WebCore::InspectorAgent::enable):
(WebCore::InspectorAgent::disable):
(WebCore::InspectorAgent::evaluateForTestInFrontend):
(WebCore::InspectorAgent::inspect):
InspectorAgentState::inspectorAgentEnabled -> m_enabled.

  • inspector/InspectorApplicationCacheAgent.cpp:

(WebCore::InspectorApplicationCacheAgent::enable):
Remove unused state.

  • inspector/InspectorCSSAgent.cpp:

(WebCore::InspectorCSSAgent::enable):
(WebCore::InspectorCSSAgent::disable):
(WebCore::InspectorCSSAgent::startSelectorProfiler):
(WebCore::InspectorCSSAgent::stopSelectorProfilerImpl):
Remove unused states. Make CSSAgentState::isSelectorProfiling check profile object exists or not.

  • inspector/InspectorCanvasAgent.cpp:

(WebCore::InspectorCanvasAgent::enable):
(WebCore::InspectorCanvasAgent::disable):
Remove unused state, member variable already existed.

  • inspector/InspectorConsoleAgent.h:
  • inspector/InspectorConsoleAgent.cpp:

(WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
(WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
(WebCore::InspectorConsoleAgent::enable):
(WebCore::InspectorConsoleAgent::disable):
(WebCore::InspectorConsoleAgent::didFinishXHRLoading):
(WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
ConsoleAgentState::consoleMessagesEnabled already had m_enabled.
ConsoleAgentState::monitoringXHR -> m_monitoringXHREnabled.

  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::InspectorDOMAgent):
(WebCore::InspectorDOMAgent::clearFrontend):
(WebCore::InspectorDOMAgent::setDocument):
(WebCore::InspectorDOMAgent::getDocument):
(WebCore::InspectorDOMAgent::mainFrameDOMContentLoaded):
DOMAgentState::documentRequested -> m_documentRequested.

  • inspector/InspectorDOMDebuggerAgent.h:
  • inspector/InspectorDOMDebuggerAgent.cpp:

(WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
(WebCore::InspectorDOMDebuggerAgent::setXHRBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::removeXHRBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
DOMDebuggerAgentState::pauseOnAllXHRs -> m_pauseOnAllXHRsEnabled.

  • inspector/InspectorDOMStorageAgent.h:
  • inspector/InspectorDOMStorageAgent.cpp:

(WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
(WebCore::InspectorDOMStorageAgent::enable):
(WebCore::InspectorDOMStorageAgent::disable):
(WebCore::InspectorDOMStorageAgent::didDispatchDOMStorageEvent):
DOMStorageAgentState::domStorageAgentEnabled -> m_enabled.

  • inspector/InspectorDatabaseAgent.cpp:

(WebCore::InspectorDatabaseAgent::enable):
(WebCore::InspectorDatabaseAgent::disable):
Remove unused state, m_enabled already existed.

  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorDebuggerAgent.cpp:

(WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
(WebCore::InspectorDebuggerAgent::enable):
(WebCore::InspectorDebuggerAgent::disable):
(WebCore::InspectorDebuggerAgent::enabled):
(WebCore::InspectorDebuggerAgent::clearFrontend):
(WebCore::InspectorDebuggerAgent::setPauseOnExceptionsImpl):
DebuggerAgentState::pauseOnExceptionsState removed, never read.
DebuggerAgentState::debuggerEnabled -> m_enabled.

  • inspector/InspectorHeapProfilerAgent.h:
  • inspector/InspectorHeapProfilerAgent.cpp:

(WebCore::InspectorHeapProfilerAgent::InspectorHeapProfilerAgent):
(WebCore::InspectorHeapProfilerAgent::resetFrontendProfiles):
(WebCore::InspectorHeapProfilerAgent::clearFrontend):
(WebCore::InspectorHeapProfilerAgent::getProfileHeaders):
HeapProfilerAgentState::profileHeadersRequested -> m_profileHeadersRequested.

  • inspector/InspectorIndexedDBAgent.cpp:

(WebCore::InspectorIndexedDBAgent::enable):
(WebCore::InspectorIndexedDBAgent::disable):
Remove unused state, never read.

  • inspector/InspectorLayerTreeAgent.cpp:

(WebCore::InspectorLayerTreeAgent::enable):
(WebCore::InspectorLayerTreeAgent::disable):
Remove unused state, did not need to be read.

  • inspector/InspectorPageAgent.h:
  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::InspectorPageAgent):
(WebCore::InspectorPageAgent::webViewResized):
(WebCore::InspectorPageAgent::enable):
(WebCore::InspectorPageAgent::disable):
(WebCore::InspectorPageAgent::setDeviceMetricsOverride):
(WebCore::InspectorPageAgent::deviceMetricsChanged):
(WebCore::InspectorPageAgent::setShowPaintRects):
(WebCore::InspectorPageAgent::setShowDebugBorders):
(WebCore::InspectorPageAgent::setShowFPSCounter):
(WebCore::InspectorPageAgent::setContinuousPaintingEnabled):
(WebCore::InspectorPageAgent::setScriptExecutionDisabled):
(WebCore::InspectorPageAgent::applyScreenWidthOverride):
(WebCore::InspectorPageAgent::applyScreenHeightOverride):
(WebCore::InspectorPageAgent::didPaint):
(WebCore::InspectorPageAgent::didLayout):
(WebCore::InspectorPageAgent::updateTouchEventEmulationInPage):
(WebCore::InspectorPageAgent::setTouchEmulationEnabled):
(WebCore::InspectorPageAgent::setEmulatedMedia):
(WebCore::InspectorPageAgent::applyEmulatedMedia):
PageAgentState::pageAgentScreenWidthOverride -> m_screenWidthOverride.
PageAgentState::pageAgentScreenHeightOverride -> m_screenHeightOverride.
PageAgentState::pageAgentFontScaleFactorOverride -> m_fontScaleFactorOverride.
PageAgentState::pageAgentFitWindow -> m_fitWindowOverride.
PageAgentState::pageAgentShowPaintRects -> m_showPaintRects.
PageAgentState::pageAgentEmulatedMedia -> m_emulatedMedia.
Remove other unused states.

  • inspector/InspectorProfilerAgent.h:
  • inspector/InspectorProfilerAgent.cpp:

(WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
(WebCore::InspectorProfilerAgent::addProfile):
(WebCore::InspectorProfilerAgent::enable):
(WebCore::InspectorProfilerAgent::disable):
(WebCore::InspectorProfilerAgent::getProfileHeaders):
(WebCore::InspectorProfilerAgent::resetFrontendProfiles):
(WebCore::InspectorProfilerAgent::start):
(WebCore::InspectorProfilerAgent::stop):
(WebCore::InspectorProfilerAgent::enabled):
ProfilerAgentState::profileHeadersRequested -> m_profileHeadersRequested.
Remove other unused states.

  • inspector/InspectorResourceAgent.h:
  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::~InspectorResourceAgent):
(WebCore::InspectorResourceAgent::willSendRequest):
(WebCore::InspectorResourceAgent::applyUserAgentOverride):
(WebCore::InspectorResourceAgent::enable):
(WebCore::InspectorResourceAgent::disable):
(WebCore::InspectorResourceAgent::setUserAgentOverride):
(WebCore::InspectorResourceAgent::setCacheDisabled):
(WebCore::InspectorResourceAgent::mainFrameNavigated):
(WebCore::InspectorResourceAgent::InspectorResourceAgent):
ResourceAgentState::resourceAgentEnabled -> m_enabled.
ResourceAgentState::cacheDisabled -> m_cacheDisabled.
ResourceAgentState::userAgentOverride -> m_userAgentOverride (this already existed and was unused).

  • inspector/InspectorTimelineAgent.h:
  • inspector/InspectorTimelineAgent.cpp:

(WebCore::InspectorTimelineAgent::start):
(WebCore::InspectorTimelineAgent::stop):
(WebCore::InspectorTimelineAgent::setDOMCounters):
(WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
TimelineAgentState::timelineAgentEnabled -> m_enabled.
TimelineAgentState::includeDomCounters -> m_includeDOMCounters.
Remove other unused states.

  • inspector/InspectorWorkerAgent.h:
  • inspector/InspectorWorkerAgent.cpp:

(WebCore::InspectorWorkerAgent::InspectorWorkerAgent):
(WebCore::InspectorWorkerAgent::clearFrontend):
(WebCore::InspectorWorkerAgent::enable):
(WebCore::InspectorWorkerAgent::disable):
(WebCore::InspectorWorkerAgent::setAutoconnectToWorkers):
(WebCore::InspectorWorkerAgent::shouldPauseDedicatedWorkerOnStart):
(WebCore::InspectorWorkerAgent::didStartWorkerGlobalScope):
(WebCore::InspectorWorkerAgent::createWorkerFrontendChannel):
WorkerAgentState::workerInspectionEnabled -> m_enabled.
WorkerAgentState::autoconnectToWorkers -> m_shouldPauseDedicatedWorkerOnStart.

  • inspector/PageRuntimeAgent.cpp:

(WebCore::PageRuntimeAgent::enable):
(WebCore::PageRuntimeAgent::disable):
Remove unused state, not read.

5:14 PM Changeset in webkit [158330] by rniwa@webkit.org
  • 24 edits in trunk/Source

Remove code for Mac Lion
https://bugs.webkit.org/show_bug.cgi?id=123542

Reviewed by Anders Carlsson.

Source/WebCore:

Removed the code for Mac OS X 10.7.

  • platform/graphics/ImageBuffer.h:
  • platform/graphics/cg/ImageBufferCG.cpp:

(WebCore::ImageBuffer::ImageBuffer):
(WebCore::ImageBuffer::context):
(WebCore::ImageBuffer::flushContext):

  • platform/graphics/cg/ImageBufferDataCG.h:
  • platform/graphics/cg/ImageSourceCG.cpp:

(WebCore::imageSourceOptions):

  • platform/graphics/mac/ComplexTextControllerCoreText.mm:

(WebCore::ComplexTextController::collectComplexTextRunsForCharacters):

  • platform/mac/ScrollAnimatorMac.mm:

(WebCore::scrollAnimationEnabledForSystem):

  • platform/mac/ScrollElasticityController.mm:

(WebCore::reboundDeltaForElasticDelta):

  • platform/mac/ThemeMac.mm:

(WebCore::updateStates):
(WebCore::paintCheckbox):
(WebCore::paintRadio):
(WebCore::paintButton):

  • platform/mac/WebCoreNSCellExtras.h:
  • platform/mac/WebCoreNSCellExtras.m:
  • rendering/RenderThemeMac.mm:

(WebCore::RenderThemeMac::paintTextField):
(WebCore::RenderThemeMac::paintMenuList):
(WebCore::RenderThemeMac::setPopupButtonCellState):
(WebCore::RenderThemeMac::textField):

Source/WebKit/mac:

  • WebView/WebHTMLView.mm:

(-[WebHTMLView attachRootLayer:]):

  • WebView/WebView.mm:

Source/WebKit2:

  • NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
  • UIProcess/API/mac/WKView.mm:

(-[WKView viewWillMoveToWindow:]):

  • WebProcess/com.apple.WebProcess.sb.in:

Source/WTF:

  • wtf/Platform.h:
4:59 PM Changeset in webkit [158329] by ap@apple.com
  • 5 edits in trunk/Tools

Set svn:ignore for .pyc files created for test-webkitpy.

  • Scripts/webkitpy/layout_tests/reftests: Added property svn:ignore.
  • Scripts/webkitpy/performance_tests: Added property svn:ignore.
  • Scripts/webkitpy/to_be_moved: Added property svn:ignore.
  • Scripts/webkitpy/w3c: Added property svn:ignore.
4:50 PM Changeset in webkit [158328] by rniwa@webkit.org
  • 1 edit
    1 delete in trunk/LayoutTests

Delete the expected results for Lion.

Rubber-stamped by Anders Carlsson.

  • platform/mac-lion: Removed.
4:48 PM Changeset in webkit [158327] by aestes@apple.com
  • 5 edits
    63 adds in trunk/Source/WebKit

[iOS] Upstream Source/WebKit/ios/
https://bugs.webkit.org/show_bug.cgi?id=123470

Reviewed by Sam Weinig.

Source/WebKit:

  • WebKit.xcodeproj/project.pbxproj:

Source/WebKit/ios:

  • DefaultDelegates/WebDefaultFormDelegate.h: Added.
  • DefaultDelegates/WebDefaultFormDelegate.m: Added.
  • DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
  • DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
  • DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
  • DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
  • DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
  • DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
  • Misc/EmojiFallbackFontSelector.cpp: Added.
  • Misc/EmojiFallbackFontSelector.h: Added.
  • Misc/MemoryMeasure.h: Added.
  • Misc/MemoryMeasure.mm: Added.
  • Misc/WebGeolocationCoreLocationProvider.h: Added.
  • Misc/WebGeolocationCoreLocationProvider.mm: Added.
  • Misc/WebGeolocationProviderIOS.h: Added.
  • Misc/WebGeolocationProviderIOS.mm: Added.
  • Misc/WebNSStringDrawing.h: Added.
  • Misc/WebNSStringDrawing.mm: Added.
  • Misc/WebNSStringExtrasIOS.h: Added.
  • Misc/WebNSStringExtrasIOS.m: Added.
  • Misc/WebNSStringExtrasIPhone.h: Added.
  • Misc/WebUIKitSupport.h: Added.
  • Misc/WebUIKitSupport.mm: Added.
  • Storage/WebSQLiteDatabaseTrackerClient.h: Added.
  • Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
  • WebCoreSupport/PopupMenuIOS.h: Added.
  • WebCoreSupport/PopupMenuIOS.mm: Added.
  • WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
  • WebCoreSupport/SearchPopupMenuIOS.h: Added.
  • WebCoreSupport/WebCaretChangeListener.h: Added.
  • WebCoreSupport/WebChromeClientIOS.h: Added.
  • WebCoreSupport/WebChromeClientIOS.mm: Added.
  • WebCoreSupport/WebFixedPositionContent.h: Added.
  • WebCoreSupport/WebFixedPositionContent.mm: Added.
  • WebCoreSupport/WebFixedPositionContentInternal.h: Added.
  • WebCoreSupport/WebFrameIOS.h: Added.
  • WebCoreSupport/WebFrameIOS.mm: Added.
  • WebCoreSupport/WebFrameIPhone.h: Added.
  • WebCoreSupport/WebGeolocation.mm: Added.
  • WebCoreSupport/WebGeolocationInternal.h: Added.
  • WebCoreSupport/WebGeolocationPrivate.h: Added.
  • WebCoreSupport/WebMIMETypeRegistry.h: Added.
  • WebCoreSupport/WebMIMETypeRegistry.mm: Added.
  • WebCoreSupport/WebSelectionRect.h: Added.
  • WebCoreSupport/WebSelectionRect.m: Added.
  • WebCoreSupport/WebVisiblePosition.h: Added.
  • WebCoreSupport/WebVisiblePosition.mm: Added.
  • WebCoreSupport/WebVisiblePositionInternal.h: Added.
  • WebKit.iOS.exp: Added.
  • WebView/WebFrameViewWAKCompatibility.m: Added.
  • WebView/WebMailDelegate.h: Added.
  • WebView/WebPDFViewIOS.h: Added.
  • WebView/WebPDFViewIOS.mm: Added.
  • WebView/WebPDFViewIPhone.h: Added.
  • WebView/WebPDFViewPlaceholder.h: Added.
  • WebView/WebPDFViewPlaceholder.mm: Added.
  • WebView/WebPlainWhiteView.h: Added.
  • WebView/WebPlainWhiteView.mm: Added.
  • WebView/WebUIKitDelegate.h: Added.

Source/WebKit/mac:

  • Configurations/WebKit.xcconfig: Excluded some iOS files from the Mac build.
4:43 PM Changeset in webkit [158326] by ap@apple.com
  • 7 edits in trunk

85 inspector tests asserting in DrawingAreaProxyImpl::updateAcceleratedCompositingMode()
when there is a stale WebKitTestRunner preference
https://bugs.webkit.org/show_bug.cgi?id=115115

Reviewed by Darin Adler.

Source/WebCore:

  • page/Settings.cpp:

(WebCore::Settings::setMockScrollbarsEnabled):
(WebCore::Settings::setUsesOverlayScrollbars):
Added FIXMEs.

Tools:

Delete stale preferences on launch.

  • WebKitTestRunner/TestController.h:
  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::initialize): Now that we don't have preferences stored from
the previous run, we need th reinstate them before creating a WKView. Not all preferences
can be applied to an existing view retroactively.
(WTR::TestController::resetPreferencesToConsistentValues): Split out of resetStateToConsistentValues,
because there is no injected bundle yet when calling this function from initialize().

  • WebKitTestRunner/mac/main.mm: (setDefaultsToConsistentValuesForTesting): Delete

the preferences.

  • WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):

Added some FIXMEs.

4:13 PM Changeset in webkit [158325] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit2

Try to fix the !WK_API_ENABLED Mac build.

  • Shared/Cocoa/APIObject.mm:
3:49 PM Changeset in webkit [158324] by mitz@apple.com
  • 13 edits
    7 adds
    2 deletes in trunk/Source/WebKit2

[Cocoa] Make all API objects have Cocoa wrappers, and delegate refcounting to those wrappers
https://bugs.webkit.org/show_bug.cgi?id=123394

Reviewed by Darin Adler.

All wrappers conform to a new WKObject protocol and contain the wrapped object inline.
APIObject-derived classes override operator new to call newObject, which allocates the
wrapper and returns a pointer to the inline API object.

There are three kinds of wrapper classes: (a) classes that inherit directly from NSObject
and implement their API by calling the wrapped object (example: WKBackForwardList),
(b) internal classes that inherit from a class cluster, and implement the primitive methods
of the class cluster by calling the wrapped object (example: WKNSArray), and (c) internal
classes that inerit from the new WKObject class, and proxy to an object of some public type,
which is created from the wrapped object (example: WKNSURL).

  • Shared/APIObject.h:

(WebKit::APIObject::wrapper): Added this getter.
(WebKit::TypedAPIObject::operator new): Added override that calls newObject.

  • Shared/Cocoa/APIObject.mm: Added.

(WebKit::APIObject::ref): Retains the wrapper.
(WebKit::APIObject::deref): Releases the wrapper. When the wrapper is deallocated, it calls
the API object destructor.
(WebKit::APIObject::newObject): Allocates the wrapper and returns a pointer to the API
object inside the wrapper.

  • Shared/Cocoa/WKNSArray.h:

(WebKit::wrapper): Added. Returns an ImmutableArray’s wrapper as an NSArray.
Replaced the RefPtr<ImmutableArray> ivar with space for an ImmutableArray to live inside
the wrapper.
(-[WKNSArray dealloc]): Calls the ImmutableArray destructor.
(-[WKNSArray count]): Updated for ivar change.
(-[WKNSArray objectAtIndex:]): Ditto.
(-[WKNSArray _apiObject]): Returns the wrapped ImmutableArray.

  • Shared/Cocoa/WKNSObjectExtras.h: Removed.
  • Shared/Cocoa/WKNSObjectExtras.mm: Removed.
  • Shared/Cocoa/WKNSString.h: Added.
  • Shared/Cocoa/WKNSString.mm: Added.

(-[WKNSString _web_createTarget]): Override this WKObject method to create an NSString from
the WebString.
(-[WKNSString copyWithZone:]): Retains self.

  • Shared/Cocoa/WKNSURL.h: Added.
  • Shared/Cocoa/WKNSURL.mm: Added.

(-[WKNSURL _web_createTarget]): Override this WKObject method to create an NSURL from
the WebURL.
(-[WKNSURL copyWithZone:]): Retains self.

  • Shared/Cocoa/WKObject.h: Added.
  • Shared/Cocoa/WKObject.mm: Added.

(-[WKObject dealloc]): Calls the destructor of the wrapped object and releases the target
object.
(initializeTargetIfNeeded): Helper function. Tries to create the target exactly once.
(-[WKObject isEqual:]): NSObject override that creates and compares to the target
object if necessary.
(-[WKObject hash]): NSObject override that creates and hashes the target object if
there is one.
(-[WKObject isKindOfClass:]): NSObject override that delegates to the target object.
(-[WKObject isMemberOfClass:]): Ditto.
(-[WKObject respondsToSelector:]): NSObject override that creates the target object if
necessary and returns whether it or self responds to the selector.
(-[WKObject conformsToProtocol:]): Similarly for protocols.
(-[WKObject forwardingTargetForSelector:]): NSObject override that creates the target object
if necessary and returns it as the target.
(-[WKObject description]): NSObject override that creates the target object if necessary and
forwards to it.
(-[WKObject _web_createTarget]): Added. The base implementation returns nil.
(-[WKObject _apiObject]): Returns the wrapped object.

  • UIProcess/API/mac/WKBrowsingContextController.mm:

(-[WKBrowsingContextController backForwardList]): Changed to return the existing wrapper.
(didChangeBackForwardList): Changed to use existing wrappers.

Replaced the RefPtr<WebBackForwardList> ivar with space for a WebBackForwardList to live
inside the wrapper.
(-[WKBackForwardList dealloc]): Call the WebBackForwardList destructor.
(toWKBackForwardListItem): Changed to us the existing wrapper.
(-[WKBackForwardList currentItem]): Updated for ivar change.
(-[WKBackForwardList backItem]): Ditto.
(-[WKBackForwardList forwardItem]): Ditto.
(-[WKBackForwardList itemAtIndex:]): Ditto.
(-[WKBackForwardList backListCount]): Ditto.
(-[WKBackForwardList forwardListCount]): Ditto,
(-[WKBackForwardList backListWithLimit:]): Ditto, and also changed to use the
ImmutableArray’s existing wrapper.
(-[WKBackForwardList forwardListWithLimit:]): Ditto.
(-[WKBackForwardList _apiObject]): Returns the WebBackForwardListItem.

  • UIProcess/Cocoa/WKBackForwardListInternal.h:

(WebKit::wrapper): Added. Returns a WebBackForwardList’s wrapper as a WKBackForwardList.

  • UIProcess/Cocoa/WKBackForwardListItem.mm:

Replaced the RefPtr<WebBackForwardListItem> ivar with space for a WebBackForwardListItem to
live inside the wrapper.
(-[WKBackForwardListItem dealloc]): Call the WebBackForwardListItem destructor.
(-[WKBackForwardListItem URL]): Updated for ivar change, and changed to make an NSURL
directly instead of going through a wrapper.
(-[WKBackForwardListItem title]): Updated for ivar change, and changed to use
String’s operator NSString*.
(-[WKBackForwardListItem originalURL]): Updated for ivar change, and changed to make an
NSURL directly instead of going through a wrapper.
(-[WKBackForwardListItem _apiObject]): Returns the WebBackForwardListItem.
(-[WKBackForwardListItem _item]): Ditto.

  • UIProcess/Cocoa/WKBackForwardListItemInternal.h:

(WebKit::wrapper): Added. Returns a WebBackForwardListItem’s wrapper as a
WKBackForwardListItem.

  • UIProcess/WebColorPickerResultListenerProxy.h: Changed into a TypedAPIObject.
  • UIProcess/WebFormSubmissionListenerProxy.h:

(WebKit::WebFormSubmissionListenerProxy::operator new): Override to call newObject.

  • UIProcess/WebFramePolicyListenerProxy.h:

(WebKit::WebFramePolicyListenerProxy::operator new): Ditto.

  • WebKit2.xcodeproj/project.pbxproj: Updated for file additions and removals.
3:47 PM Changeset in webkit [158323] by mark.lam@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Unreviewed, fix C Loop LLINT build.

  • bytecode/CodeBlockJettisoningWatchpoint.cpp:

(JSC::CodeBlockJettisoningWatchpoint::fireInternal):

  • bytecode/ProfiledCodeBlockJettisoningWatchpoint.cpp:

(JSC::ProfiledCodeBlockJettisoningWatchpoint::fireInternal):

3:34 PM Changeset in webkit [158322] by fpizlo@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Unreviewed, fix FTL build.

  • ftl/FTLAbstractHeapRepository.h:
  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileCallOrConstruct):

3:27 PM Changeset in webkit [158321] by akling@apple.com
  • 24 edits in trunk/Source/WebCore

Take line boxes out of the arena.
<https://webkit.org/b/123533>

Stop arena-allocating line boxes so we can move forward on improving
render tree memory management. This will also allow more rendering
code to take advantage of malloc optimizations.

This will likely regress performance on some micro-benchmarks, but
it's something we want to do sooner rather than later so we have time
to restabilize it. All improvements to the simple line layout's
coverage will help with recouping whatever is regressed.

BiDi runs are the only remaining user of the arena now.

Reviewed by Antti Koivisto

3:17 PM Changeset in webkit [158320] by commit-queue@webkit.org
  • 39 edits in trunk/Source/WebCore

Web Inspector: Remove InspectorAgent::restore functionality
https://bugs.webkit.org/show_bug.cgi?id=123525

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-10-30
Reviewed by Timothy Hatcher.

Remove unused InspectorAgent restore functionality.

  • inspector/InspectorApplicationCacheAgent.cpp:
  • inspector/InspectorApplicationCacheAgent.h:
  • inspector/InspectorBaseAgent.cpp:
  • inspector/InspectorBaseAgent.h:
  • inspector/InspectorCSSAgent.cpp:
  • inspector/InspectorCSSAgent.h:
  • inspector/InspectorCanvasAgent.cpp:
  • inspector/InspectorCanvasAgent.h:
  • inspector/InspectorConsoleAgent.cpp:
  • inspector/InspectorConsoleAgent.h:
  • inspector/InspectorController.cpp:
  • inspector/InspectorController.h:
  • inspector/InspectorDOMAgent.cpp:
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorDatabaseAgent.cpp:
  • inspector/InspectorDatabaseAgent.h:
  • inspector/InspectorDebuggerAgent.cpp:
  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorHeapProfilerAgent.cpp:
  • inspector/InspectorHeapProfilerAgent.h:
  • inspector/InspectorIndexedDBAgent.cpp:
  • inspector/InspectorIndexedDBAgent.h:
  • inspector/InspectorLayerTreeAgent.cpp:
  • inspector/InspectorLayerTreeAgent.h:
  • inspector/InspectorPageAgent.cpp:
  • inspector/InspectorPageAgent.h:
  • inspector/InspectorProfilerAgent.cpp:
  • inspector/InspectorProfilerAgent.h:
  • inspector/InspectorResourceAgent.cpp:
  • inspector/InspectorResourceAgent.h:
  • inspector/InspectorTimelineAgent.cpp:
  • inspector/InspectorTimelineAgent.h:
  • inspector/InspectorWorkerAgent.cpp:
  • inspector/InspectorWorkerAgent.h:
  • inspector/PageRuntimeAgent.cpp:
  • inspector/PageRuntimeAgent.h:
  • inspector/WorkerInspectorController.cpp:
  • inspector/WorkerInspectorController.h:
3:12 PM Changeset in webkit [158319] by andersca@apple.com
  • 3 edits in trunk/Tools

Try to fix the 32-bit build.

  • TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm:
  • TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm:
3:07 PM Changeset in webkit [158318] by jer.noble@apple.com
  • 4 edits in trunk

REGRESSION(r158288): media/media-can-play-mpeg4-video.html fails
https://bugs.webkit.org/show_bug.cgi?id=123530

Reviewed by Eric Carlson.

Source/WebCore:

Lower case the mime type before passing it along to MediaPlayer.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::canPlayType):
(WebCore::HTMLMediaElement::selectNextSourceChild):

LayoutTests:

3:05 PM Changeset in webkit [158317] by ap@apple.com
  • 10 edits
    1 copy
    1 add in trunk/Source

Add a way to fulfill promises from DOM code
https://bugs.webkit.org/show_bug.cgi?id=123466

Reviewed by Sam Weinig.

Source/JavaScriptCore:

  • JavaScriptCore.xcodeproj/project.pbxproj: Make JSPromise.h and JSPromiseResolver.h

private headers for WebCore to use.

  • runtime/JSPromise.h:
  • runtime/JSPromiseResolver.h:

Export functions that JSDOMPromise will use.

Source/WebCore:

This is not perfect, as it strongly ties DOM code to JavaScript. In the future, we
can make it better e.g. by subclassing, so that only a base interface would be exposed.

  • GNUmakefile.list.am:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • bindings/js/JSBindingsAllInOne.cpp:
  • WebCore.xcodeproj/project.pbxproj:

Added JSDOMPromise.

  • bindings/js/JSDOMPromise.cpp: Added.
  • bindings/js/JSDOMPromise.h: Added.

(WebCore::PromiseWrapper::create):
(WebCore::PromiseWrapper::fulfill): A random set of specializations that I needed
in WebCrypto code so far.
(WebCore::PromiseWrapper::reject): Ditto.

2:51 PM Changeset in webkit [158316] by andersca@apple.com
  • 7 edits
    3 copies
    1 add in trunk

Begin fleshing out an API test for WKRemoteObjectRegistry
https://bugs.webkit.org/show_bug.cgi?id=123531

Reviewed by Andreas Kling.

Source/WebKit2:

  • Shared/API/Cocoa/WKRemoteObjectInterface.h:

Add WK_API_CLASS annotation.

  • Shared/API/Cocoa/WKRemoteObjectRegistry.h:

Add WK_API_CLASS annotation.

  • Shared/API/Cocoa/WKRemoteObjectRegistry.mm:

Add a WebConnection ivar.

(-[WKRemoteObjectRegistry _initWithConnectionRef:]):
Add SPI to create an WKRemoteObjectRegistry object with an existing WKConnectionRef.

(-[WKRemoteObjectRegistry _handleMessageWithName:body:]):
Add SPI that will be used to process incoming messages from an existing WKConnectionRef.

  • Shared/API/Cocoa/WKRemoteObjectRegistryPrivate.h: Added.

Add SPI header.

  • WebKit2.xcodeproj/project.pbxproj:

Add new files.

Tools:

Add a very simple test that doesn't really test anything for now.

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  • TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm: Added.
  • TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm: Added.
  • TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Shared.h: Added.
2:26 PM Changeset in webkit [158315] by mark.lam@apple.com
  • 23 edits in trunk/Source/JavaScriptCore

Adjust CallFrameHeader's ReturnPC and CallFrame locations to match the native ABI .
https://bugs.webkit.org/show_bug.cgi?id=123444.

Reviewed by Geoffrey Garen.

  • Introduced an explicit CallerFrameAndPC struct.
  • A CallFrame is expected to start with a CallerFrameAndPC struct.
  • The Register class no longer supports CallFrame* and Instruction*.

These hides the differences between JSVALUE32_64 and JSVALUE64 in
terms of managing the callerFrame() and returnPC() values.

  • Convert all uses of JSStack::CallerFrame and JSStack::ReturnPC to go through CallFrame to access the appropriate values and offsets. CallFrame, in turn, will access the callerFrame and returnPC via the CallerFrameAndPC struct.
  • InlineCallFrame will provide offsets for its callerFrame and returnPC. It will make use of CallFrame::callerFrameOffset() and CallerFrame::returnPCOffset() to compute these.
  • bytecode/CodeOrigin.h:

(JSC::InlineCallFrame::callerFrameOffset):
(JSC::InlineCallFrame::returnPCOffset):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::compileEntry):
(JSC::DFG::JITCompiler::compileExceptionHandlers):

  • dfg/DFGOSRExitCompilerCommon.cpp:

(JSC::DFG::reifyInlinedCallFrames):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::calleeFrameSlot):
(JSC::DFG::SpeculativeJIT::calleeArgumentSlot):
(JSC::DFG::SpeculativeJIT::calleeFrameTagSlot):
(JSC::DFG::SpeculativeJIT::calleeFramePayloadSlot):
(JSC::DFG::SpeculativeJIT::calleeArgumentTagSlot):
(JSC::DFG::SpeculativeJIT::calleeArgumentPayloadSlot):

  • Prefixed all the above with callee since they apply to the callee frame.

(JSC::DFG::SpeculativeJIT::calleeFrameCallerFrame):

  • Added to set the callerFrame pointer in the callee frame.
  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::emitCall):
(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::emitCall):
(JSC::DFG::SpeculativeJIT::compile):

  • ftl/FTLLink.cpp:

(JSC::FTL::compileEntry):
(JSC::FTL::link):

  • interpreter/CallFrame.h:

(JSC::ExecState::callerFrame):
(JSC::ExecState::callerFrameOffset):
(JSC::ExecState::returnPC):
(JSC::ExecState::hasReturnPC):
(JSC::ExecState::clearReturnPC):
(JSC::ExecState::returnPCOffset):
(JSC::ExecState::setCallerFrame):
(JSC::ExecState::setReturnPC):
(JSC::ExecState::callerFrameAndPC):

  • interpreter/JSStack.h:
  • interpreter/Register.h:
  • jit/AssemblyHelpers.h:

(JSC::AssemblyHelpers::emitPutToCallFrameHeader):

  • Convert to using storePtr() here and simplify the code.

(JSC::AssemblyHelpers::emitGetCallerFrameFromCallFrameHeaderPtr):
(JSC::AssemblyHelpers::emitPutCallerFrameToCallFrameHeader):
(JSC::AssemblyHelpers::emitGetReturnPCFromCallFrameHeaderPtr):
(JSC::AssemblyHelpers::emitPutReturnPCToCallFrameHeader):

  • Helpers to emit gets/puts of the callerFrame and returnPC.

(JSC::AssemblyHelpers::addressForByteOffset):

  • jit/JIT.cpp:

(JSC::JIT::JIT):
(JSC::JIT::privateCompile):
(JSC::JIT::privateCompileExceptionHandlers):

  • jit/JITCall.cpp:

(JSC::JIT::compileCallEval):
(JSC::JIT::compileOpCall):

  • jit/JITCall32_64.cpp:

(JSC::JIT::emit_op_ret):
(JSC::JIT::emit_op_ret_object_or_this):
(JSC::JIT::compileCallEval):
(JSC::JIT::compileOpCall):

  • jit/JITInlines.h:

(JSC::JIT::unmap):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_end):
(JSC::JIT::emit_op_ret):
(JSC::JIT::emit_op_ret_object_or_this):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::privateCompileCTINativeCall):
(JSC::JIT::emit_op_end):

  • jit/JITOperations.cpp:
  • jit/SpecializedThunkJIT.h:

(JSC::SpecializedThunkJIT::returnJSValue):
(JSC::SpecializedThunkJIT::returnDouble):
(JSC::SpecializedThunkJIT::returnInt32):
(JSC::SpecializedThunkJIT::returnJSCell):

  • jit/ThunkGenerators.cpp:

(JSC::throwExceptionFromCallSlowPathGenerator):
(JSC::slowPathFor):
(JSC::nativeForGenerator):

  • llint/LLIntData.cpp:

(JSC::LLInt::Data::performAssertions):

  • llint/LowLevelInterpreter.asm:
  • Updated offsets and asserts to match the new CallFrame layout.
2:16 PM Changeset in webkit [158314] by commit-queue@webkit.org
  • 3 edits
    4 adds in trunk

contentEditable deleting lists when list items are block level
https://bugs.webkit.org/show_bug.cgi?id=122602

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-10-30
Reviewed by Ryosuke Niwa.

Source/WebCore:

When listitems are styled with display:block/float then inserting paragraph
twice at end of listitem delete entire list. Generally when listitem is empty
then we delete the listitem on inserting paragraph. In this issue, on inserting
first paragraph one empty listitem is created, and on inserting second paragraph
we try to delete that empty listitem. but it misbehave becasue of incomplete
definition of htmlediting::isLisItem() and entire list is deleted.

htmlediting::isListItem() check only render object to decide whether it is
list or not, so if any LI element is block level then isListItem return false.
Now after this patch if parent of current node is list element then node is
treated as listItem.

Test: editing/execCommand/hit-enter-twice-atendof-block-styled-listitem.html

  • editing/htmlediting.cpp:

(WebCore::isListItem): Modified condition to check if parent node is list;

LayoutTests:

Testcase: When listitem is styled with display:block then inserting
paragraph twice at the end of listitem should not remove entire list.

  • editing/execCommand/hit-enter-twice-atendof-block-styled-listitem-expected.txt: Added.
  • editing/execCommand/hit-enter-twice-atendof-block-styled-listitem.html: Added.

TestCase: When listitem is made of custom tag(<item>) and css(display:list-item)
then inserting paragraph twice at the end of listitem should not remove entire list.

  • editing/execCommand/hit-enter-twice-atendof-custom-listitem-expected.txt: Added.
  • editing/execCommand/hit-enter-twice-atendof-custom-listitem.html: Added.
1:59 PM Changeset in webkit [158313] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Unreviewed, fix Mac.

  • assembler/AbstractMacroAssembler.h:

(JSC::AbstractMacroAssembler::RegisterAllocationOffset::checkOffsets):
(JSC::AbstractMacroAssembler::checkRegisterAllocationAgainstBranchRange):

1:57 PM Changeset in webkit [158312] by rniwa@webkit.org
  • 3 edits in trunk/LayoutTests

Add a failing test expectation on media/media-can-play-mpeg4-video.html after r158288.
The failure is tracked by the bug 123530.

Also rebaseline Mountain Lion results.

  • TestExpectations:
  • platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt:
1:51 PM Changeset in webkit [158311] by jer.noble@apple.com
  • 5 edits in trunk/Source/WebCore

Unreviewed. Update NEWS and Versions.m4 for 2.3.1 release.

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-10-29

  • Source/autotools/Versions.m4: Bump version numbers.
1:40 PM Changeset in webkit [158310] by akling@apple.com
  • 7 edits in trunk/Source

Let Page::renderTreeSize() be the number of renderers.
<https://webkit.org/b/123518>
<rdar://problem/15348679>

The old metric was "number of bytes allocated in RenderArena" and
that was heading towards obsolescence, fast.

Instead, keep a count of RenderObjects instantiated on RenderView.
While a bit ugly, this lets us move forward with rendering memory
model improvements without breaking features.

Reviewed by Beth Dakin.

1:32 PM Changeset in webkit [158309] by commit-queue@webkit.org
  • 8 edits in trunk/Source

WebKit/win/WebKitGraphics.h:void WebDrawText(WebTextRenderInfo*); is never called
https://bugs.webkit.org/show_bug.cgi?id=123485

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-10-30
Reviewed by Brent Fulgham.

Source/WebCore:

WebDrawText is the only caller of WebCoreDrawTextAtPoint, so we can
delete that as well.

Because there is no behavior difference, no new tests are necessary.

  • platform/win/WebCoreTextRenderer.cpp:
  • platform/win/WebCoreTextRenderer.h:

Source/WebKit:

Deleting the function

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/win:

Removed unused WebDrawText implementation.

  • WebKitGraphics.cpp:
  • WebKitGraphics.h:
1:22 PM Changeset in webkit [158308] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Unreviewed, fix Windows.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::jettison):

1:14 PM Changeset in webkit [158307] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Unreviewed, fix Windows.

  • bytecode/CodeBlock.h:

(JSC::CodeBlock::addFrequentExitSite):

1:13 PM Changeset in webkit [158306] by fpizlo@apple.com
  • 2 edits in trunk/Tools

Remove unnecessary touch

Rubber stamped by Mark Hahnenberg.

  • Scripts/run-jsc-stress-tests:
1:03 PM Changeset in webkit [158305] by Samuel White
  • 3 edits in trunk/Tools

AX: Add Samuel White to accessibility watchlist cc rules
https://bugs.webkit.org/show_bug.cgi?id=123515

Reviewed by Chris Fleizach.

Adding myself and jcraig@apple.com (per his request) to the accessibility watchlist. Also
updating contributors.json with permission from bweinstein@apple.com to make this possible.

  • Scripts/webkitpy/common/config/contributors.json:
  • Scripts/webkitpy/common/config/watchlist:
12:58 PM Changeset in webkit [158304] by fpizlo@apple.com
  • 35 edits
    10 adds
    2 deletes in trunk/Source/JavaScriptCore

Add InvalidationPoints to the DFG and use them for all watchpoints
https://bugs.webkit.org/show_bug.cgi?id=123472

Reviewed by Mark Hahnenberg.

This makes a fundamental change to how watchpoints work in the DFG.

Previously, a watchpoint was an instruction whose execution semantics were something
like:

if (watchpoint->invalidated)

exit


We would implement this without any branch by using jump replacement.

This is a very good optimization. But it's a bit awkward once you get a lot of
watchpoints: semantically we will have lots of these branches in the code, which the
compiler needs to reason about even though they don't actually result in any emitted
code.

Separately, we also had a mechanism for jettisoning a CodeBlock. This mechanism would
be invoked if a CodeBlock exited a lot. It would ensure that a CodeBlock wouldn't be
called into again, but it would do nothing for CodeBlocks that were already on the
stack.

This change flips jettisoning and watchpoint invalidation on their heads. Now, the jump
replacement has nothing to do with watchpoints; instead it's something that happens if
you ever jettison a CodeBlock. Jump replacement is now an all-or-nothing operation over
all of the potential call-return safe-exit-points in a CodeBlock. We call these
"InvalidationPoint"s. A watchpoint instruction is now "lowered" by having the DFG
collect all of the watchpoint sets that the CodeBlock cares about, and then registering
a CodeBlockJettisoningWatchpoint with all of them. That is, if the watchpoint fires, it
jettisons the CodeBlock, which in turn ensures that the CodeBlock can't be called into
(because the entrypoint now points to baseline code) and can't be returned into
(because returning exits to baseline before the next bytecode instruction).

This will allow for a sensible lowering of watchpoints to LLVM IR. It will also allow
for jettison() to be used effectively for things like breakpointing and single-stepping
in the debugger.

Well, basically, this mechanism just takes us into the HotSpot-style world where anyone
can, at any time and for any reason, request that an optimized CodeBlock is rendered
immediately invalid. You can use this for many cool things, I'm sure.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • assembler/AbstractMacroAssembler.h:
  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::jettison):

  • bytecode/CodeBlock.h:
  • bytecode/CodeBlockJettisoningWatchpoint.cpp: Added.

(JSC::CodeBlockJettisoningWatchpoint::fireInternal):

  • bytecode/CodeBlockJettisoningWatchpoint.h: Added.

(JSC::CodeBlockJettisoningWatchpoint::CodeBlockJettisoningWatchpoint):

  • bytecode/ExitKind.cpp:

(JSC::exitKindToString):

  • bytecode/ExitKind.h:
  • bytecode/ProfiledCodeBlockJettisoningWatchpoint.cpp: Added.

(JSC::ProfiledCodeBlockJettisoningWatchpoint::fireInternal):

  • bytecode/ProfiledCodeBlockJettisoningWatchpoint.h: Added.

(JSC::ProfiledCodeBlockJettisoningWatchpoint::ProfiledCodeBlockJettisoningWatchpoint):

  • dfg/DFGAbstractHeap.h:
  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::::executeEffects):

  • dfg/DFGClobberize.cpp:

(JSC::DFG::writesOverlap):

  • dfg/DFGClobberize.h:

(JSC::DFG::clobberize):
(JSC::DFG::AbstractHeapOverlaps::AbstractHeapOverlaps):
(JSC::DFG::AbstractHeapOverlaps::operator()):
(JSC::DFG::AbstractHeapOverlaps::result):

  • dfg/DFGCommonData.cpp:

(JSC::DFG::CommonData::invalidate):

  • dfg/DFGCommonData.h:

(JSC::DFG::CommonData::CommonData):

  • dfg/DFGDesiredWatchpoints.cpp:

(JSC::DFG::DesiredWatchpoints::addLazily):
(JSC::DFG::DesiredWatchpoints::reallyAdd):

  • dfg/DFGDesiredWatchpoints.h:

(JSC::DFG::WatchpointForGenericWatchpointSet::WatchpointForGenericWatchpointSet):
(JSC::DFG::GenericDesiredWatchpoints::addLazily):
(JSC::DFG::GenericDesiredWatchpoints::reallyAdd):
(JSC::DFG::GenericDesiredWatchpoints::areStillValid):

  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixupNode):

  • dfg/DFGInvalidationPointInjectionPhase.cpp: Added.

(JSC::DFG::InvalidationPointInjectionPhase::InvalidationPointInjectionPhase):
(JSC::DFG::InvalidationPointInjectionPhase::run):
(JSC::DFG::InvalidationPointInjectionPhase::handle):
(JSC::DFG::InvalidationPointInjectionPhase::insertInvalidationCheck):
(JSC::DFG::performInvalidationPointInjection):

  • dfg/DFGInvalidationPointInjectionPhase.h: Added.
  • dfg/DFGJITCode.h:
  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::linkOSRExits):
(JSC::DFG::JITCompiler::link):

  • dfg/DFGJITCompiler.h:
  • dfg/DFGJumpReplacement.cpp: Added.

(JSC::DFG::JumpReplacement::fire):

  • dfg/DFGJumpReplacement.h: Added.

(JSC::DFG::JumpReplacement::JumpReplacement):

  • dfg/DFGNodeType.h:
  • dfg/DFGOSRExitCompilationInfo.h:
  • dfg/DFGOperations.cpp:
  • dfg/DFGPlan.cpp:

(JSC::DFG::Plan::compileInThreadImpl):
(JSC::DFG::Plan::reallyAdd):

  • dfg/DFGPredictionPropagationPhase.cpp:

(JSC::DFG::PredictionPropagationPhase::propagate):

  • dfg/DFGSafeToExecute.h:

(JSC::DFG::safeToExecute):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::emitInvalidationPoint):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectEquality):
(JSC::DFG::SpeculativeJIT::compileGetByValOnString):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::masqueradesAsUndefinedWatchpointIsStillValid):
(JSC::DFG::SpeculativeJIT::speculateStringObjectForStructure):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::nonSpeculativeNonPeepholeCompareNull):
(JSC::DFG::SpeculativeJIT::nonSpeculativePeepholeBranchNull):
(JSC::DFG::SpeculativeJIT::compileObjectEquality):
(JSC::DFG::SpeculativeJIT::compileObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compileObjectOrOtherLogicalNot):
(JSC::DFG::SpeculativeJIT::emitObjectOrOtherBranch):
(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::nonSpeculativeNonPeepholeCompareNull):
(JSC::DFG::SpeculativeJIT::nonSpeculativePeepholeBranchNull):
(JSC::DFG::SpeculativeJIT::compileObjectEquality):
(JSC::DFG::SpeculativeJIT::compileObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compileObjectOrOtherLogicalNot):
(JSC::DFG::SpeculativeJIT::emitObjectOrOtherBranch):
(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGWatchpointCollectionPhase.cpp: Added.

(JSC::DFG::WatchpointCollectionPhase::WatchpointCollectionPhase):
(JSC::DFG::WatchpointCollectionPhase::run):
(JSC::DFG::WatchpointCollectionPhase::handle):
(JSC::DFG::WatchpointCollectionPhase::handleEdge):
(JSC::DFG::WatchpointCollectionPhase::handleMasqueradesAsUndefined):
(JSC::DFG::WatchpointCollectionPhase::handleStringGetByVal):
(JSC::DFG::WatchpointCollectionPhase::addLazily):
(JSC::DFG::WatchpointCollectionPhase::globalObject):
(JSC::DFG::performWatchpointCollection):

  • dfg/DFGWatchpointCollectionPhase.h: Added.
  • ftl/FTLCapabilities.cpp:

(JSC::FTL::canCompile):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileStructureTransitionWatchpoint):
(JSC::FTL::LowerDFGToLLVM::compileGetByVal):
(JSC::FTL::LowerDFGToLLVM::compileGlobalVarWatchpoint):
(JSC::FTL::LowerDFGToLLVM::compileCompareEqConstant):
(JSC::FTL::LowerDFGToLLVM::compileCompareStrictEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareStrictEqConstant):
(JSC::FTL::LowerDFGToLLVM::compileInvalidationPoint):
(JSC::FTL::LowerDFGToLLVM::equalNullOrUndefined):
(JSC::FTL::LowerDFGToLLVM::speculateNonNullObject):

  • jit/JITOperations.cpp:
  • jit/JumpReplacementWatchpoint.cpp: Removed.
  • jit/JumpReplacementWatchpoint.h: Removed.
12:16 PM Changeset in webkit [158303] by Csaba Osztrogonác
  • 3 edits in trunk/Source/WebCore

URTBF after r158289.

  • CMakeLists.txt:
  • Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:

(WebCore::IDBFactoryBackendLevelDB::createCursorBackend):

12:10 PM Changeset in webkit [158302] by Patrick Gansterer
  • 3 edits in trunk/Tools

[WIN] Add executable entry points to DRT and WinLauncher
https://bugs.webkit.org/show_bug.cgi?id=121837

Reviewed by Brent Fulgham.

This allows to compile and run the executables without DLLLauncher.

  • DumpRenderTree/win/DumpRenderTree.cpp:

(main):
(dllLauncherEntryPoint):

  • WinLauncher/WinLauncher.cpp:

(wWinMain):
(dllLauncherEntryPoint):

12:10 PM Changeset in webkit [158301] by fpizlo@apple.com
  • 2 edits in trunk/Tools

run-jsc-stress-tests should handle ".." in paths and "slow!" in cmd's
https://bugs.webkit.org/show_bug.cgi?id=123521

Reviewed by Mark Hahnenberg.

  • Scripts/run-jsc-stress-tests:
12:07 PM Changeset in webkit [158300] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Build fails with EGLConfigSelector.cpp when OpenGL ES is not used
https://bugs.webkit.org/show_bug.cgi?id=119037

Patch by Dong-Gwan Kim <donggwan.kim@samsung.com> on 2013-10-30
Reviewed by Brent Fulgham.

Build fix for EGLConfigSelector.cpp

No new tests, no behavior change.

  • platform/graphics/surfaces/egl/EGLConfigSelector.cpp:

(WebCore::EGLConfigSelector::createConfig):

12:03 PM Changeset in webkit [158299] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WTF

Remove PCRE workaround.
https://bugs.webkit.org/show_bug.cgi?id=123265

Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-10-30
Reviewed by Brent Fulgham.

  • wtf/text/StringStatics.cpp:

(WTF::StringImpl::empty):

12:02 PM Changeset in webkit [158298] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

Add a flaky test expectation to media/track/track-in-band-legacy-api.html
The failure is tracked by the bug 123522.

  • platform/mac/TestExpectations:
11:59 AM Changeset in webkit [158297] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

Remote Layer Tree: Lots of ASSERT(m_children.isEmpty()); on Poster Circle
https://bugs.webkit.org/show_bug.cgi?id=123517

Reviewed by Simon Fraser.

  • WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:

(PlatformCALayerRemote::setSublayers):
When setting our list of sublayers, remove all of the new layers from
their parents first.

11:56 AM Changeset in webkit [158296] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Explicitly initialize base class in MediStreamTrackPrivate copy constructor
https://bugs.webkit.org/show_bug.cgi?id=123473

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-10-30
Reviewed by Eric Carlson.

No new tests needed.

Ports that enable -Werror=extra must do that to compile.

  • platform/mediastream/MediaStreamTrackPrivate.cpp:

(WebCore::MediaStreamTrackPrivate::MediaStreamTrackPrivate):

11:52 AM Changeset in webkit [158295] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

Mac build fix after r158291.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::canPlayType):

11:49 AM Changeset in webkit [158294] by commit-queue@webkit.org
  • 8 edits in trunk/Source/WebCore

Unreviewed, rolling out r158243.
http://trac.webkit.org/changeset/158243
https://bugs.webkit.org/show_bug.cgi?id=123520

Change was wrong (Requested by smfr on #webkit).

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/blackberry/PathBlackBerry.cpp:

(WebCore::GraphicsContext::drawLineForText):

  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::GraphicsContext::drawLineForText):

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::GraphicsContext::drawLineForText):

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::GraphicsContext::drawLineForText):

  • platform/win/WebCoreTextRenderer.cpp:

(WebCore::doDrawTextAtPoint):

  • rendering/InlineTextBox.cpp:

(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintCompositionUnderline):

11:31 AM Changeset in webkit [158293] by alex.christensen@flexsim.com
  • 2 edits in trunk/Source/WebKit

[Windows] Unreviewed build fix.

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Added missing 32-bit and 64-bit linker symbols.

11:22 AM Changeset in webkit [158292] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Favicons are flipped in vertical direction in WinCairo builds.
https://bugs.webkit.org/show_bug.cgi?id=102077

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-30
Reviewed by Brent Fulgham.

  • platform/graphics/win/ImageCairoWin.cpp:

(WebCore::BitmapImage::getHBITMAPOfSize):

11:18 AM Changeset in webkit [158291] by jer.noble@apple.com
  • 9 edits in trunk/Source/WebCore

[MSE] Add MediaSource compatable loading functions to MediaPlayer
https://bugs.webkit.org/show_bug.cgi?id=123353

Reviewed by Eric Carlson.

Add methods to MediaPlayer to allow it to select the correct MediaPlayerFactory
when attempting to load a MediaSource URL.

  • Modules/mediasource/MediaSource.cpp:

(WebCore::MediaSource::addSourceBuffer):
(WebCore::MediaSource::isTypeSupported):

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::loadResource):
(WebCore::HTMLMediaElement::canPlayType):
(WebCore::HTMLMediaElement::selectNextSourceChild):

  • platform/graphics/MediaPlayer.cpp:

(WebCore::MediaPlayer::load):
(WebCore::MediaPlayer::supportsType):

  • platform/graphics/MediaPlayer.h:
  • dom/DOMImplementation.cpp:

(WebCore::DOMImplementation::createDocument):

Remove the isSupportedMediaSourceMIMEType() method:

  • platform/MIMETypeRegistry.h:
  • platform/efl/MIMETypeRegistryEfl.cpp:
  • platform/mac/MIMETypeRegistryMac.mm:
11:04 AM Changeset in webkit [158290] by ap@apple.com
  • 2 edits in trunk/Tools

Mavericks: 128 tests are failing due to pixel differences
https://bugs.webkit.org/show_bug.cgi?id=123488

Reviewed by Simon Fraser.

Apple font preferences cannot be fully reset after they've been read, so we
need to set them using CFPreferences before initializing NSApplication.

In theory, this should be an issue on WebKit2 as well, but somehow it doesn't
appear to be. I guess we can figure out the reasons for this difference when/if
any observable problems start to occur.

  • DumpRenderTree/mac/DumpRenderTree.mm:

(setDefaultsToConsistentValuesForTesting): Only set defaults here, move other work
to prepareConsistentTestingEnvironment().
(main): Call setDefaultsToConsistentValuesForTesting before [NSApplication sharedApplication]
(which is unnecessary anyway since NSUserDefaults will implicitly call it, but seems
useful to keep in case we change out approach to defaults again).

11:02 AM Changeset in webkit [158289] by beidson@apple.com
  • 7 edits
    2 moves in trunk/Source/WebCore

Unreviewed. Update NEWS and Versions.m4 for 2.3.1 release.

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-10-29

  • Source/autotools/Versions.m4: Bump version numbers.
11:01 AM Changeset in webkit [158288] by jer.noble@apple.com
  • 10 edits
    9 deletes in trunk

[MSE] Remove legacy Media Source APIs (WebKitMediaSource, WebKitSourceBuffer, WebKitSourceBufferList)
https://bugs.webkit.org/show_bug.cgi?id=123463

Reviewed by Eric Carlson.

Source/WebCore:

No new tests; updated test results.

Remove all reference to WebKitMediaSource, WebKitSourceBuffer, and WebKitSourceBufferList.

  • CMakeLists.txt:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • GNUmakefile.list.am:
  • Modules/mediasource/DOMURLMediaSource.idl:
  • Modules/mediasource/WebKitMediaSource.cpp: Removed.
  • Modules/mediasource/WebKitMediaSource.h: Removed.
  • Modules/mediasource/WebKitMediaSource.idl: Removed.
  • Modules/mediasource/WebKitSourceBuffer.cpp: Removed.
  • Modules/mediasource/WebKitSourceBuffer.h: Removed.
  • Modules/mediasource/WebKitSourceBuffer.idl: Removed.
  • Modules/mediasource/WebKitSourceBufferList.cpp: Removed.
  • Modules/mediasource/WebKitSourceBufferList.h: Removed.
  • Modules/mediasource/WebKitSourceBufferList.idl: Removed.
  • WebCore.xcodeproj/project.pbxproj:
  • dom/EventTargetFactory.in:

LayoutTests:

  • platform/mac/js/dom/global-constructors-attributes-expected.txt:
10:58 AM Changeset in webkit [158287] by Joseph Pecoraro
  • 2 edits in trunk/Source/WebInspectorUI

Web Inspector: Fix PrettyPrinting Tool Load from Saved URL

Reviewed by Timothy Hatcher.

  • Tools/PrettyPrinting/index.html:
10:58 AM Changeset in webkit [158286] by mhahnenberg@apple.com
  • 5 edits in trunk/Source/JavaScriptCore

JSExport doesn't support constructors
https://bugs.webkit.org/show_bug.cgi?id=123380

Reviewed by Geoffrey Garen.

Support for constructor-style callbacks for the Objective-C API to JSC is currently limited to
Objective-C blocks. Any clients who try to call the constructor of a JSExport-ed Objective-C class
are met with a type error stating that it cannot be called as a constructor.

It would be nice to expand JSExport's functionality to support this idiom. It is a natural
extension to JSExport and would increase the expressiveness and simplicity in both Objective-C and
JavaScript client code.

The way we'll do this is to expand the capabilities of ObjCCallbackFunction and associated classes.
Instead of constructing a normal C API object for the constructor, we'll instead allocate a full-blown
ObjCCallbackFunction object which can already properly handle being invoked as a constructor.

  • API/JSWrapperMap.mm:

(copyMethodsToObject):
(allocateConstructorForCustomClass):
(-[JSObjCClassInfo allocateConstructorAndPrototypeWithSuperClassInfo:]):
(tryUnwrapObjcObject):

  • API/ObjCCallbackFunction.h:

(JSC::ObjCCallbackFunction::impl):

  • API/ObjCCallbackFunction.mm:

(JSC::ObjCCallbackFunctionImpl::ObjCCallbackFunctionImpl):
(JSC::ObjCCallbackFunctionImpl::wrappedConstructor):
(JSC::ObjCCallbackFunctionImpl::isConstructible):
(JSC::ObjCCallbackFunction::getConstructData):
(JSC::ObjCCallbackFunctionImpl::name):
(JSC::ObjCCallbackFunctionImpl::call):
(objCCallbackFunctionForInvocation):
(objCCallbackFunctionForInit):
(tryUnwrapConstructor):

  • API/tests/testapi.mm:

(-[TextXYZ initWithString:]):
(-[ClassA initWithA:]):
(-[ClassB initWithA:b:]):
(-[ClassC initWithA:]):
(-[ClassC initWithA:b:]):

10:55 AM Changeset in webkit [158285] by Antti Koivisto
  • 2 edits in trunk/Source/WebCore

Unbreak the release build.

  • rendering/SimpleLineLayoutFunctions.cpp:
10:54 AM Changeset in webkit [158284] by Simon Fraser
  • 2 edits in trunk/LayoutTests

A WebGL test times out sometimes.

  • platform/mac/TestExpectations:
10:53 AM Changeset in webkit [158283] by aestes@apple.com
  • 3 edits in trunk/Tools

Teach the style checker how to handle Objective-C categories and NS_ENUM
https://bugs.webkit.org/show_bug.cgi?id=123482

Reviewed by Dan Bernstein.

  • Scripts/webkitpy/style/checkers/cpp.py:

(check_spacing_for_function_call): Allow a space before '(' in a line
starting with @interface or @implementation, since this is defining an
Objective-C category rather than a function.
(check_braces): The opening brace of an NS_ENUM should not be on its
own line.

  • Scripts/webkitpy/style/checkers/cpp_unittest.py: Added unit tests.
10:49 AM Changeset in webkit [158282] by commit-queue@webkit.org
  • 10 edits
    1 add in trunk/Source

[Win] Compile errors when enabling DFG JIT.
https://bugs.webkit.org/show_bug.cgi?id=120998

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-30
Reviewed by Brent Fulgham.

Source/JavaScriptCore:

  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Added files.
  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Ditto.
  • dfg/DFGAllocator.h: Removed scope.
  • dfg/DFGWorklist.cpp: Use new ThreadingOnce class instead of pthread_once.

(JSC::DFG::globalWorklist):

  • heap/DeferGC.h: Link fix, member needs to be public.
  • jit/JITOperationWrappers.h: Added required assembler macros.

Source/WTF:

  • wtf/CompilationThread.cpp: Use new ThreadingOnce class instead of pthread_once.

(WTF::initializeCompilationThreads):

  • wtf/ThreadingOnce.h: Added ThreadingOnce class encapsulating pthread_once functionality.

(WTF::ThreadingOnce::ThreadingOnce):
(WTF::ThreadingOnce::~ThreadingOnce):
(WTF::ThreadingOnce::callOnce):

  • wtf/text/CString.h: Export needed symbols.
10:47 AM Changeset in webkit [158281] by commit-queue@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

Add result caching for Math.cos
https://bugs.webkit.org/show_bug.cgi?id=123255

Patch by Iago Toral Quiroga <itoral@igalia.com> on 2013-10-30
Reviewed by Brent Fulgham.

  • runtime/MathObject.cpp:

(JSC::mathProtoFuncCos):

  • runtime/VM.h:
10:44 AM Changeset in webkit [158280] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Fix memory leaks in platform/image-encoders/JPEGImageEncoder.cpp
https://bugs.webkit.org/show_bug.cgi?id=118781

Patch by Liangjun Zeng <lizeng@blackberry.com> on 2013-10-30
Reviewed by Brent Fulgham.

We can find the function "jpeg_finish_compress" call the function "jpeg_abort" at the end.
And the comments of "jpeg_abort" is "Abort processing of a JPEG compression operation,
but don't destroy the object itself". (We can find these in the "jcapimin.c" of jpeg)
So the compression object destroy need be called.
No new tests because this doesn't change functionality.

  • platform/image-encoders/JPEGImageEncoder.cpp:

(WebCore::compressRGBABigEndianToJPEG):

10:40 AM Changeset in webkit [158279] by Antti Koivisto
  • 10 edits in trunk/Source

Add debug settings for simple line layout
https://bugs.webkit.org/show_bug.cgi?id=123514

Source/WebCore:

Reviewed by Andreas Kling.

  • WebCore.exp.in:
  • page/Settings.in:


Add simpleLineLayoutEnabled and simpleLineLayoutDebugBordersEnabled.

  • rendering/SimpleLineLayout.cpp:

(WebCore::SimpleLineLayout::canUseFor):

  • rendering/SimpleLineLayoutFunctions.cpp:

(WebCore::SimpleLineLayout::paintDebugBorders):
(WebCore::SimpleLineLayout::paintFlow):

Source/WebKit2:

Reviewed by Andreas Kling.

Expose debug settings.

  • Shared/WebPreferencesStore.h:
  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetSimpleLineLayoutEnabled):
(WKPreferencesGetSimpleLineLayoutEnabled):
(WKPreferencesSetSimpleLineLayoutDebugBordersEnabled):
(WKPreferencesGetSimpleLineLayoutDebugBordersEnabled):

  • UIProcess/API/C/WKPreferencesPrivate.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences):

10:33 AM Changeset in webkit [158278] by Patrick Gansterer
  • 2 edits in trunk/Source/WebKit/win

[WIN] Add missing USE(CFNETWORK) to WebError.h
https://bugs.webkit.org/show_bug.cgi?id=121834

Reviewed by Brent Fulgham.

WebError.cpp uses USE(CFNETWORK), so add it to the header too.

  • WebError.h:
10:31 AM Changeset in webkit [158277] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[Curl] Cookies are sometimes not set in download request.
https://bugs.webkit.org/show_bug.cgi?id=123445

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-30
Reviewed by Brent Fulgham.

Sometimes cookies are not set in the download request because the cookie file cannot be opened,
it's already been opened by the ResourceHandleManager for writing.
This can be fixed by getting the cookie list from the share handle in ResourceHandleManager instead.
This will also improve performance, as there is no need to read and parse the cookie file for each download.

  • platform/network/curl/CurlDownload.cpp:

(WebCore::CurlDownload::init): Use share handle to get cookie list.

10:29 AM Changeset in webkit [158276] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/win

[Curl][Win] Suggested filename of download is not url decoded.
https://bugs.webkit.org/show_bug.cgi?id=123511

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-30
Reviewed by Brent Fulgham.

  • WebDownloadCurl.cpp:

(WebDownload::didReceiveResponse): Url decode suggested filename.

10:21 AM Changeset in webkit [158275] by ChangSeok Oh
  • 3 edits in trunk/Source/WebCore

Unguard Element::childShouldCreateRenderer
https://bugs.webkit.org/show_bug.cgi?id=123496

Reviewed by Andreas Kling.

Make Element::childShouldCreateRenderer normally accessible. Guarding it with flags
just leaves potential build issues.

No new tests since no functionality changed.

  • dom/Element.cpp:

(WebCore::Element::childShouldCreateRenderer):

  • dom/Element.h:
9:44 AM Changeset in webkit [158274] by andersca@apple.com
  • 2 edits
    4 adds in trunk/Source/WebKit2

Add stubbed out WKRemoteObjectRegistry class
https://bugs.webkit.org/show_bug.cgi?id=123512

Reviewed by Andreas Kling.

Also add a WKRemoteObjectInterface class that represents a remote object interface.

  • Shared/API/Cocoa/WKRemoteObjectInterface.h: Added.
  • Shared/API/Cocoa/WKRemoteObjectInterface.mm: Added.

(-[WKRemoteObjectInterface initWithProtocol:identifier:]):
(+[WKRemoteObjectInterface remoteObjectInterfaceWithProtocol:]):

  • Shared/API/Cocoa/WKRemoteObjectRegistry.h: Added.
  • Shared/API/Cocoa/WKRemoteObjectRegistry.mm: Added.

(-[WKRemoteObjectRegistry registerExportedObject:interface:]):
(-[WKRemoteObjectRegistry unregisterExportedObject:interface:]):
(-[WKRemoteObjectRegistry remoteObjectProxyWithInterface:]):

  • WebKit2.xcodeproj/project.pbxproj:
9:06 AM Changeset in webkit [158273] by commit-queue@webkit.org
  • 6 edits in trunk

[EFL] accessibility/textarea-selected-text-range.html is failing
https://bugs.webkit.org/show_bug.cgi?id=112016

Patch by Robert Plociennik <r.plociennik@samsung.com> on 2013-10-30
Reviewed by Mario Sanchez Prada.

Tools:

Provided implementation for AccessibilityUIElement::selectedTextRange() and
AccessibilityUIElement::setSelectedTextRange().

  • DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:

(AccessibilityUIElement::selectedTextRange): Implemented.
(AccessibilityUIElement::setSelectedTextRange): Implemented

  • WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:

(WTR::AccessibilityUIElement::selectedTextRange): Implemented.
(WTR::AccessibilityUIElement::setSelectedTextRange): Implemented.

LayoutTests:

Removed failure expectations.

  • platform/efl-wk1/TestExpectations: The test is no longer failing.
  • platform/efl-wk2/TestExpectations: The test is no longer failing.
9:05 AM Changeset in webkit [158272] by alex.christensen@flexsim.com
  • 6 edits in trunk/Source

Disabled JIT on Win64.
https://bugs.webkit.org/show_bug.cgi?id=122472

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Disabled building JITStubsMSVC64.

Source/WebKit:

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Added missing 64-bit linker symbol.

Source/WTF:

  • wtf/Platform.h:

Disabled JIT on Win64.

9:01 AM Changeset in webkit [158271] by commit-queue@webkit.org
  • 3 edits
    1 add in trunk/LayoutTests

[EFL] accessibility/svg-remote-element.html is failing
https://bugs.webkit.org/show_bug.cgi?id=112013

Unreviewed EFL gardening. Passes after r158267.

Patch by Robert Plociennik <r.plociennik@samsung.com> on 2013-10-30

  • platform/efl-wk1/TestExpectations: The test is no longer failing.
  • platform/efl-wk2/TestExpectations: The test is no longer failing.
  • platform/efl/accessibility/svg-remote-element-expected.txt: Added.
8:53 AM Changeset in webkit [158270] by jer.noble@apple.com
  • 12 edits in trunk/Source/WebCore

[MSE] Make MediaSourcePrivate, SourceBufferPrivate classes RefCounted.
https://bugs.webkit.org/show_bug.cgi?id=123350

Reviewed by Darin Adler.

Make the MediaSourcePrivate and SourceBufferPrivate classes RefCounted so that
they can be referenced both by MediaSource/SourceBuffer, and by the MediaPlayerPrivate
which creates them.

Change OwnPtr -> RefPtr everywhere:

  • Modules/mediasource/MediaSource.cpp:

(WebCore::MediaSource::addSourceBuffer):

  • Modules/mediasource/MediaSourceBase.cpp:

(WebCore::MediaSourceBase::setPrivateAndOpen):
(WebCore::MediaSourceBase::createSourceBufferPrivate):

  • Modules/mediasource/MediaSourceBase.h:
  • Modules/mediasource/SourceBuffer.cpp:

(WebCore::SourceBuffer::create):
(WebCore::SourceBuffer::SourceBuffer):

  • Modules/mediasource/SourceBuffer.h:
  • Modules/mediasource/WebKitMediaSource.cpp:

(WebCore::WebKitMediaSource::addSourceBuffer):

  • Modules/mediasource/WebKitSourceBuffer.cpp:

(WebCore::WebKitSourceBuffer::create):
(WebCore::WebKitSourceBuffer::WebKitSourceBuffer):

  • Modules/mediasource/WebKitSourceBuffer.h:
  • html/HTMLMediaSource.h:
  • platform/graphics/MediaSourcePrivate.h:
  • platform/graphics/SourceBufferPrivate.h:

(WebCore::SourceBufferPrivate::SourceBufferPrivate):

8:50 AM Changeset in webkit [158269] by allan.jensen@digia.com
  • 3 edits in trunk/Source/WebCore

Remove unused runtime enabled
https://bugs.webkit.org/show_bug.cgi?id=123509

Reviewed by Anders Carlsson.

Some of the runtime enabled features were only ever used by the V8 bindings
and can be removed as no WebKit code sets or reads them.

  • bindings/generic/RuntimeEnabledFeatures.cpp:

(WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):

  • bindings/generic/RuntimeEnabledFeatures.h:
7:12 AM Changeset in webkit [158268] by Antti Koivisto
  • 7 edits in trunk/Source/WebCore

Make SimpleLineLayout::Layout a class
https://bugs.webkit.org/show_bug.cgi?id=123508

Reviewed by Mario Sanchez Prada.

Improve encapsulation.

5:34 AM Changeset in webkit [158267] by commit-queue@webkit.org
  • 6 edits
    1 add in trunk

[GTK] accessibility/svg-remote-element.html is failing
https://bugs.webkit.org/show_bug.cgi?id=101185

Patch by Robert Plociennik <r.plociennik@samsung.com> on 2013-10-30
Reviewed by Chris Fleizach.

Tools:

Implemented missing methods by mimicing existing functionality in
AccessibilityObject::clickPoint() using available ATK API.

  • DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:

(AccessibilityUIElement::clickPointX): Implemented.
(AccessibilityUIElement::clickPointY): Implemented.

  • WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:

(WTR::AccessibilityUIElement::clickPointX): Implemented.
(WTR::AccessibilityUIElement::clickPointY): Implemented.

LayoutTests:

Provided new test expectations since resulting discrepancies are believed to be
platform related.

  • platform/gtk-wk2/TestExpectations: The test is no longer failing.
  • platform/gtk/accessibility/svg-remote-element-expected.txt: Added.
  • platform/gtk/TestExpectations: The test is no longer failing.
4:31 AM Changeset in webkit [158266] by commit-queue@webkit.org
  • 11 edits
    8 deletes in trunk/Tools

Removed Windows platform configurations from WebKitTestRunner.
https://bugs.webkit.org/show_bug.cgi?id=123152

Patch by Tamas Gergely <gertom@inf.u-szeged.hu> on 2013-10-30
Reviewed by Csaba Osztrogonác.

Removed Windows specific parts from the source files, Windows specific
subdirectory (win) and Visual Studio property files from the WebKitTestRunner,
as the platform is no longer supported by this tool.

  • WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops: Removed.
  • WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops: Removed.
  • WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops: Removed.
  • WebKitTestRunner/Configurations/WebKitTestRunnerCFLite.vsprops: Removed.
  • WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops: Removed.
  • WebKitTestRunner/Configurations/WebKitTestRunnerCoreFoundation.vsprops: Removed.
  • WebKitTestRunner/Configurations/WebKitTestRunnerCoreGraphics.vsprops: Removed.
  • WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:

(WTR::AccessibilityController::rootElement):
(WTR::AccessibilityController::focusedElement):

  • WebKitTestRunner/InjectedBundle/AccessibilityController.h:
  • WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
  • WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
  • WebKitTestRunner/InjectedBundle/TestRunner.h:
  • WebKitTestRunner/PlatformWebView.h:
  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::initialize):

  • WebKitTestRunner/TestInvocation.cpp:

(WTR::createWKURL):

  • WebKitTestRunner/cg/TestInvocationCG.cpp:
  • WebKitTestRunner/config.h:
  • WebKitTestRunner/win/InjectedBundle.vcproj: Removed.
  • WebKitTestRunner/win/InjectedBundleDebug.vsprops: Removed.
  • WebKitTestRunner/win/InjectedBundleDebugAll.vsprops: Removed.
  • WebKitTestRunner/win/InjectedBundleDebugCairoCFLite.vsprops: Removed.
  • WebKitTestRunner/win/InjectedBundleGenerated.vcproj: Removed.
  • WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops: Removed.
  • WebKitTestRunner/win/InjectedBundlePostBuild.cmd: Removed.
  • WebKitTestRunner/win/InjectedBundlePreBuild.cmd: Removed.
  • WebKitTestRunner/win/InjectedBundleProduction.vsprops: Removed.
  • WebKitTestRunner/win/InjectedBundleRelease.vsprops: Removed.
  • WebKitTestRunner/win/InjectedBundleReleaseCairoCFLite.vsprops: Removed.
  • WebKitTestRunner/win/PlatformWebViewWin.cpp: Removed.
  • WebKitTestRunner/win/TestControllerWin.cpp: Removed.
  • WebKitTestRunner/win/TestInvocationWin.cpp: Removed.
  • WebKitTestRunner/win/WebKitTestRunner.vcproj: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerDebug.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerDebugAll.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerDebugCairoCFLite.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncher.vcproj: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncherCommon.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncherDebug.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncherDebugAll.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncherDebugCairoCFLite.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncherProduction.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncherRelease.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerLauncherReleaseCairoCFLite.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerRelease.vsprops: Removed.
  • WebKitTestRunner/win/WebKitTestRunnerReleaseCairoCFLite.vsprops: Removed.
  • WebKitTestRunner/win/build-generated-files.sh: Removed.
  • WebKitTestRunner/win/main.cpp: Removed.
4:16 AM Changeset in webkit [158265] by Antti Koivisto
  • 2 edits in trunk/Source/WebCore

REGRESSION(r158214): It made zillion tests crash on GTK and EFL
https://bugs.webkit.org/show_bug.cgi?id=123505

  • rendering/SimpleLineLayout.h: Add WTF_MAKE_FAST_ALLOCATED
3:39 AM Changeset in webkit [158264] by commit-queue@webkit.org
  • 1 edit
    1 delete in trunk/LayoutTests

[EFL] Remove efl/accessibility/image-map1-expected.txt after r158104
https://bugs.webkit.org/show_bug.cgi?id=123504

Unreviewed EFL gardening.

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-10-30

  • platform/efl/accessibility/image-map1-expected.txt: Removed.
1:50 AM Changeset in webkit [158263] by rniwa@webkit.org
  • 3 edits in trunk/LayoutTests

Revert r158259 for EFL and GTK+. They're still failing everywhere according to the flakiness dashboard.

  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
1:45 AM Changeset in webkit [158262] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

Revert r158259 for Mac. They're definitely failing on Mac.

  • platform/mac/TestExpectations:
1:40 AM Changeset in webkit [158261] by rniwa@webkit.org
  • 3 edits in trunk/LayoutTests

Add more test expectations for the bug 121452.

fast/frames/lots-of-objects.html is failing on Mavericks WebKit2 builders in addition to Debug builders.

fast/frames/lots-of-iframes.html is also failing on the exactly same set of builders.

  • platform/mac-wk2/TestExpectations:
  • platform/mac/TestExpectations:
1:31 AM Changeset in webkit [158260] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebKit2

[GTK] webkit_web_context_allow_tls_certificate_for_host doc is missing Since tag
https://bugs.webkit.org/show_bug.cgi?id=123499

Reviewed by Philippe Normand.

  • UIProcess/API/gtk/WebKitWebContext.cpp: Add Since: 2.4.
1:17 AM Changeset in webkit [158259] by svillar@igalia.com
  • 4 edits in trunk/LayoutTests

Unreviewed. Removed some grid layout tests that are passing now.

  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
1:04 AM Changeset in webkit [158258] by Philippe Normand
  • 4 edits in trunk/Source/WebCore

[GStreamer] Store video-sink in a bin
https://bugs.webkit.org/show_bug.cgi?id=122831

Reviewed by Gustavo Noronha Silva.

For the upcoming mediastream playback support the player will
handle a non-playbin-based pipeline that will require a slightly
different video rendering chain. This patch generalizes the
encapsulation of the video sink in a bin, just like the audio sink
case.

No new tests, no change in functionality.

Note: See TracTimeline for information about the timeline view.