zandobersek@gmail.com [Mon, 4 Nov 2013 07:10:05 +0000 (07:10 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158558
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Mon, 4 Nov 2013 06:54:12 +0000 (06:54 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158557
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Mon, 4 Nov 2013 04:24:25 +0000 (04:24 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158556
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Mon, 4 Nov 2013 04:12:25 +0000 (04:12 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158555
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Mon, 4 Nov 2013 03:21:41 +0000 (03:21 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158554
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Mon, 4 Nov 2013 03:01:01 +0000 (03:01 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158553
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Mon, 4 Nov 2013 02:57:56 +0000 (02:57 +0000)]
Reverted r158538.
* Shared/Cocoa/WKNSArray.mm:
(-[WKNSArray copyWithZone:]):
* Shared/Cocoa/WKNSDictionary.mm:
(-[WKNSDictionary copyWithZone:]):
* Shared/ImmutableArray.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158552
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Mon, 4 Nov 2013 00:39:21 +0000 (00:39 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158551
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Mon, 4 Nov 2013 00:35:27 +0000 (00:35 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158550
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Mon, 4 Nov 2013 00:15:03 +0000 (00:15 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158549
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Mon, 4 Nov 2013 00:13:21 +0000 (00:13 +0000)]
Use RenderChildIterator in two more loops.
<https://webkit.org/b/123713>
Switch two more renderer child traversal loops to childrenOfType.
Reviewed by Antti Koivisto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158548
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 23:43:05 +0000 (23:43 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158547
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 23:32:48 +0000 (23:32 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158546
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sun, 3 Nov 2013 22:26:47 +0000 (22:26 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158545
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 22:18:58 +0000 (22:18 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158544
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 22:17:28 +0000 (22:17 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158543
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 22:17:25 +0000 (22:17 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158542
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mark.lam@apple.com [Sun, 3 Nov 2013 21:52:56 +0000 (21:52 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158541
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Sun, 3 Nov 2013 21:32:00 +0000 (21:32 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158540
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 21:08:33 +0000 (21:08 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158539
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sun, 3 Nov 2013 20:41:01 +0000 (20:41 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158538
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Sun, 3 Nov 2013 20:19:52 +0000 (20:19 +0000)]
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>.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158537
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Sun, 3 Nov 2013 19:52:40 +0000 (19:52 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158536
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Sun, 3 Nov 2013 18:24:20 +0000 (18:24 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158535
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sun, 3 Nov 2013 17:51:21 +0000 (17:51 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158534
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sun, 3 Nov 2013 17:48:56 +0000 (17:48 +0000)]
[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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158533
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sun, 3 Nov 2013 14:55:47 +0000 (14:55 +0000)]
[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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158532
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 11:19:29 +0000 (11:19 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158531
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
antti@apple.com [Sun, 3 Nov 2013 11:13:53 +0000 (11:13 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158530
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 09:54:10 +0000 (09:54 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158529
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 09:41:04 +0000 (09:41 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158528
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
calvaris@igalia.com [Sun, 3 Nov 2013 09:30:40 +0000 (09:30 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158527
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Sun, 3 Nov 2013 06:58:53 +0000 (06:58 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158526
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 06:50:39 +0000 (06:50 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158525
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 06:25:27 +0000 (06:25 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158524
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 06:04:36 +0000 (06:04 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158523
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
gyuyoung.kim@samsung.com [Sun, 3 Nov 2013 05:35:40 +0000 (05:35 +0000)]
Unreviewed, EFL gardening. Add missing baselines to EFL wk1 TestExpectation.
* platform/efl-wk1/TestExpectations: Need to add new baseline since upgrading base OS.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158522
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ch.dumez@samsung.com [Sun, 3 Nov 2013 04:13:43 +0000 (04:13 +0000)]
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:
- http://www.w3.org/TR/WebIDL/#es-short
- http://www.w3.org/TR/WebIDL/#es-unsigned-short
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158521
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sun, 3 Nov 2013 03:25:06 +0000 (03:25 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158520
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sun, 3 Nov 2013 03:24:47 +0000 (03:24 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158519
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sun, 3 Nov 2013 03:19:32 +0000 (03:19 +0000)]
Add missing getHostCallReturnValue() for MSVC ARM
https://bugs.webkit.org/show_bug.cgi?id=123685
Reviewed by Darin Adler.
* jit/JITStubsARM.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158518
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 03:18:08 +0000 (03:18 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158517
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sun, 3 Nov 2013 03:16:59 +0000 (03:16 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158516
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 02:36:07 +0000 (02:36 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158515
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 02:33:19 +0000 (02:33 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158514
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 02:14:53 +0000 (02:14 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158513
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 02:12:40 +0000 (02:12 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158512
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sun, 3 Nov 2013 02:04:21 +0000 (02:04 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158511
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Sun, 3 Nov 2013 01:47:58 +0000 (01:47 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158510
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Sun, 3 Nov 2013 01:33:13 +0000 (01:33 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158509
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Sun, 3 Nov 2013 01:30:46 +0000 (01:30 +0000)]
Unreviewed, update binary drops.
These include my LLVMDisablePrettyStackTrace() fix and are built with --enable-crash-overrides=no
* LLVMIncludesMountainLion.tar.bz2:
* LLVMLibrariesMountainLion.tar.bz2:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158508
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Sun, 3 Nov 2013 00:32:23 +0000 (00:32 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158507
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Sun, 3 Nov 2013 00:29:14 +0000 (00:29 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158506
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 23:56:30 +0000 (23:56 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158505
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sat, 2 Nov 2013 22:17:03 +0000 (22:17 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158504
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sat, 2 Nov 2013 21:59:57 +0000 (21:59 +0000)]
[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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158503
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sat, 2 Nov 2013 21:58:59 +0000 (21:58 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158502
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sat, 2 Nov 2013 21:56:20 +0000 (21:56 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158501
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sat, 2 Nov 2013 21:56:07 +0000 (21:56 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158500
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sat, 2 Nov 2013 21:47:46 +0000 (21:47 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158499
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 21:18:59 +0000 (21:18 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158498
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 21:18:19 +0000 (21:18 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158497
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zandobersek@gmail.com [Sat, 2 Nov 2013 21:03:05 +0000 (21:03 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158496
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 19:51:51 +0000 (19:51 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158495
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Sat, 2 Nov 2013 18:19:35 +0000 (18:19 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158494
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sat, 2 Nov 2013 17:54:17 +0000 (17:54 +0000)]
Fixed release builds.
* Shared/Cocoa/WKNSDictionary.mm:
(-[WKNSDictionary initWithObjects:forKeys:count:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158493
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sat, 2 Nov 2013 17:33:15 +0000 (17:33 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158492
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Sat, 2 Nov 2013 17:26:24 +0000 (17:26 +0000)]
Fix MSVC ARM build after r157581.
* jit/JITStubsARM.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158491
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 16:59:53 +0000 (16:59 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158490
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sat, 2 Nov 2013 16:42:47 +0000 (16:42 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158489
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
timothy_horton@apple.com [Sat, 2 Nov 2013 16:04:45 +0000 (16:04 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158488
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zandobersek@gmail.com [Sat, 2 Nov 2013 14:34:36 +0000 (14:34 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158487
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 2 Nov 2013 10:10:36 +0000 (10:10 +0000)]
[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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158486
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Sat, 2 Nov 2013 06:59:40 +0000 (06:59 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158485
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 05:01:08 +0000 (05:01 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158484
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ljaehun.lim@samsung.com [Sat, 2 Nov 2013 02:28:41 +0000 (02:28 +0000)]
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
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158483
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Sat, 2 Nov 2013 02:24:51 +0000 (02:24 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158482
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
timothy_horton@apple.com [Sat, 2 Nov 2013 02:23:00 +0000 (02:23 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158481
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 2 Nov 2013 02:13:19 +0000 (02:13 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158480
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
joepeck@webkit.org [Sat, 2 Nov 2013 02:09:04 +0000 (02:09 +0000)]
Unreviewed extended attempt at Windows build fix after r158471.
* wtf/text/cf/AtomicStringCF.cpp:
* wtf/text/cf/StringCF.cpp:
* wtf/text/cf/StringImplCF.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158479
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 01:53:22 +0000 (01:53 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158478
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 2 Nov 2013 01:51:00 +0000 (01:51 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158477
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 01:50:17 +0000 (01:50 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158476
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
joepeck@webkit.org [Sat, 2 Nov 2013 01:49:26 +0000 (01:49 +0000)]
Unreviewed attempt at Windows build fix after r158471.
* wtf/text/cf/AtomicStringCF.cpp:
* wtf/text/cf/StringCF.cpp:
* wtf/text/cf/StringImplCF.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158475
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 01:45:10 +0000 (01:45 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158474
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 01:38:01 +0000 (01:38 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158473
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 01:23:53 +0000 (01:23 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158472
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 2 Nov 2013 01:22:42 +0000 (01:22 +0000)]
Move CF/Mac WTF String implementations down into WTF
https://bugs.webkit.org/show_bug.cgi?id=123635
Patch by Joseph Pecoraro <pecoraro@apple.com> 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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158471
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 2 Nov 2013 01:20:50 +0000 (01:20 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158470
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Sat, 2 Nov 2013 01:03:21 +0000 (01:03 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158469
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Fri, 1 Nov 2013 23:46:54 +0000 (23:46 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158467
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hmuller@adobe.com [Fri, 1 Nov 2013 23:38:54 +0000 (23:38 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158466
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Fri, 1 Nov 2013 23:34:47 +0000 (23:34 +0000)]
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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158465
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
timothy_horton@apple.com [Fri, 1 Nov 2013 23:24:49 +0000 (23:24 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158463
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
akling@apple.com [Fri, 1 Nov 2013 22:22:28 +0000 (22:22 +0000)]
Kill RenderArena.
<https://webkit.org/b/123634>
There are no remaining users of the RenderArena allocator.
Reviewed by Geoffrey Garen.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158461
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Fri, 1 Nov 2013 22:14:38 +0000 (22:14 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158460
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fpizlo@apple.com [Fri, 1 Nov 2013 22:10:52 +0000 (22:10 +0000)]
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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158459
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aestes@apple.com [Fri, 1 Nov 2013 21:29:45 +0000 (21:29 +0000)]
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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158458
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
benjamin@webkit.org [Fri, 1 Nov 2013 21:28:38 +0000 (21:28 +0000)]
[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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158457
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Fri, 1 Nov 2013 21:26:50 +0000 (21:26 +0000)]
[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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158456
268f45cc-cd09-0410-ab3c-
d52691b4dbfc