WebKit-https.git
6 years agoAdd PassRef and createRefCounted so we can improve creation of RefCounted objects
darin@apple.com [Wed, 16 Oct 2013 17:18:05 +0000 (17:18 +0000)]
Add PassRef and createRefCounted so we can improve creation of RefCounted objects
https://bugs.webkit.org/show_bug.cgi?id=122904

Reviewed by Anders Carlsson.

Source/WTF:

* GNUmakefile.list.am: Added PassRef.h.
* WTF.vcxproj/WTF.vcxproj: Ditto.
* WTF.vcxproj/WTF.vcxproj.filters: Ditto.
* WTF.xcodeproj/project.pbxproj: Ditto.
* wtf/CMakeLists.txt: Ditto.

* wtf/Forward.h: Added PassRef. Also re-sorted and un-indented to match what
the style-checking script expects.

* wtf/PassRef.h: Added. Includes the createRefCounted function template, which
is analogous to make_unique, but is for reference counted objects, and also
assumes that new will never return null. Also includes an overload of adoptRef
that takes a reference rather than a pointer.

* wtf/PassRefPtr.h: Include "PassRef.h" so we can share the adopted function.
Got rid of declarations that duplicate ones in there.
(WTF::refIfNotNull): Use nullptr.
(WTF::derefIfNotNull): Use nullptr.
(WTF::PassRefPtr::PassRefPtr): Use nullptr. Added an overload that takes a PassRef.
(WTF::PassRefPtr::operator UnspecifiedBoolType): Use nullptr.
(WTF::PassRefPtr::operator=): Made this deleted instead of compile time assertion.
(WTF::PassRefPtr::PassRefPtr): Made adopting constructor use an adopt tag instead
of an unused boolean.
(WTF::PassRefPtr::leakRef): Use nullptr.
(WTF::adoptRef): Use the adopt tag.

* wtf/Ref.h: Use Noncopyable instead of rolling our own.
(WTF::Ref::Ref): Add an overload that takes a PassRef.
(WTF::Ref::operator=): Ditto.

* wtf/RefPtr.h: Removed unneeded forward declaration of PassRefPtr.
(WTF::RefPtr::RefPtr): Use nullptr. Added overload that takes a PassRef.
(WTF::RefPtr::release): Use nullptr.
(WTF::RefPtr::operator UnspecifiedBoolType): Use nullptr.
(WTF::RefPtr::operator=): Added overload that takes a PassRef.
(WTF::RefPtr::clear): Use nullptr.

* wtf/StdLibExtras.h: Added inline keyword to isPointerTypeAlignmentOkay,
reinterpret_cast_ptr, and make_unique. Seems like a simple oversight that these
were missing before.

Tools:

* TestWebKitAPI/Tests/WTF/Ref.cpp: Added some basic tests for adoptRef and PassRef.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoNeed tests for RefPtr self-assignment and self-move-assignment.
darin@apple.com [Wed, 16 Oct 2013 17:11:09 +0000 (17:11 +0000)]
Need tests for RefPtr self-assignment and self-move-assignment.

* TestWebKitAPI/Tests/WTF/RefPtr.cpp: Added tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoEmphasis marks has wrong color.
commit-queue@webkit.org [Wed, 16 Oct 2013 16:57:44 +0000 (16:57 +0000)]
Emphasis marks has wrong color.
https://bugs.webkit.org/show_bug.cgi?id=122829

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-16
Reviewed by Antti Koivisto.

Source/WebCore:

Tests: fast/text/text-emphasis.html.
       fast/text/text-emphasis-expected.html.

Emphasis color should be set as fill color, not stroke color.

* rendering/TextPaintStyle.cpp:
(WebCore::updateGraphicsContext):
* rendering/TextPaintStyle.h:

LayoutTests:

* fast/text/text-emphasis-expected.html: Added.
* fast/text/text-emphasis.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMove code for finding rendered character offset to RenderTextLineBoxes
antti@apple.com [Wed, 16 Oct 2013 14:33:31 +0000 (14:33 +0000)]
Move code for finding rendered character offset to RenderTextLineBoxes
https://bugs.webkit.org/show_bug.cgi?id=122892

Reviewed by Andreas Kling.

* rendering/RenderText.cpp:
(WebCore::RenderText::countRenderedCharacterOffsets):
(WebCore::RenderText::containsRenderedCharacterOffset):

    Renamed for consistency.

* rendering/RenderTextLineBoxes.cpp:
(WebCore::RenderTextLineBoxes::countCharacterOffsets):

    This used to be Position::renderedPosition.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRenderElement::removeChild() should take child as a reference.
akling@apple.com [Wed, 16 Oct 2013 12:40:09 +0000 (12:40 +0000)]
RenderElement::removeChild() should take child as a reference.
<https://webkit.org/b/122888>

We can't remove a child without a child to remove.

Reviewed by Antti Koivisto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMove test for contained caret offset to RenderTextLineBoxes
antti@apple.com [Wed, 16 Oct 2013 12:24:57 +0000 (12:24 +0000)]
Move test for contained caret offset to RenderTextLineBoxes
https://bugs.webkit.org/show_bug.cgi?id=122887

Reviewed by Andreas Kling.

* dom/Position.cpp:
(WebCore::Position::renderedOffset):
(WebCore::Position::isCandidate):

    Remove isRenderedText, call RenderText::containsCaretOffset instead.

(WebCore::Position::isRenderedCharacter):
(WebCore::Position::rendersInDifferentPosition):
* dom/Position.h:
* dom/PositionIterator.cpp:
(WebCore::PositionIterator::isCandidate):
* rendering/InlineTextBox.cpp:
* rendering/InlineTextBox.h:
* rendering/RenderText.cpp:
(WebCore::RenderText::containsCharacterOffset):
(WebCore::RenderText::containsCaretOffset):
* rendering/RenderText.h:
* rendering/RenderTextLineBoxes.cpp:
(WebCore::RenderTextLineBoxes::containsOffset):

    Combined implementations of Position::isRenderedCharacter and Position::isRenderedText.

* rendering/RenderTextLineBoxes.h:

    Remove containsCaretOffset(), functionality is now in RenderTextLineBoxes::containsOffset.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157514 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed EFL gardening. Rebaselining after r155998.
jinwoo7.song@samsung.com [Wed, 16 Oct 2013 11:07:48 +0000 (11:07 +0000)]
Unreviewed EFL gardening. Rebaselining after r155998.

* platform/efl-wk2/compositing/contents-scale/animating-expected.txt: Added.
* platform/efl-wk2/compositing/contents-scale/scaled-ancestor-expected.txt: Added.
* platform/efl-wk2/compositing/contents-scale/simple-scale-expected.txt: Added.
* platform/efl-wk2/compositing/contents-scale/z-translate-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed EFL gardening.
ryuan.choi@samsung.com [Wed, 16 Oct 2013 10:34:34 +0000 (10:34 +0000)]
Unreviewed EFL gardening.

Skip the IndexedDB tests for now as the feature is going through substantial
changes that don't ensure constant proper functionality.

* platform/efl-wk1/TestExpectations:
* platform/efl-wk2/TestExpectations:
* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157512 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRevert Windows-specific expectations shuffling from r157497.
akling@apple.com [Wed, 16 Oct 2013 10:29:34 +0000 (10:29 +0000)]
Revert Windows-specific expectations shuffling from r157497.
This wasn't wrong either. Shame on me. :|

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed EFL gardening. Rebaselining after r155957.
jinwoo7.song@samsung.com [Wed, 16 Oct 2013 09:52:35 +0000 (09:52 +0000)]
Unreviewed EFL gardening. Rebaselining after r155957.

* platform/efl/css3/selectors3/html/css3-modsel-179a-expected.txt:
* platform/efl/css3/selectors3/xhtml/css3-modsel-179a-expected.txt:
* platform/efl/css3/selectors3/xml/css3-modsel-179a-expected.txt:
* platform/efl/fast/css/pseudo-first-line-border-width-expected.txt:
* platform/efl/fast/css/word-space-extra-expected.txt:
* platform/efl/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRenderElement::isChildAllowed() should take const references.
akling@apple.com [Wed, 16 Oct 2013 09:34:35 +0000 (09:34 +0000)]
RenderElement::isChildAllowed() should take const references.
<https://webkit.org/b/122870>

Reviewed by Anders Carlsson.

The isChildAllowed() functions expect non-null values to be passed,
so enforce this at compile-time.

Reordered some checks to do bit tests before virtual calls.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157509 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRevert Mac-specific expecations shuffling from r157498.
akling@apple.com [Wed, 16 Oct 2013 09:24:28 +0000 (09:24 +0000)]
Revert Mac-specific expecations shuffling from r157498.
Everything was already in order.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GStreamer] video info unset if upstream doesn't query allocation
philn@webkit.org [Wed, 16 Oct 2013 09:18:42 +0000 (09:18 +0000)]
[GStreamer] video info unset if upstream doesn't query allocation
https://bugs.webkit.org/show_bug.cgi?id=122834

Reviewed by Gustavo Noronha Silva.

* platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
(webkitVideoSinkRender): If the sink didn't process any allocation
query then use the configured source pad caps and don't rely on
invalid video info.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157506 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GStreamer] move Logging.h include to GStreamerUtilities.h
philn@webkit.org [Wed, 16 Oct 2013 09:15:43 +0000 (09:15 +0000)]
[GStreamer] move Logging.h include to GStreamerUtilities.h
https://bugs.webkit.org/show_bug.cgi?id=122886

Reviewed by Gustavo Noronha Silva.

Include Logging.h from GStreamerUtilities.h so the modules using
the LOG_MEDIA macros don't need to bother, especially for Debug builds.

* platform/graphics/gstreamer/GStreamerUtilities.h:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157505 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[WK2][Efl][CMake] Add support for ENABLE_NETWORK_PROCESS to the build system
ossy@webkit.org [Wed, 16 Oct 2013 09:07:12 +0000 (09:07 +0000)]
[WK2][Efl][CMake] Add support for ENABLE_NETWORK_PROCESS to the build system
https://bugs.webkit.org/show_bug.cgi?id=110139

Reviewed by Laszlo Gombos.

Original patch by Balazs Kelemen <kbalazs@webkit.org>

.:

* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/WebKit2:

* CMakeLists.txt:
* PlatformEfl.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157504 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove EFL-specific test expectations that were identical to generic expectations.
akling@apple.com [Wed, 16 Oct 2013 08:51:13 +0000 (08:51 +0000)]
Remove EFL-specific test expectations that were identical to generic expectations.
<https://webkit.org/b/121551>

Reviewed by Antti Koivisto.

* platform/efl-wk2/webaudio/javascriptaudionode-expected.txt: Removed.
* platform/efl/compositing/culling/filter-occlusion-blur-expected.txt: Removed.
* platform/efl/compositing/culling/filter-occlusion-blur-large-expected.txt: Removed.
* platform/efl/compositing/geometry/fixed-position-composited-page-scale-down-expected.txt: Removed.
* platform/efl/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.txt: Removed.
* platform/efl/compositing/iframes/composited-iframe-scroll-expected.txt: Removed.
* platform/efl/compositing/iframes/iframe-content-flipping-expected.txt: Removed.
* platform/efl/compositing/iframes/repaint-after-losing-scrollbars-expected.txt: Removed.
* platform/efl/compositing/images/content-image-change-expected.txt: Removed.
* platform/efl/css1/units/rounding-expected.txt: Removed.
* platform/efl/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Removed.
* platform/efl/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-circle-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-circle-filter-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-circle-overflow-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-circle-overflow-hidden-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-circle-relative-overflow-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-ellipse-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-polygon-evenodd-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-polygon-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-polygon-nonzero-expected.txt: Removed.
* platform/efl/css3/masking/clip-path-rectangle-expected.txt: Removed.
* platform/efl/editing/deleting/transpose-empty-expected.txt: Removed.
* platform/efl/editing/selection/collapse-selection-in-bidi-expected.txt: Removed.
* platform/efl/editing/selection/drag-start-event-client-x-y-expected.txt: Removed.
* platform/efl/fast/backgrounds/bgCompositeCopy-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize01-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize02-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize03-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize04-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize05-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize06-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize07-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize08-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize09-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize10-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize11-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize12-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize13-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/backgroundSize14-expected.txt: Removed.
* platform/efl/fast/backgrounds/size/contain-and-cover-zoomed-expected.txt: Removed.
* platform/efl/fast/block/basic/fieldset-stretch-to-legend-expected.txt: Removed.
* platform/efl/fast/block/basic/quirk-percent-height-grandchild-expected.txt: Removed.
* platform/efl/fast/block/float/008-expected.txt: Removed.
* platform/efl/fast/block/float/009-expected.txt: Removed.
* platform/efl/fast/block/float/019-expected.txt: Removed.
* platform/efl/fast/block/float/034-expected.txt: Removed.
* platform/efl/fast/block/float/035-expected.txt: Removed.
* platform/efl/fast/block/float/4145535Crash-expected.txt: Removed.
* platform/efl/fast/block/float/br-with-clear-2-expected.txt: Removed.
* platform/efl/fast/block/float/float-forced-below-other-floats-expected.txt: Removed.
* platform/efl/fast/block/float/float-not-removed-from-next-sibling-expected.txt: Removed.
* platform/efl/fast/block/float/float-not-removed-from-next-sibling2-expected.txt: Removed.
* platform/efl/fast/block/float/float-on-zero-height-line-expected.txt: Removed.
* platform/efl/fast/block/float/float-overhangs-root-expected.txt: Removed.
* platform/efl/fast/block/float/narrow-after-wide-expected.txt: Removed.
* platform/efl/fast/block/float/negative-margin-clear-expected.txt: Removed.
* platform/efl/fast/block/float/nested-clearance-expected.txt: Removed.
* platform/efl/fast/block/float/nowrap-clear-min-width-expected.txt: Removed.
* platform/efl/fast/block/float/overhanging-after-height-decrease-offsets-expected.txt: Removed.
* platform/efl/fast/block/float/relative-painted-twice-expected.txt: Removed.
* platform/efl/fast/block/positioning/003-expected.txt: Removed.
* platform/efl/fast/block/positioning/004-expected.txt: Removed.
* platform/efl/fast/block/positioning/005-expected.txt: Removed.
* platform/efl/fast/block/positioning/006-expected.txt: Removed.
* platform/efl/fast/block/positioning/007-expected.txt: Removed.
* platform/efl/fast/block/positioning/008-expected.txt: Removed.
* platform/efl/fast/block/positioning/009-expected.txt: Removed.
* platform/efl/fast/block/positioning/010-expected.txt: Removed.
* platform/efl/fast/block/positioning/011-expected.txt: Removed.
* platform/efl/fast/block/positioning/012-expected.txt: Removed.
* platform/efl/fast/block/positioning/013-expected.txt: Removed.
* platform/efl/fast/block/positioning/014-expected.txt: Removed.
* platform/efl/fast/block/positioning/015-expected.txt: Removed.
* platform/efl/fast/block/positioning/017-expected.txt: Removed.
* platform/efl/fast/block/positioning/018-expected.txt: Removed.
* platform/efl/fast/block/positioning/019-expected.txt: Removed.
* platform/efl/fast/block/positioning/020-expected.txt: Removed.
* platform/efl/fast/block/positioning/021-expected.txt: Removed.
* platform/efl/fast/block/positioning/022-expected.txt: Removed.
* platform/efl/fast/block/positioning/023-expected.txt: Removed.
* platform/efl/fast/block/positioning/024-expected.txt: Removed.
* platform/efl/fast/block/positioning/026-expected.txt: Removed.
* platform/efl/fast/block/positioning/027-expected.txt: Removed.
* platform/efl/fast/block/positioning/029-expected.txt: Removed.
* platform/efl/fast/block/positioning/030-expected.txt: Removed.
* platform/efl/fast/block/positioning/032-expected.txt: Removed.
* platform/efl/fast/block/positioning/033-expected.txt: Removed.
* platform/efl/fast/block/positioning/034-expected.txt: Removed.
* platform/efl/fast/block/positioning/035-expected.txt: Removed.
* platform/efl/fast/block/positioning/036-expected.txt: Removed.
* platform/efl/fast/block/positioning/037-expected.txt: Removed.
* platform/efl/fast/block/positioning/038-expected.txt: Removed.
* platform/efl/fast/block/positioning/039-expected.txt: Removed.
* platform/efl/fast/block/positioning/040-expected.txt: Removed.
* platform/efl/fast/block/positioning/041-expected.txt: Removed.
* platform/efl/fast/block/positioning/042-expected.txt: Removed.
* platform/efl/fast/block/positioning/043-expected.txt: Removed.
* platform/efl/fast/block/positioning/044-expected.txt: Removed.
* platform/efl/fast/block/positioning/045-expected.txt: Removed.
* platform/efl/fast/block/positioning/046-expected.txt: Removed.
* platform/efl/fast/block/positioning/048-expected.txt: Removed.
* platform/efl/fast/block/positioning/049-expected.txt: Removed.
* platform/efl/fast/block/positioning/050-expected.txt: Removed.
* platform/efl/fast/block/positioning/062-expected.txt: Removed.
* platform/efl/fast/block/positioning/complex-positioned-movement-expected.txt: Removed.
* platform/efl/fast/block/positioning/move-with-auto-width-expected.txt: Removed.
* platform/efl/fast/block/positioning/negative-rel-position-expected.txt: Removed.
* platform/efl/fast/block/positioning/relative-overconstrained-expected.txt: Removed.
* platform/efl/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Removed.
* platform/efl/fast/block/positioning/static-inline-position-dynamic-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-lr/003-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-lr/004-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-lr/005-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-lr/006-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-rl/003-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-rl/004-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-rl/005-expected.txt: Removed.
* platform/efl/fast/block/positioning/vertical-rl/006-expected.txt: Removed.
* platform/efl/fast/borders/fieldsetBorderRadius-expected.txt: Removed.
* platform/efl/fast/borders/outline-offset-min-assert-expected.txt: Removed.
* platform/efl/fast/borders/webkit-border-radius-expected.txt: Removed.
* platform/efl/fast/box-shadow/shadow-tiling-artifact-expected.txt: Removed.
* platform/efl/fast/box-shadow/single-pixel-shadow-expected.txt: Removed.
* platform/efl/fast/canvas/canvas-as-image-expected.txt: Removed.
* platform/efl/fast/canvas/canvas-bg-expected.txt: Removed.
* platform/efl/fast/canvas/canvas-render-layer-expected.txt: Removed.
* platform/efl/fast/css-generated-content/table-parts-before-and-after-expected.txt: Removed.
* platform/efl/fast/css/006-expected.txt: Removed.
* platform/efl/fast/css/absolute-child-with-percent-height-inside-relative-parent-expected.txt: Removed.
* platform/efl/fast/css/bogus-color-span-expected.txt: Removed.
* platform/efl/fast/css/bug4860-absolute-block-child-does-not-inherit-alignment-expected.txt: Removed.
* platform/efl/fast/css/content-dynamic-expected.txt: Removed.
* platform/efl/fast/css/contentDiv-expected.txt: Removed.
* platform/efl/fast/css/contentDivWithChildren-expected.txt: Removed.
* platform/efl/fast/css/contentImage-expected.txt: Removed.
* platform/efl/fast/css/empty-inline-003-quirksmode-expected.txt: Removed.
* platform/efl/fast/css/empty-inline-line-height-first-line-expected.txt: Removed.
* platform/efl/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt: Removed.
* platform/efl/fast/css/font-face-multiple-remote-sources-expected.txt: Removed.
* platform/efl/fast/css/font-face-remote-expected.txt: Removed.
* platform/efl/fast/css/getComputedStyle/getComputedStyle-margin-percentage-expected.txt: Removed.
* platform/efl/fast/css/last-child-style-sharing-expected.txt: Removed.
* platform/efl/fast/css/nested-rounded-corners-expected.txt: Removed.
* platform/efl/fast/css/outline-auto-empty-rects-expected.txt: Removed.
* platform/efl/fast/css/transition-color-unspecified-expected.txt: Removed.
* platform/efl/fast/dom/Element/getBoundingClientRect-expected.txt: Removed.
* platform/efl/fast/dom/HTMLStyleElement/insert-parser-generated-expected.txt: Removed.
* platform/efl/fast/dom/Range/getBoundingClientRect-expected.txt: Removed.
* platform/efl/fast/dom/Window/window-properties-performance-expected.txt: Removed.
* platform/efl/fast/dom/attr_dead_doc-expected.txt: Removed.
* platform/efl/fast/dom/css-cached-import-rule-expected.txt: Removed.
* platform/efl/fast/dom/css-insert-import-rule-expected.txt: Removed.
* platform/efl/fast/dom/delete-contents-expected.txt: Removed.
* platform/efl/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Removed.
* platform/efl/fast/dom/shadow/shadow-contents-event-expected.txt: Removed.
* platform/efl/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
* platform/efl/fast/dynamic/001-expected.txt: Removed.
* platform/efl/fast/dynamic/005-expected.txt: Removed.
* platform/efl/fast/dynamic/anonymous-block-layer-lost-expected.txt: Removed.
* platform/efl/fast/dynamic/float-no-longer-overhanging-expected.txt: Removed.
* platform/efl/fast/dynamic/float-withdrawal-2-expected.txt: Removed.
* platform/efl/fast/dynamic/floating-to-positioned-2-expected.txt: Removed.
* platform/efl/fast/dynamic/floating-to-positioned-expected.txt: Removed.
* platform/efl/fast/dynamic/insertAdjacentElement-expected.txt: Removed.
* platform/efl/fast/dynamic/staticY-expected.txt: Removed.
* platform/efl/fast/dynamic/subtree-parent-static-y-expected.txt: Removed.
* platform/efl/fast/events/document-elementFromPoint-expected.txt: Removed.
* platform/efl/fast/events/overflow-viewport-renderer-deleted-expected.txt: Removed.
* platform/efl/fast/flexbox/flex-hang-expected.txt: Removed.
* platform/efl/fast/flexbox/overhanging-floats-removed-expected.txt: Removed.
* platform/efl/fast/forms/002-expected.txt: Removed.
* platform/efl/fast/forms/005-expected.txt: Removed.
* platform/efl/fast/forms/color/input-color-onchange-event-expected.txt: Removed.
* platform/efl/fast/forms/input-placeholder-paint-order-expected.txt: Removed.
* platform/efl/fast/forms/textarea/textarea-placeholder-paint-order-expected.txt: Removed.
* platform/efl/fast/frames/002-expected.txt: Removed.
* platform/efl/fast/frames/calculate-fixed-expected.txt: Removed.
* platform/efl/fast/frames/calculate-order-expected.txt: Removed.
* platform/efl/fast/frames/calculate-percentage-expected.txt: Removed.
* platform/efl/fast/frames/calculate-relative-expected.txt: Removed.
* platform/efl/fast/frames/calculate-round-expected.txt: Removed.
* platform/efl/fast/frames/content-opacity-1-expected.txt: Removed.
* platform/efl/fast/frames/content-opacity-2-expected.txt: Removed.
* platform/efl/fast/frames/empty-cols-attribute-expected.txt: Removed.
* platform/efl/fast/frames/empty-frame-src-expected.txt: Removed.
* platform/efl/fast/frames/frame-set-whitespace-attributes-expected.txt: Removed.
* platform/efl/fast/frames/iframe-scaling-with-scroll-expected.txt: Removed.
* platform/efl/fast/frames/iframe-text-contents-expected.txt: Removed.
* platform/efl/fast/frames/invalid-expected.txt: Removed.
* platform/efl/fast/frames/no-frame-borders-expected.txt: Removed.
* platform/efl/fast/frames/seamless/seamless-inherited-origin-expected.txt: Removed.
* platform/efl/fast/gradients/background-clipped-expected.txt: Removed.
* platform/efl/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/efl/fast/images/gray-scale-png-with-color-profile-expected.txt: Removed.
* platform/efl/fast/images/png-suite/test-expected.txt: Removed.
* platform/efl/fast/images/repaint-subrect-grid-expected.txt: Removed.
* platform/efl/fast/images/zoomed-img-size-expected.txt: Removed.
* platform/efl/fast/inline-block/004-expected.txt: Removed.
* platform/efl/fast/inline-block/005-expected.txt: Removed.
* platform/efl/fast/invalid/015-expected.txt: Removed.
* platform/efl/fast/invalid/table-residual-style-crash-expected.txt: Removed.
* platform/efl/fast/layers/opacity-stacking-expected.txt: Removed.
* platform/efl/fast/layers/positioned-inside-root-with-margins-expected.txt: Removed.
* platform/efl/fast/layers/zindex-ridonkulous-expected.txt: Removed.
* platform/efl/fast/lists/list-marker-before-content-table-expected.txt: Removed.
* platform/efl/fast/multicol/break-properties-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-h-horizontal-bt-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-h-horizontal-tb-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-h-vertical-lr-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-h-vertical-rl-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-v-horizontal-bt-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-v-horizontal-tb-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-v-vertical-lr-expected.txt: Removed.
* platform/efl/fast/multicol/pagination-v-vertical-rl-expected.txt: Removed.
* platform/efl/fast/multicol/span/generated-child-split-flow-crash-expected.txt: Removed.
* platform/efl/fast/multicol/vertical-lr/break-properties-expected.txt: Removed.
* platform/efl/fast/multicol/vertical-lr/rules-with-border-before-expected.txt: Removed.
* platform/efl/fast/multicol/vertical-rl/break-properties-expected.txt: Removed.
* platform/efl/fast/multicol/vertical-rl/rules-with-border-before-expected.txt: Removed.
* platform/efl/fast/overflow/overflow-update-transform-expected.txt: Removed.
* platform/efl/fast/overflow/position-relative-expected.txt: Removed.
* platform/efl/fast/overflow/trailing-float-linebox-expected.txt: Removed.
* platform/efl/fast/overflow/unreachable-content-test-expected.txt: Removed.
* platform/efl/fast/parser/innerhtml-with-prefixed-elements-expected.txt: Removed.
* platform/efl/fast/parser/style-script-head-test-expected.txt: Removed.
* platform/efl/fast/profiler/apply-expected.txt: Removed.
* platform/efl/fast/reflections/reflection-with-zoom-expected.txt: Removed.
* platform/efl/fast/reflections/table-cell-expected.txt: Removed.
* platform/efl/fast/repaint/background-generated-expected.txt: Removed.
* platform/efl/fast/repaint/content-into-overflow-expected.txt: Removed.
* platform/efl/fast/repaint/erase-overflow-expected.txt: Removed.
* platform/efl/fast/repaint/fixed-tranformed-expected.txt: Removed.
* platform/efl/fast/repaint/float-in-new-block-with-layout-delta-expected.txt: Removed.
* platform/efl/fast/repaint/float-new-in-block-expected.txt: Removed.
* platform/efl/fast/repaint/focus-ring-expected.txt: Removed.
* platform/efl/fast/repaint/iframe-scroll-repaint-expected.txt: Removed.
* platform/efl/fast/repaint/inline-block-resize-expected.txt: Removed.
* platform/efl/fast/repaint/intermediate-layout-position-clip-expected.txt: Removed.
* platform/efl/fast/repaint/intermediate-layout-position-expected.txt: Removed.
* platform/efl/fast/repaint/invisible-objects-expected.txt: Removed.
* platform/efl/fast/repaint/layer-hide-when-needs-layout-expected.txt: Removed.
* platform/efl/fast/repaint/layer-visibility-expected.txt: Removed.
* platform/efl/fast/repaint/layout-state-only-positioned-expected.txt: Removed.
* platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt: Removed.
* platform/efl/fast/repaint/overflow-into-content-expected.txt: Removed.
* platform/efl/fast/repaint/repaint-during-scroll-expected.txt: Removed.
* platform/efl/fast/repaint/table-col-background-expected.txt: Removed.
* platform/efl/fast/repaint/table-outer-border-expected.txt: Removed.
* platform/efl/fast/repaint/table-row-expected.txt: Removed.
* platform/efl/fast/repaint/table-section-overflow-expected.txt: Removed.
* platform/efl/fast/repaint/table-two-pass-layout-overpaint-expected.txt: Removed.
* platform/efl/fast/repaint/text-emphasis-v-expected.txt: Removed.
* platform/efl/fast/repaint/transform-disable-layoutstate-expected.txt: Removed.
* platform/efl/fast/repaint/transform-replaced-shadows-expected.txt: Removed.
* platform/efl/fast/repaint/transform-rotate-and-remove-expected.txt: Removed.
* platform/efl/fast/repaint/view-background-from-body-1-expected.txt: Removed.
* platform/efl/fast/repaint/view-background-from-body-2-expected.txt: Removed.
* platform/efl/fast/replaced/008-expected.txt: Removed.
* platform/efl/fast/replaced/percent-height-in-anonymous-block-expected.txt: Removed.
* platform/efl/fast/replaced/selection-rect-expected.txt: Removed.
* platform/efl/fast/ruby/position-after-expected.txt: Removed.
* platform/efl/fast/ruby/ruby-block-style-not-updated-expected.txt: Removed.
* platform/efl/fast/ruby/ruby-block-style-not-updated-with-before-after-content-expected.txt: Removed.
* platform/efl/fast/ruby/ruby-inline-style-not-updated-expected.txt: Removed.
* platform/efl/fast/ruby/ruby-inline-style-not-updated-with-before-after-content-expected.txt: Removed.
* platform/efl/fast/runin/runin-generated-before-content-expected.txt: Removed.
* platform/efl/fast/sub-pixel/inline-block-with-padding-expected.txt: Removed.
* platform/efl/fast/sub-pixel/selection/selection-gaps-at-fractional-offsets-expected.txt: Removed.
* platform/efl/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table-expected.txt: Removed.
* platform/efl/fast/table/024-expected.txt: Removed.
* platform/efl/fast/table/031-expected.txt: Removed.
* platform/efl/fast/table/032-expected.txt: Removed.
* platform/efl/fast/table/auto-100-percent-width-expected.txt: Removed.
* platform/efl/fast/table/caption-relayout-expected.txt: Removed.
* platform/efl/fast/table/div-as-col-span-expected.txt: Removed.
* platform/efl/fast/table/fixed-granular-cols-expected.txt: Removed.
* platform/efl/fast/table/fixed-with-auto-with-colspan-expected.txt: Removed.
* platform/efl/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt: Removed.
* platform/efl/fast/table/growCellForImageQuirk-expected.txt: Removed.
* platform/efl/fast/table/growCellForImageQuirk-vertical-expected.txt: Removed.
* platform/efl/fast/table/height-percent-test-vertical-expected.txt: Removed.
* platform/efl/fast/table/percent-widths-stretch-expected.txt: Removed.
* platform/efl/fast/table/percent-widths-stretch-vertical-expected.txt: Removed.
* platform/efl/fast/table/table-before-child-style-update-expected.txt: Removed.
* platform/efl/fast/table/table-cell-before-after-content-around-table-block-expected.txt: Removed.
* platform/efl/fast/table/table-cell-before-after-content-around-table-expected.txt: Removed.
* platform/efl/fast/table/table-cell-before-after-content-around-table-row-expected.txt: Removed.
* platform/efl/fast/table/table-row-before-after-content-around-block-expected.txt: Removed.
* platform/efl/fast/table/table-row-before-after-content-around-table-expected.txt: Removed.
* platform/efl/fast/table/table-row-before-child-style-update-expected.txt: Removed.
* platform/efl/fast/table/table-row-outline-paint-expected.txt: Removed.
* platform/efl/fast/table/table-row-style-not-updated-expected.txt: Removed.
* platform/efl/fast/table/table-row-style-not-updated-with-after-content-expected.txt: Removed.
* platform/efl/fast/table/table-row-style-not-updated-with-before-content-expected.txt: Removed.
* platform/efl/fast/table/table-style-not-updated-expected.txt: Removed.
* platform/efl/fast/table/vertical-align-baseline-readjust-expected.txt: Removed.
* platform/efl/fast/table/wide-colspan-expected.txt: Removed.
* platform/efl/fast/table/wide-column-expected.txt: Removed.
* platform/efl/fast/text/align-center-rtl-spill-expected.txt: Removed.
* platform/efl/fast/text/emphasis-avoid-ruby-expected.txt: Removed.
* platform/efl/fast/text/soft-hyphen-4-expected.txt: Removed.
* platform/efl/fast/text/stripNullFromText-expected.txt: Removed.
* platform/efl/fast/text/wbr-pre-expected.txt: Removed.
* platform/efl/fast/text/whitespace/019-expected.txt: Removed.
* platform/efl/fast/text/whitespace/023-expected.txt: Removed.
* platform/efl/fast/tokenizer/missing-style-end-tag-1-expected.txt: Removed.
* platform/efl/fast/tokenizer/missing-style-end-tag-2-expected.txt: Removed.
* platform/efl/fast/tokenizer/script-after-frameset-expected.txt: Removed.
* platform/efl/fast/transforms/matrix-01-expected.txt: Removed.
* platform/efl/fast/transforms/matrix-02-expected.txt: Removed.
* platform/efl/fast/transforms/rotated-transform-affects-scrolling-1-expected.txt: Removed.
* platform/efl/fast/transforms/rotated-transform-affects-scrolling-2-expected.txt: Removed.
* platform/efl/fast/writing-mode/body-direction-propagation-blocked-expected.txt: Removed.
* platform/efl/fast/writing-mode/body-direction-propagation-expected.txt: Removed.
* platform/efl/fast/writing-mode/body-writing-mode-propagation-blocked-expected.txt: Removed.
* platform/efl/fast/writing-mode/body-writing-mode-propagation-expected.txt: Removed.
* platform/efl/fast/writing-mode/floats-in-block-layout-expected.txt: Removed.
* platform/efl/fast/writing-mode/inline-direction-positioning-expected.txt: Removed.
* platform/efl/fast/writing-mode/margin-collapse-expected.txt: Removed.
* platform/efl/fast/writing-mode/root-lr-basic-expected.txt: Removed.
* platform/efl/fast/writing-mode/self-collapsing-block-expected.txt: Removed.
* platform/efl/fullscreen/full-screen-render-inline-expected.txt: Removed.
* platform/efl/fullscreen/parent-flow-inline-with-block-child-expected.txt: Removed.
* platform/efl/plugins/iframe-plugin-bgcolor-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug12910-2-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug131020-2-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug13169-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug137388-1-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug137388-2-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug137388-3-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug157890-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug1818-3-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug1818-6-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug222336-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug222467-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug269566-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug277062-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug28933-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug2954-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug8032-2-expected.txt: Removed.
* platform/efl/tables/mozilla/bugs/bug83786-expected.txt: Removed.
* platform/efl/tables/mozilla/core/col_widths_fix_autoFixPer-expected.txt: Removed.
* platform/efl/tables/mozilla_expected_failures/bugs/bug128876-expected.txt: Removed.
* platform/efl/transforms/3d/general/matrix-with-zoom-3d-expected.txt: Removed.
* platform/efl/transforms/3d/general/transform-origin-z-change-expected.txt: Removed.
* platform/efl/transitions/transition-end-event-rendering-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL] Minibrowser can't load child window's location
commit-queue@webkit.org [Wed, 16 Oct 2013 08:48:14 +0000 (08:48 +0000)]
[EFL] Minibrowser can't load child window's location
https://bugs.webkit.org/show_bug.cgi?id=122485

Patch by Robert Plociennik <r.plociennik@samsung.com> on 2013-10-16
Reviewed by Gyuyoung Kim.

Source/WebKit2:

EwkView::createNewPage(), which is only called during handling of
Messages::WebPageProxy::CreateNewPage message from WebProcess, no longer passes
the URL to window_create(). As a result, no Messages::WebPage::LoadURL message
is sent back, that would load the same URL twice and effectively cancel any
other scheduled navigation inside WebProcess.

Additionally, since the url parameter in MiniBrowser's implementation of
window_create() is only used internally and is prone to bugs as demonstrated
in r139303 (d7f10c8), it has been removed in favour of explicit calls to
ewk_view_url_set().

* UIProcess/API/efl/EwkView.cpp:
(EwkView::createNewPage): No longer passes the URL to window_create() impl.
* UIProcess/API/efl/ewk_view.h: window_create() no longer has the url parameter.
* UIProcess/API/efl/tests/test_ewk2_window_features.cpp: Test methods updated to
    comply with the API change.
(EWK2WindowFeaturesTest::createDefaultWindow): Ditto.
(EWK2WindowFeaturesTest::createWindow): Ditto.

Tools:

* MiniBrowser/efl/main.c: Now calling window_create() without the url parameter
    followed by an explicit call to ewk_view_url_set() where appropriate.
(on_key_down):
(on_window_create):
(window_create):
(elm_main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157502 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove Gtk-specific test expectations that were identical to generic expectations.
akling@apple.com [Wed, 16 Oct 2013 08:42:38 +0000 (08:42 +0000)]
Remove Gtk-specific test expectations that were identical to generic expectations.
<https://webkit.org/b/121551>

Reviewed by Antti Koivisto.

* platform/gtk/css1/units/rounding-expected.txt: Removed.
* platform/gtk/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Removed.
* platform/gtk/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-circle-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-circle-filter-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-circle-overflow-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-circle-overflow-hidden-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-circle-relative-overflow-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-ellipse-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-polygon-evenodd-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-polygon-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-polygon-nonzero-expected.txt: Removed.
* platform/gtk/css3/masking/clip-path-rectangle-expected.txt: Removed.
* platform/gtk/editing/deleting/transpose-empty-expected.txt: Removed.
* platform/gtk/editing/pasteboard/5761530-1-expected.txt: Removed.
* platform/gtk/editing/selection/collapse-selection-in-bidi-expected.txt: Removed.
* platform/gtk/editing/selection/doubleclick-crash-expected.txt: Removed.
* platform/gtk/editing/selection/select-missing-image-expected.txt: Removed.
* platform/gtk/fast/backgrounds/bgCompositeCopy-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize01-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize02-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize03-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize04-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize05-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize06-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize07-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize08-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize09-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize10-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize11-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize12-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize13-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/backgroundSize14-expected.txt: Removed.
* platform/gtk/fast/backgrounds/size/contain-and-cover-zoomed-expected.txt: Removed.
* platform/gtk/fast/block/basic/fieldset-stretch-to-legend-expected.txt: Removed.
* platform/gtk/fast/block/basic/quirk-percent-height-grandchild-expected.txt: Removed.
* platform/gtk/fast/block/float/008-expected.txt: Removed.
* platform/gtk/fast/block/float/009-expected.txt: Removed.
* platform/gtk/fast/block/float/019-expected.txt: Removed.
* platform/gtk/fast/block/float/034-expected.txt: Removed.
* platform/gtk/fast/block/float/035-expected.txt: Removed.
* platform/gtk/fast/block/float/4145535Crash-expected.txt: Removed.
* platform/gtk/fast/block/float/br-with-clear-2-expected.txt: Removed.
* platform/gtk/fast/block/float/float-forced-below-other-floats-expected.txt: Removed.
* platform/gtk/fast/block/float/float-on-zero-height-line-expected.txt: Removed.
* platform/gtk/fast/block/float/float-overhangs-root-expected.txt: Removed.
* platform/gtk/fast/block/float/narrow-after-wide-expected.txt: Removed.
* platform/gtk/fast/block/float/negative-margin-clear-expected.txt: Removed.
* platform/gtk/fast/block/float/nowrap-clear-min-width-expected.txt: Removed.
* platform/gtk/fast/block/float/overhanging-after-height-decrease-offsets-expected.txt: Removed.
* platform/gtk/fast/block/float/relative-painted-twice-expected.txt: Removed.
* platform/gtk/fast/block/positioning/003-expected.txt: Removed.
* platform/gtk/fast/block/positioning/004-expected.txt: Removed.
* platform/gtk/fast/block/positioning/005-expected.txt: Removed.
* platform/gtk/fast/block/positioning/006-expected.txt: Removed.
* platform/gtk/fast/block/positioning/007-expected.txt: Removed.
* platform/gtk/fast/block/positioning/008-expected.txt: Removed.
* platform/gtk/fast/block/positioning/009-expected.txt: Removed.
* platform/gtk/fast/block/positioning/010-expected.txt: Removed.
* platform/gtk/fast/block/positioning/011-expected.txt: Removed.
* platform/gtk/fast/block/positioning/012-expected.txt: Removed.
* platform/gtk/fast/block/positioning/013-expected.txt: Removed.
* platform/gtk/fast/block/positioning/014-expected.txt: Removed.
* platform/gtk/fast/block/positioning/015-expected.txt: Removed.
* platform/gtk/fast/block/positioning/017-expected.txt: Removed.
* platform/gtk/fast/block/positioning/018-expected.txt: Removed.
* platform/gtk/fast/block/positioning/019-expected.txt: Removed.
* platform/gtk/fast/block/positioning/020-expected.txt: Removed.
* platform/gtk/fast/block/positioning/021-expected.txt: Removed.
* platform/gtk/fast/block/positioning/022-expected.txt: Removed.
* platform/gtk/fast/block/positioning/023-expected.txt: Removed.
* platform/gtk/fast/block/positioning/024-expected.txt: Removed.
* platform/gtk/fast/block/positioning/026-expected.txt: Removed.
* platform/gtk/fast/block/positioning/027-expected.txt: Removed.
* platform/gtk/fast/block/positioning/029-expected.txt: Removed.
* platform/gtk/fast/block/positioning/030-expected.txt: Removed.
* platform/gtk/fast/block/positioning/032-expected.txt: Removed.
* platform/gtk/fast/block/positioning/033-expected.txt: Removed.
* platform/gtk/fast/block/positioning/034-expected.txt: Removed.
* platform/gtk/fast/block/positioning/035-expected.txt: Removed.
* platform/gtk/fast/block/positioning/036-expected.txt: Removed.
* platform/gtk/fast/block/positioning/037-expected.txt: Removed.
* platform/gtk/fast/block/positioning/038-expected.txt: Removed.
* platform/gtk/fast/block/positioning/039-expected.txt: Removed.
* platform/gtk/fast/block/positioning/040-expected.txt: Removed.
* platform/gtk/fast/block/positioning/041-expected.txt: Removed.
* platform/gtk/fast/block/positioning/042-expected.txt: Removed.
* platform/gtk/fast/block/positioning/043-expected.txt: Removed.
* platform/gtk/fast/block/positioning/044-expected.txt: Removed.
* platform/gtk/fast/block/positioning/045-expected.txt: Removed.
* platform/gtk/fast/block/positioning/046-expected.txt: Removed.
* platform/gtk/fast/block/positioning/048-expected.txt: Removed.
* platform/gtk/fast/block/positioning/049-expected.txt: Removed.
* platform/gtk/fast/block/positioning/050-expected.txt: Removed.
* platform/gtk/fast/block/positioning/062-expected.txt: Removed.
* platform/gtk/fast/block/positioning/complex-positioned-movement-expected.txt: Removed.
* platform/gtk/fast/block/positioning/move-with-auto-width-expected.txt: Removed.
* platform/gtk/fast/block/positioning/negative-rel-position-expected.txt: Removed.
* platform/gtk/fast/block/positioning/relative-overconstrained-expected.txt: Removed.
* platform/gtk/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Removed.
* platform/gtk/fast/block/positioning/static-inline-position-dynamic-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-lr/003-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-lr/004-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-lr/005-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-lr/006-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-rl/003-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-rl/004-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-rl/005-expected.txt: Removed.
* platform/gtk/fast/block/positioning/vertical-rl/006-expected.txt: Removed.
* platform/gtk/fast/borders/fieldsetBorderRadius-expected.txt: Removed.
* platform/gtk/fast/borders/outline-offset-min-assert-expected.txt: Removed.
* platform/gtk/fast/borders/webkit-border-radius-expected.txt: Removed.
* platform/gtk/fast/box-shadow/shadow-tiling-artifact-expected.txt: Removed.
* platform/gtk/fast/box-shadow/single-pixel-shadow-expected.txt: Removed.
* platform/gtk/fast/canvas/canvas-as-image-expected.txt: Removed.
* platform/gtk/fast/canvas/canvas-bg-expected.txt: Removed.
* platform/gtk/fast/canvas/canvas-render-layer-expected.txt: Removed.
* platform/gtk/fast/css-generated-content/table-parts-before-and-after-expected.txt: Removed.
* platform/gtk/fast/css/006-expected.txt: Removed.
* platform/gtk/fast/css/absolute-child-with-percent-height-inside-relative-parent-expected.txt: Removed.
* platform/gtk/fast/css/bogus-color-span-expected.txt: Removed.
* platform/gtk/fast/css/bug4860-absolute-block-child-does-not-inherit-alignment-expected.txt: Removed.
* platform/gtk/fast/css/content-dynamic-expected.txt: Removed.
* platform/gtk/fast/css/contentDiv-expected.txt: Removed.
* platform/gtk/fast/css/contentDivWithChildren-expected.txt: Removed.
* platform/gtk/fast/css/contentImage-expected.txt: Removed.
* platform/gtk/fast/css/font-face-multiple-remote-sources-expected.txt: Removed.
* platform/gtk/fast/css/font-face-remote-expected.txt: Removed.
* platform/gtk/fast/css/getComputedStyle/getComputedStyle-margin-percentage-expected.txt: Removed.
* platform/gtk/fast/css/last-child-style-sharing-expected.txt: Removed.
* platform/gtk/fast/css/nested-rounded-corners-expected.txt: Removed.
* platform/gtk/fast/css/outline-auto-empty-rects-expected.txt: Removed.
* platform/gtk/fast/css/transition-color-unspecified-expected.txt: Removed.
* platform/gtk/fast/dom/HTMLStyleElement/insert-parser-generated-expected.txt: Removed.
* platform/gtk/fast/dom/attr_dead_doc-expected.txt: Removed.
* platform/gtk/fast/dom/css-cached-import-rule-expected.txt: Removed.
* platform/gtk/fast/dom/css-insert-import-rule-expected.txt: Removed.
* platform/gtk/fast/dom/delete-contents-expected.txt: Removed.
* platform/gtk/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Removed.
* platform/gtk/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
* platform/gtk/fast/dynamic/001-expected.txt: Removed.
* platform/gtk/fast/dynamic/005-expected.txt: Removed.
* platform/gtk/fast/dynamic/anonymous-block-layer-lost-expected.txt: Removed.
* platform/gtk/fast/dynamic/float-no-longer-overhanging-expected.txt: Removed.
* platform/gtk/fast/dynamic/float-withdrawal-2-expected.txt: Removed.
* platform/gtk/fast/dynamic/floating-to-positioned-2-expected.txt: Removed.
* platform/gtk/fast/dynamic/floating-to-positioned-expected.txt: Removed.
* platform/gtk/fast/dynamic/insertAdjacentElement-expected.txt: Removed.
* platform/gtk/fast/dynamic/staticY-expected.txt: Removed.
* platform/gtk/fast/dynamic/subtree-parent-static-y-expected.txt: Removed.
* platform/gtk/fast/events/document-elementFromPoint-expected.txt: Removed.
* platform/gtk/fast/events/event-attribute-expected.txt: Removed.
* platform/gtk/fast/files/workers/worker-read-blob-async-expected.txt: Removed.
* platform/gtk/fast/files/workers/worker-read-blob-sync-expected.txt: Removed.
* platform/gtk/fast/flexbox/flex-hang-expected.txt: Removed.
* platform/gtk/fast/forms/002-expected.txt: Removed.
* platform/gtk/fast/forms/005-expected.txt: Removed.
* platform/gtk/fast/forms/input-placeholder-paint-order-expected.txt: Removed.
* platform/gtk/fast/forms/textarea/textarea-placeholder-paint-order-expected.txt: Removed.
* platform/gtk/fast/frames/002-expected.txt: Removed.
* platform/gtk/fast/frames/calculate-fixed-expected.txt: Removed.
* platform/gtk/fast/frames/calculate-order-expected.txt: Removed.
* platform/gtk/fast/frames/calculate-percentage-expected.txt: Removed.
* platform/gtk/fast/frames/calculate-relative-expected.txt: Removed.
* platform/gtk/fast/frames/calculate-round-expected.txt: Removed.
* platform/gtk/fast/frames/content-opacity-1-expected.txt: Removed.
* platform/gtk/fast/frames/content-opacity-2-expected.txt: Removed.
* platform/gtk/fast/frames/empty-cols-attribute-expected.txt: Removed.
* platform/gtk/fast/frames/empty-frame-src-expected.txt: Removed.
* platform/gtk/fast/frames/frame-set-whitespace-attributes-expected.txt: Removed.
* platform/gtk/fast/frames/iframe-scaling-with-scroll-expected.txt: Removed.
* platform/gtk/fast/frames/iframe-text-contents-expected.txt: Removed.
* platform/gtk/fast/frames/invalid-expected.txt: Removed.
* platform/gtk/fast/frames/no-frame-borders-expected.txt: Removed.
* platform/gtk/fast/gradients/background-clipped-expected.txt: Removed.
* platform/gtk/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/gtk/fast/images/gray-scale-png-with-color-profile-expected.txt: Removed.
* platform/gtk/fast/images/png-suite/test-expected.txt: Removed.
* platform/gtk/fast/images/zoomed-img-size-expected.txt: Removed.
* platform/gtk/fast/inline-block/004-expected.txt: Removed.
* platform/gtk/fast/inline-block/005-expected.txt: Removed.
* platform/gtk/fast/invalid/015-expected.txt: Removed.
* platform/gtk/fast/invalid/table-residual-style-crash-expected.txt: Removed.
* platform/gtk/fast/layers/opacity-stacking-expected.txt: Removed.
* platform/gtk/fast/layers/positioned-inside-root-with-margins-expected.txt: Removed.
* platform/gtk/fast/layers/zindex-ridonkulous-expected.txt: Removed.
* platform/gtk/fast/multicol/break-properties-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-h-horizontal-bt-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-h-horizontal-tb-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-h-vertical-lr-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-h-vertical-rl-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-v-horizontal-bt-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-v-horizontal-tb-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-v-vertical-lr-expected.txt: Removed.
* platform/gtk/fast/multicol/pagination-v-vertical-rl-expected.txt: Removed.
* platform/gtk/fast/multicol/vertical-lr/break-properties-expected.txt: Removed.
* platform/gtk/fast/multicol/vertical-lr/rules-with-border-before-expected.txt: Removed.
* platform/gtk/fast/multicol/vertical-rl/break-properties-expected.txt: Removed.
* platform/gtk/fast/multicol/vertical-rl/rules-with-border-before-expected.txt: Removed.
* platform/gtk/fast/overflow/overflow-update-transform-expected.txt: Removed.
* platform/gtk/fast/overflow/position-relative-expected.txt: Removed.
* platform/gtk/fast/overflow/trailing-float-linebox-expected.txt: Removed.
* platform/gtk/fast/overflow/unreachable-content-test-expected.txt: Removed.
* platform/gtk/fast/parser/innerhtml-with-prefixed-elements-expected.txt: Removed.
* platform/gtk/fast/parser/style-script-head-test-expected.txt: Removed.
* platform/gtk/fast/reflections/reflection-with-zoom-expected.txt: Removed.
* platform/gtk/fast/reflections/table-cell-expected.txt: Removed.
* platform/gtk/fast/repaint/background-generated-expected.txt: Removed.
* platform/gtk/fast/repaint/content-into-overflow-expected.txt: Removed.
* platform/gtk/fast/repaint/erase-overflow-expected.txt: Removed.
* platform/gtk/fast/repaint/fixed-tranformed-expected.txt: Removed.
* platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.txt: Removed.
* platform/gtk/fast/repaint/float-new-in-block-expected.txt: Removed.
* platform/gtk/fast/repaint/focus-ring-expected.txt: Removed.
* platform/gtk/fast/repaint/inline-block-resize-expected.txt: Removed.
* platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.txt: Removed.
* platform/gtk/fast/repaint/intermediate-layout-position-expected.txt: Removed.
* platform/gtk/fast/repaint/invisible-objects-expected.txt: Removed.
* platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.txt: Removed.
* platform/gtk/fast/repaint/layer-visibility-expected.txt: Removed.
* platform/gtk/fast/repaint/layout-state-only-positioned-expected.txt: Removed.
* platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt: Removed.
* platform/gtk/fast/repaint/overflow-into-content-expected.txt: Removed.
* platform/gtk/fast/repaint/repaint-during-scroll-expected.txt: Removed.
* platform/gtk/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Removed.
* platform/gtk/fast/repaint/table-col-background-expected.txt: Removed.
* platform/gtk/fast/repaint/table-outer-border-expected.txt: Removed.
* platform/gtk/fast/repaint/table-row-expected.txt: Removed.
* platform/gtk/fast/repaint/table-section-overflow-expected.txt: Removed.
* platform/gtk/fast/repaint/table-two-pass-layout-overpaint-expected.txt: Removed.
* platform/gtk/fast/repaint/transform-disable-layoutstate-expected.txt: Removed.
* platform/gtk/fast/repaint/transform-replaced-shadows-expected.txt: Removed.
* platform/gtk/fast/repaint/transform-rotate-and-remove-expected.txt: Removed.
* platform/gtk/fast/repaint/view-background-from-body-1-expected.txt: Removed.
* platform/gtk/fast/repaint/view-background-from-body-2-expected.txt: Removed.
* platform/gtk/fast/replaced/008-expected.txt: Removed.
* platform/gtk/fast/replaced/percent-height-in-anonymous-block-expected.txt: Removed.
* platform/gtk/fast/replaced/selection-rect-expected.txt: Removed.
* platform/gtk/fast/sub-pixel/selection/selection-gaps-at-fractional-offsets-expected.txt: Removed.
* platform/gtk/fast/table/024-expected.txt: Removed.
* platform/gtk/fast/table/031-expected.txt: Removed.
* platform/gtk/fast/table/032-expected.txt: Removed.
* platform/gtk/fast/table/auto-100-percent-width-expected.txt: Removed.
* platform/gtk/fast/table/caption-relayout-expected.txt: Removed.
* platform/gtk/fast/table/div-as-col-span-expected.txt: Removed.
* platform/gtk/fast/table/fixed-granular-cols-expected.txt: Removed.
* platform/gtk/fast/table/fixed-with-auto-with-colspan-expected.txt: Removed.
* platform/gtk/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt: Removed.
* platform/gtk/fast/table/growCellForImageQuirk-expected.txt: Removed.
* platform/gtk/fast/table/growCellForImageQuirk-vertical-expected.txt: Removed.
* platform/gtk/fast/table/height-percent-test-vertical-expected.txt: Removed.
* platform/gtk/fast/table/percent-widths-stretch-expected.txt: Removed.
* platform/gtk/fast/table/percent-widths-stretch-vertical-expected.txt: Removed.
* platform/gtk/fast/table/table-row-outline-paint-expected.txt: Removed.
* platform/gtk/fast/table/vertical-align-baseline-readjust-expected.txt: Removed.
* platform/gtk/fast/table/wide-colspan-expected.txt: Removed.
* platform/gtk/fast/table/wide-column-expected.txt: Removed.
* platform/gtk/fast/text/align-center-rtl-spill-expected.txt: Removed.
* platform/gtk/fast/text/stripNullFromText-expected.txt: Removed.
* platform/gtk/fast/text/wbr-pre-expected.txt: Removed.
* platform/gtk/fast/text/whitespace/019-expected.txt: Removed.
* platform/gtk/fast/text/whitespace/022-expected.txt: Removed.
* platform/gtk/fast/text/whitespace/023-expected.txt: Removed.
* platform/gtk/fast/tokenizer/missing-style-end-tag-1-expected.txt: Removed.
* platform/gtk/fast/tokenizer/missing-style-end-tag-2-expected.txt: Removed.
* platform/gtk/fast/tokenizer/script-after-frameset-expected.txt: Removed.
* platform/gtk/fast/transforms/matrix-01-expected.txt: Removed.
* platform/gtk/fast/transforms/matrix-02-expected.txt: Removed.
* platform/gtk/fast/transforms/rotated-transform-affects-scrolling-1-expected.txt: Removed.
* platform/gtk/fast/transforms/rotated-transform-affects-scrolling-2-expected.txt: Removed.
* platform/gtk/fast/writing-mode/body-direction-propagation-blocked-expected.txt: Removed.
* platform/gtk/fast/writing-mode/body-direction-propagation-expected.txt: Removed.
* platform/gtk/fast/writing-mode/body-writing-mode-propagation-blocked-expected.txt: Removed.
* platform/gtk/fast/writing-mode/body-writing-mode-propagation-expected.txt: Removed.
* platform/gtk/fast/writing-mode/floats-in-block-layout-expected.txt: Removed.
* platform/gtk/fast/writing-mode/inline-direction-positioning-expected.txt: Removed.
* platform/gtk/fast/writing-mode/margin-collapse-expected.txt: Removed.
* platform/gtk/fast/writing-mode/root-lr-basic-expected.txt: Removed.
* platform/gtk/fast/writing-mode/self-collapsing-block-expected.txt: Removed.
* platform/gtk/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Removed.
* platform/gtk/js/dom/global-constructors-attributes-shared-worker-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug12910-2-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug131020-2-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug137388-1-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug137388-2-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug137388-3-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug157890-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug1818-3-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug1818-6-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug222336-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug222467-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug269566-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug277062-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug28933-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug2954-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug8032-2-expected.txt: Removed.
* platform/gtk/tables/mozilla/bugs/bug83786-expected.txt: Removed.
* platform/gtk/tables/mozilla/core/col_widths_fix_autoFixPer-expected.txt: Removed.
* platform/gtk/tables/mozilla_expected_failures/bugs/bug128876-expected.txt: Removed.
* platform/gtk/transitions/transition-end-event-rendering-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157501 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove more of the UNINTERRUPTED_SEQUENCE thing
commit-queue@webkit.org [Wed, 16 Oct 2013 08:40:51 +0000 (08:40 +0000)]
Remove more of the UNINTERRUPTED_SEQUENCE thing
https://bugs.webkit.org/show_bug.cgi?id=122885

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-16
Reviewed by Andreas Kling.

It was not completely removed by r157481, leading to build failure for sh4 architecture.

* jit/JIT.h:
* jit/JITInlines.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157500 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove port-specific SVG test expectations that were identical to generic expectations.
akling@apple.com [Wed, 16 Oct 2013 08:35:21 +0000 (08:35 +0000)]
Remove port-specific SVG test expectations that were identical to generic expectations.
<https://webkit.org/b/121551>

Reviewed by Antti Koivisto.

* platform/efl/fast/repaint/repaint-svg-after-style-change-expected.txt: Removed.
* platform/efl/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-01-t-expected.txt: Removed.
* platform/efl/svg/as-image/image-respects-pageScaleFactor-change-expected.txt: Removed.
* platform/efl/svg/as-image/svg-as-image-expected.txt: Removed.
* platform/efl/svg/as-image/svg-non-integer-scaled-image-expected.txt: Removed.
* platform/efl/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-in-clip-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-child-clipped-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-clipped-no-content-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-evenodd-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-evenodd-nonzero-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-nonzero-evenodd-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-nonzero-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-recursive-call-by-child-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-recursive-call-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-transform-1-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-use-as-child2-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-use-as-child3-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-use-as-child4-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-use-as-child5-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-with-container-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-with-different-unittypes-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-with-different-unittypes2-expected.txt: Removed.
* platform/efl/svg/clip-path/clip-path-with-invisibile-child-expected.txt: Removed.
* platform/efl/svg/clip-path/clipper-placement-issue-expected.txt: Removed.
* platform/efl/svg/css/path-with-shadow-expected.txt: Removed.
* platform/efl/svg/css/shadow-and-opacity-expected.txt: Removed.
* platform/efl/svg/custom/pattern-scaling-expected.txt: Removed.
* platform/efl/svg/dom/css-transforms-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFECompositeElement-dom-k2-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFECompositeElement-dom-k3-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFECompositeElement-dom-k4-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFECompositeElement-svgdom-k1-prop-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFECompositeElement-svgdom-k2-prop-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFECompositeElement-svgdom-k3-prop-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFECompositeElement-svgdom-operator-prop-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-diffuseConstant-attr-expected.txt: Removed.
* platform/efl/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-surfaceScale-prop-expected.txt: Removed.
* platform/efl/svg/filters/big-sized-filter-2-expected.txt: Removed.
* platform/efl/svg/filters/big-sized-filter-expected.txt: Removed.
* platform/efl/svg/filters/feImage-change-target-id-expected.txt: Removed.
* platform/efl/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.txt: Removed.
* platform/efl/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.txt: Removed.
* platform/efl/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.txt: Removed.
* platform/efl/svg/filters/feImage-remove-target-expected.txt: Removed.
* platform/efl/svg/filters/feMerge-wrong-input-expected.txt: Removed.
* platform/efl/svg/filters/filter-empty-g-expected.txt: Removed.
* platform/efl/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt: Removed.
* platform/efl/svg/foreignObject/fO-display-none-expected.txt: Removed.
* platform/efl/svg/foreignObject/fO-display-none-with-relative-pos-content-expected.txt: Removed.
* platform/efl/svg/foreignObject/fO-parent-display-none-expected.txt: Removed.
* platform/efl/svg/foreignObject/fO-parent-display-none-with-relative-pos-content-expected.txt: Removed.
* platform/efl/svg/foreignObject/fO-parent-of-parent-display-none-expected.txt: Removed.
* platform/efl/svg/foreignObject/fO-parent-of-parent-display-none-with-relative-pos-content-expected.txt: Removed.
* platform/efl/svg/hixie/cascade/001-broken-expected.txt: Removed.
* platform/efl/svg/hixie/data-types/001-expected.txt: Removed.
* platform/efl/svg/hixie/dynamic/003-expected.txt: Removed.
* platform/efl/svg/hixie/dynamic/004-expected.txt: Removed.
* platform/efl/svg/hixie/dynamic/005-expected.txt: Removed.
* platform/efl/svg/hixie/dynamic/006-expected.txt: Removed.
* platform/efl/svg/hixie/error/001-expected.txt: Removed.
* platform/efl/svg/hixie/error/006-expected.txt: Removed.
* platform/efl/svg/hixie/error/007-expected.txt: Removed.
* platform/efl/svg/hixie/error/008-expected.txt: Removed.
* platform/efl/svg/hixie/error/009-expected.txt: Removed.
* platform/efl/svg/hixie/error/014-expected.txt: Removed.
* platform/efl/svg/hixie/error/014-test-expected.txt: Removed.
* platform/efl/svg/hixie/error/015-expected.txt: Removed.
* platform/efl/svg/hixie/error/016-expected.txt: Removed.
* platform/efl/svg/hixie/mixed/004-expected.txt: Removed.
* platform/efl/svg/hixie/mixed/005-expected.txt: Removed.
* platform/efl/svg/hixie/painting/001-expected.txt: Removed.
* platform/efl/svg/hixie/processing-model/005-expected.txt: Removed.
* platform/efl/svg/hixie/rendering-model/001-expected.txt: Removed.
* platform/efl/svg/hixie/rendering-model/002-expected.txt: Removed.
* platform/efl/svg/hixie/rendering-model/003a-expected.txt: Removed.
* platform/efl/svg/hixie/text/001-expected.txt: Removed.
* platform/efl/svg/hixie/transform/001-expected.txt: Removed.
* platform/efl/svg/hixie/use/001-expected.txt: Removed.
* platform/efl/svg/hixie/use/002-expected.txt: Removed.
* platform/efl/svg/hixie/use/002-test-expected.txt: Removed.
* platform/efl/svg/hixie/viewbox/001-expected.txt: Removed.
* platform/efl/svg/hixie/viewbox/002-expected.txt: Removed.
* platform/efl/svg/hixie/viewbox/003-expected.txt: Removed.
* platform/efl/svg/hixie/viewbox/004-expected.txt: Removed.
* platform/efl/svg/overflow/overflow-on-foreignObject-expected.txt: Removed.
* platform/efl/svg/overflow/overflow-on-inner-svg-element-defaults-expected.txt: Removed.
* platform/efl/svg/overflow/overflow-on-inner-svg-element-expected.txt: Removed.
* platform/efl/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt: Removed.
* platform/efl/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt: Removed.
* platform/efl/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt: Removed.
* platform/efl/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt: Removed.
* platform/efl/svg/repaint/repainting-after-animation-element-removal-expected.txt: Removed.
* platform/efl/svg/text/text-hkern-expected.txt: Removed.
* platform/efl/svg/text/text-hkern-on-vertical-text-expected.txt: Removed.
* platform/efl/svg/text/text-vkern-expected.txt: Removed.
* platform/efl/svg/text/text-vkern-on-horizontal-text-expected.txt: Removed.
* platform/efl/svg/text/textPathBoundsBug-expected.txt: Removed.
* platform/efl/svg/zoom/page/absolute-sized-document-scrollbars-expected.txt: Removed.
* platform/efl/svg/zoom/page/zoom-background-image-tiled-expected.txt: Removed.
* platform/efl/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt: Removed.
* platform/efl/svg/zoom/page/zoom-svg-as-image-expected.txt: Removed.
* platform/efl/svg/zoom/page/zoom-svg-as-object-expected.txt: Removed.
* platform/efl/svg/zoom/page/zoom-svg-as-relative-image-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1/struct-frag-01-t-expected.txt: Removed.
* platform/gtk/svg/as-image/svg-as-image-expected.txt: Removed.
* platform/gtk/svg/as-image/svg-non-integer-scaled-image-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-in-clip-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-child-clipped-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-clipped-no-content-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-evenodd-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-evenodd-nonzero-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-nonzero-evenodd-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-nonzero-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-recursive-call-by-child-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-recursive-call-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-transform-1-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-use-as-child2-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-use-as-child3-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-use-as-child4-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-use-as-child5-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-with-container-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-with-different-unittypes-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-with-different-unittypes2-expected.txt: Removed.
* platform/gtk/svg/clip-path/clip-path-with-invisibile-child-expected.txt: Removed.
* platform/gtk/svg/clip-path/clipper-placement-issue-expected.txt: Removed.
* platform/gtk/svg/css/path-with-shadow-expected.txt: Removed.
* platform/gtk/svg/css/shadow-and-opacity-expected.txt: Removed.
* platform/gtk/svg/custom/SVGNumber-interface-expected.txt: Removed.
* platform/gtk/svg/custom/SVGPoint-interface-expected.txt: Removed.
* platform/gtk/svg/custom/SVGRect-interface-expected.txt: Removed.
* platform/gtk/svg/custom/attribute-namespace-check-expected.txt: Removed.
* platform/gtk/svg/custom/circular-marker-reference-3-expected.txt: Removed.
* platform/gtk/svg/custom/class-baseValue-expected.txt: Removed.
* platform/gtk/svg/custom/class-selector-expected.txt: Removed.
* platform/gtk/svg/custom/clip-path-with-css-transform-1-expected.txt: Removed.
* platform/gtk/svg/custom/clip-path-with-css-transform-2-expected.txt: Removed.
* platform/gtk/svg/custom/clip-path-with-transform-expected.txt: Removed.
* platform/gtk/svg/custom/conditional-processing-outside-switch-expected.txt: Removed.
* platform/gtk/svg/custom/convolution-crash-expected.txt: Removed.
* platform/gtk/svg/custom/create-metadata-element-expected.txt: Removed.
* platform/gtk/svg/custom/createImageElement-expected.txt: Removed.
* platform/gtk/svg/custom/createelement-expected.txt: Removed.
* platform/gtk/svg/custom/css-pixels-dpi-expected.txt: Removed.
* platform/gtk/svg/custom/dasharrayOrigin-expected.txt: Removed.
* platform/gtk/svg/custom/display-none-expected.txt: Removed.
* platform/gtk/svg/custom/dynamic-empty-path-expected.txt: Removed.
* platform/gtk/svg/custom/dynamic-viewBox-expected.txt: Removed.
* platform/gtk/svg/custom/empty-merge-expected.txt: Removed.
* platform/gtk/svg/custom/evt-onload-expected.txt: Removed.
* platform/gtk/svg/custom/fill-opacity-hsl-expected.txt: Removed.
* platform/gtk/svg/custom/fill-opacity-rgba-expected.txt: Removed.
* platform/gtk/svg/custom/fill-update-expected.txt: Removed.
* platform/gtk/svg/custom/fractional-rects-expected.txt: Removed.
* platform/gtk/svg/custom/glyph-selection-arabic-forms-expected.txt: Removed.
* platform/gtk/svg/custom/glyph-selection-non-bmp-expected.txt: Removed.
* platform/gtk/svg/custom/gradient-attr-update-expected.txt: Removed.
* platform/gtk/svg/custom/gradient-rotated-bbox-expected.txt: Removed.
* platform/gtk/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.txt: Removed.
* platform/gtk/svg/custom/group-opacity-expected.txt: Removed.
* platform/gtk/svg/custom/hover-default-fill-expected.txt: Removed.
* platform/gtk/svg/custom/image-with-aspect-ratio-stretch-expected.txt: Removed.
* platform/gtk/svg/custom/inner-percent-expected.txt: Removed.
* platform/gtk/svg/custom/inner-svg-hit-test-expected.txt: Removed.
* platform/gtk/svg/custom/invalid-dasharray-expected.txt: Removed.
* platform/gtk/svg/custom/invalid-transforms-expected.txt: Removed.
* platform/gtk/svg/custom/js-update-container-expected.txt: Removed.
* platform/gtk/svg/custom/js-update-image-and-display-expected.txt: Removed.
* platform/gtk/svg/custom/js-update-image-and-display2-expected.txt: Removed.
* platform/gtk/svg/custom/js-update-image-and-display3-expected.txt: Removed.
* platform/gtk/svg/custom/large-bounding-box-percents-expected.txt: Removed.
* platform/gtk/svg/custom/marker-empty-path-expected.txt: Removed.
* platform/gtk/svg/custom/marker-referencePoint-expected.txt: Removed.
* platform/gtk/svg/custom/mask-changes-expected.txt: Removed.
* platform/gtk/svg/custom/mask-colorspace-expected.txt: Removed.
* platform/gtk/svg/custom/mask-excessive-malloc-expected.txt: Removed.
* platform/gtk/svg/custom/mask-inside-defs-expected.txt: Removed.
* platform/gtk/svg/custom/mask-on-multiple-objects-expected.txt: Removed.
* platform/gtk/svg/custom/mask-with-default-value-expected.txt: Removed.
* platform/gtk/svg/custom/non-scaling-stroke-markers-expected.txt: Removed.
* platform/gtk/svg/custom/outer-svg-unknown-feature-expected.txt: Removed.
* platform/gtk/svg/custom/painting-marker-07-f-inherit-expected.txt: Removed.
* platform/gtk/svg/custom/path-moveto-only-rendering-expected.txt: Removed.
* platform/gtk/svg/custom/path-update-expected.txt: Removed.
* platform/gtk/svg/custom/pattern-no-pixelation-expected.txt: Removed.
* platform/gtk/svg/custom/pattern-scaling-expected.txt: Removed.
* platform/gtk/svg/custom/pattern-y-offset-expected.txt: Removed.
* platform/gtk/svg/custom/percentage-rect2-expected.txt: Removed.
* platform/gtk/svg/custom/poly-identify-expected.txt: Removed.
* platform/gtk/svg/custom/polyline-hittest-expected.txt: Removed.
* platform/gtk/svg/custom/polyline-invalid-points-expected.txt: Removed.
* platform/gtk/svg/custom/polyline-setattribute-points-null-expected.txt: Removed.
* platform/gtk/svg/custom/root-container-opacity-clip-viewBox-expected.txt: Removed.
* platform/gtk/svg/custom/rootelement-expected.txt: Removed.
* platform/gtk/svg/custom/rounded-rects-expected.txt: Removed.
* platform/gtk/svg/custom/sheet-title-expected.txt: Removed.
* platform/gtk/svg/custom/small-rect-scale-expected.txt: Removed.
* platform/gtk/svg/custom/subpaths-moveto-only-rendering-expected.txt: Removed.
* platform/gtk/svg/custom/svg-fonts-with-no-element-reference-expected.txt: Removed.
* platform/gtk/svg/custom/svgpolyparser-extra-space-expected.txt: Removed.
* platform/gtk/svg/custom/text-gradient-no-content-expected.txt: Removed.
* platform/gtk/svg/custom/transform-ignore-after-invalid-expected.txt: Removed.
* platform/gtk/svg/custom/transform-invalid-expected.txt: Removed.
* platform/gtk/svg/custom/transform-removeAttributeNS-expected.txt: Removed.
* platform/gtk/svg/custom/transform-scale-parse-expected.txt: Removed.
* platform/gtk/svg/custom/transform-with-ending-space-expected.txt: Removed.
* platform/gtk/svg/custom/use-css-no-effect-on-shadow-tree-expected.txt: Removed.
* platform/gtk/svg/custom/use-disappears-after-style-update-expected.txt: Removed.
* platform/gtk/svg/custom/use-empty-reference-expected.txt: Removed.
* platform/gtk/svg/custom/use-extern-href-expected.txt: Removed.
* platform/gtk/svg/custom/use-invalid-pattern-expected.txt: Removed.
* platform/gtk/svg/custom/use-property-synchronization-crash-expected.txt: Removed.
* platform/gtk/svg/custom/use-recalcStyle-crash-expected.txt: Removed.
* platform/gtk/svg/custom/use-symbol-overflow-expected.txt: Removed.
* platform/gtk/svg/custom/viewBox-hit-expected.txt: Removed.
* platform/gtk/svg/custom/viewport-clip-expected.txt: Removed.
* platform/gtk/svg/custom/viewport-no-width-height-expected.txt: Removed.
* platform/gtk/svg/custom/viewport-update-expected.txt: Removed.
* platform/gtk/svg/custom/viewport-update2-expected.txt: Removed.
* platform/gtk/svg/custom/visibility-override-clip-expected.txt: Removed.
* platform/gtk/svg/custom/visibility-override-expected.txt: Removed.
* platform/gtk/svg/custom/visibility-override-filter-expected.txt: Removed.
* platform/gtk/svg/custom/visibility-override-mask-expected.txt: Removed.
* platform/gtk/svg/custom/width-full-percentage-expected.txt: Removed.
* platform/gtk/svg/custom/xhtml-no-svg-renderer-expected.txt: Removed.
* platform/gtk/svg/custom/xml-stylesheet-expected.txt: Removed.
* platform/gtk/svg/filters/big-sized-filter-2-expected.txt: Removed.
* platform/gtk/svg/filters/big-sized-filter-expected.txt: Removed.
* platform/gtk/svg/filters/feImage-change-target-id-expected.txt: Removed.
* platform/gtk/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.txt: Removed.
* platform/gtk/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.txt: Removed.
* platform/gtk/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.txt: Removed.
* platform/gtk/svg/filters/feImage-remove-target-expected.txt: Removed.
* platform/gtk/svg/filters/feMerge-wrong-input-expected.txt: Removed.
* platform/gtk/svg/filters/filter-empty-g-expected.txt: Removed.
* platform/gtk/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt: Removed.
* platform/gtk/svg/foreignObject/fO-display-none-expected.txt: Removed.
* platform/gtk/svg/foreignObject/fO-display-none-with-relative-pos-content-expected.txt: Removed.
* platform/gtk/svg/foreignObject/fO-parent-display-none-expected.txt: Removed.
* platform/gtk/svg/foreignObject/fO-parent-display-none-with-relative-pos-content-expected.txt: Removed.
* platform/gtk/svg/foreignObject/fO-parent-of-parent-display-none-expected.txt: Removed.
* platform/gtk/svg/foreignObject/fO-parent-of-parent-display-none-with-relative-pos-content-expected.txt: Removed.
* platform/gtk/svg/hixie/cascade/001-broken-expected.txt: Removed.
* platform/gtk/svg/hixie/data-types/001-expected.txt: Removed.
* platform/gtk/svg/hixie/dynamic/003-expected.txt: Removed.
* platform/gtk/svg/hixie/dynamic/004-expected.txt: Removed.
* platform/gtk/svg/hixie/dynamic/005-expected.txt: Removed.
* platform/gtk/svg/hixie/dynamic/006-expected.txt: Removed.
* platform/gtk/svg/hixie/error/001-expected.txt: Removed.
* platform/gtk/svg/hixie/error/006-expected.txt: Removed.
* platform/gtk/svg/hixie/error/007-expected.txt: Removed.
* platform/gtk/svg/hixie/error/008-expected.txt: Removed.
* platform/gtk/svg/hixie/error/009-expected.txt: Removed.
* platform/gtk/svg/hixie/error/014-expected.txt: Removed.
* platform/gtk/svg/hixie/error/014-test-expected.txt: Removed.
* platform/gtk/svg/hixie/error/015-expected.txt: Removed.
* platform/gtk/svg/hixie/error/016-expected.txt: Removed.
* platform/gtk/svg/hixie/painting/001-expected.txt: Removed.
* platform/gtk/svg/hixie/processing-model/005-expected.txt: Removed.
* platform/gtk/svg/hixie/rendering-model/001-expected.txt: Removed.
* platform/gtk/svg/hixie/rendering-model/002-expected.txt: Removed.
* platform/gtk/svg/hixie/rendering-model/003a-expected.txt: Removed.
* platform/gtk/svg/hixie/text/001-expected.txt: Removed.
* platform/gtk/svg/hixie/transform/001-expected.txt: Removed.
* platform/gtk/svg/hixie/use/001-expected.txt: Removed.
* platform/gtk/svg/hixie/use/002-expected.txt: Removed.
* platform/gtk/svg/hixie/use/002-test-expected.txt: Removed.
* platform/gtk/svg/hixie/viewbox/001-expected.txt: Removed.
* platform/gtk/svg/hixie/viewbox/002-expected.txt: Removed.
* platform/gtk/svg/hixie/viewbox/003-expected.txt: Removed.
* platform/gtk/svg/hixie/viewbox/004-expected.txt: Removed.
* platform/gtk/svg/overflow/overflow-on-foreignObject-expected.txt: Removed.
* platform/gtk/svg/overflow/overflow-on-inner-svg-element-defaults-expected.txt: Removed.
* platform/gtk/svg/overflow/overflow-on-inner-svg-element-expected.txt: Removed.
* platform/gtk/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt: Removed.
* platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt: Removed.
* platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt: Removed.
* platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt: Removed.
* platform/gtk/svg/repaint/repainting-after-animation-element-removal-expected.txt: Removed.
* platform/gtk/svg/text/text-hkern-expected.txt: Removed.
* platform/gtk/svg/text/text-hkern-on-vertical-text-expected.txt: Removed.
* platform/gtk/svg/text/text-vkern-expected.txt: Removed.
* platform/gtk/svg/text/text-vkern-on-horizontal-text-expected.txt: Removed.
* platform/gtk/svg/text/textPathBoundsBug-expected.txt: Removed.
* platform/gtk/svg/zoom/page/absolute-sized-document-scrollbars-expected.txt: Removed.
* platform/gtk/svg/zoom/page/zoom-background-image-tiled-expected.txt: Removed.
* platform/gtk/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt: Removed.
* platform/gtk/svg/zoom/page/zoom-svg-as-image-expected.txt: Removed.
* platform/gtk/svg/zoom/page/zoom-svg-as-object-expected.txt: Removed.
* platform/gtk/svg/zoom/page/zoom-svg-as-relative-image-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157499 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove Mac-specific test expectations that were identical to generic expectations.
akling@apple.com [Wed, 16 Oct 2013 08:25:06 +0000 (08:25 +0000)]
Remove Mac-specific test expectations that were identical to generic expectations.
<https://webkit.org/b/121551>

Reviewed by Antti Koivisto.

* platform/mac-lion/css3/filters/composited-during-animation-layertree-expected.txt: Removed.
* platform/mac-lion/fast/canvas/canvas-scale-shadowBlur-expected.txt: Removed.
* platform/mac-lion/fast/canvas/canvas-scale-strokePath-shadow-expected.txt: Removed.
* platform/mac-lion/fast/canvas/canvas-strokePath-gradient-shadow-expected.txt: Removed.
* platform/mac-lion/fast/canvas/canvas-strokeRect-gradient-shadow-expected.txt: Removed.
* platform/mac-lion/http/tests/multipart/multipart-replace-non-html-content-expected.txt: Removed.
* platform/mac-lion/http/tests/multipart/policy-ignore-crash-expected.txt: Removed.
* platform/mac-lion/platform/mac/fast/loader/file-url-mimetypes-2-expected.txt: Removed.
* platform/mac-lion/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt: Removed.
* platform/mac-lion/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt: Removed.
* platform/mac-wk2/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Removed.
* platform/mac-wk2/http/tests/security/cross-origin-local-storage-wk1-expected.txt: Removed.
* platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: Removed.
* platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: Removed.
* platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157498 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove Windows-specific test expectations that were identical to generic expectations.
akling@apple.com [Wed, 16 Oct 2013 08:13:47 +0000 (08:13 +0000)]
Remove Windows-specific test expectations that were identical to generic expectations.
<https://webkit.org/b/121551>

Reviewed by Antti Koivisto.

* platform/win-7sp0/plugins/npp-set-window-called-during-destruction-expected.txt: Removed.
* platform/win-future/svg/batik/text/textPosition2-expected.txt: Removed.
* platform/win/css3/filters/effect-reference-expected.txt: Removed.
* platform/win/css3/filters/effect-reference-hw-expected.txt: Removed.
* platform/win/editing/deleting/delete-br-009-expected.txt: Removed.
* platform/win/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-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.
* platform/win/editing/selection/collapse-selection-in-bidi-expected.txt: Removed.
* platform/win/editing/selection/drag-text-delay-expected.txt: Removed.
* platform/win/editing/selection/extend-selection-home-end-expected.txt: Removed.
* platform/win/fast/block/positioning/016-expected.txt: Removed.
* platform/win/fast/block/positioning/025-expected.txt: Removed.
* platform/win/fast/block/positioning/fixed-position-stacking-context-expected.txt: Removed.
* platform/win/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Removed.
* platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Removed.
* platform/win/fast/canvas/canvas-render-layer-expected.txt: Removed.
* platform/win/fast/canvas/canvas-strokeRect-alpha-shadow-expected.txt: Removed.
* platform/win/fast/css/zoom-body-scroll-expected.txt: Removed.
* platform/win/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Removed.
* platform/win/fast/dom/icon-url-property-expected.txt: Removed.
* platform/win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
* platform/win/fast/events/event-attribute-expected.txt: Removed.
* platform/win/fast/events/ondragenter-expected.txt: Removed.
* platform/win/fast/forms/cursor-at-editable-content-boundary-expected.txt: Removed.
* platform/win/fast/forms/implicit-submission-expected.txt: Removed.
* platform/win/fast/forms/range/slider-mouse-events-expected.txt: Removed.
* platform/win/fast/forms/select-popup-pagekeys-expected.txt: Removed.
* platform/win/fast/images/crossfade-client-not-removed-crash-expected.txt: Removed.
* platform/win/fast/media/w3c/test_media_queries-expected.txt: Removed.
* platform/win/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Removed.
* platform/win/http/tests/inspector/resource-har-conversion-expected.txt: Removed.
* platform/win/http/tests/misc/acid3-expected.txt: Removed.
* platform/win/media/media-can-play-ogg-expected.txt: Removed.
* platform/win/media/media-can-play-wav-audio-expected.txt: Removed.
* platform/win/media/video-colorspace-yuv420-expected.txt: Removed.
* platform/win/media/video-colorspace-yuv422-expected.txt: Removed.
* platform/win/media/video-size-intrinsic-scale-expected.txt: Removed.
* platform/win/plugins/netscape-dom-access-and-reload-expected.txt: Removed.
* platform/win/plugins/npp-set-window-called-during-destruction-expected.txt: Removed.
* platform/win/svg/custom/pattern-scaling-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157497 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix the build after r157478.
mrowe@apple.com [Wed, 16 Oct 2013 07:32:42 +0000 (07:32 +0000)]
Fix the build after r157478.

Rubber-stamped by Tim Horton.

Due to the way WebCore.exp.in is used, it can't be used to export a differing set of symbols
for different architectures. We often work around this by tweaking code slightly to avoid
needing to export different symbols. However, in this case the symbol name itself encodes an
architecture-specific detail and there's no clear way to avoid the requirement to export it.

To deal with this case we turn to ld's support for wildcards in the symbol export list.

* WebCore.exp.in: Use wildcards in place of the number that represents by how much "this"
should be adjusted when calling through the vtable thunk. Also sort the remainder of the file.
* make-export-file-generator: Don't attempt to verify symbol names that contain wildcard characters.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157496 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed. Build fix after r157476.
jae.park@company100.net [Wed, 16 Oct 2013 06:56:04 +0000 (06:56 +0000)]
Unreviewed. Build fix after r157476.

* GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157495 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed EFL gardening. Rebaselining after r155253.
gyuyoung.kim@samsung.com [Wed, 16 Oct 2013 06:46:17 +0000 (06:46 +0000)]
Unreviewed EFL gardening. Rebaselining after r155253.

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2013-10-15

* platform/efl/fast/forms/formmove3-expected.txt:
* platform/efl/fast/forms/input-align-image-expected.txt:
* platform/efl/fast/forms/preserveFormDuringResidualStyle-expected.txt:
* platform/efl/fast/invalid/003-expected.txt:
* platform/efl/tables/mozilla/bugs/bug647-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed EFL gardening. Rebaselining after r155253.
jinwoo7.song@samsung.com [Wed, 16 Oct 2013 06:35:59 +0000 (06:35 +0000)]
Unreviewed EFL gardening. Rebaselining after r155253.

* platform/efl/fast/forms/formmove3-expected.txt:
* platform/efl/fast/forms/input-align-image-expected.txt:
* platform/efl/fast/forms/preserveFormDuringResidualStyle-expected.txt:
* platform/efl/fast/invalid/003-expected.txt:
* platform/efl/tables/mozilla/bugs/bug647-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157493 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed EFL gardening. Rebaselining after r155324.
jinwoo7.song@samsung.com [Wed, 16 Oct 2013 06:17:58 +0000 (06:17 +0000)]
Unreviewed EFL gardening. Rebaselining after r155324.

* platform/efl/fast/forms/placeholder-position-expected.png:
* platform/efl/fast/forms/placeholder-position-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoTwo more exports for 32-bit build fix.
timothy_horton@apple.com [Wed, 16 Oct 2013 04:44:40 +0000 (04:44 +0000)]
Two more exports for 32-bit build fix.
The duality of CGFloat means that we use a different
version of getRGBA (and the cast operator)
on 32-bit systems.

* WebCore.exp.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157491 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL][WK2] Make SeccompFilters build again after r156349 and r156353
commit-queue@webkit.org [Wed, 16 Oct 2013 04:36:24 +0000 (04:36 +0000)]
[EFL][WK2] Make SeccompFilters build again after r156349 and r156353
https://bugs.webkit.org/show_bug.cgi?id=122872

Patch by Sergio Correia <sergio.correia@openbossa.org> on 2013-10-15
Reviewed by Anders Carlsson.

Source/WebKit2:

* Shared/linux/SeccompFilters/SeccompBroker.cpp:
(WebKit::SeccompBrokerClient::dispatch): Fix usage of extinct 'create'
methods of ArgumentEncoder/ArgumentDecoder.
(WebKit::SeccompBroker::runLoop): Ditto.

Tools:

* TestWebKitAPI/PlatformEfl.cmake: Mark SeccompFilters API test as
failing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157490 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoGet rid of the StructureStubInfo::patch union
fpizlo@apple.com [Wed, 16 Oct 2013 04:32:50 +0000 (04:32 +0000)]
Get rid of the StructureStubInfo::patch union
https://bugs.webkit.org/show_bug.cgi?id=122877

Reviewed by Sam Weinig.

Just simplifying code by getting rid of data structures that ain't used no more.

Note that I replace the patch union with a patch struct. This means we say things like
stubInfo.patch.valueGPR instead of stubInfo.valueGPR. I think that this extra
encapsulation makes the code more readable: the patch struct contains just those things
that you need to know to perform patching.

* bytecode/StructureStubInfo.h:
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::link):
* jit/JIT.cpp:
(JSC::PropertyStubCompilationInfo::copyToStubInfo):
* jit/Repatch.cpp:
(JSC::repatchByIdSelfAccess):
(JSC::replaceWithJump):
(JSC::linkRestoreScratch):
(JSC::generateProtoChainAccessStub):
(JSC::tryCacheGetByID):
(JSC::getPolymorphicStructureList):
(JSC::patchJumpToGetByIdStub):
(JSC::tryBuildGetByIDList):
(JSC::emitPutReplaceStub):
(JSC::emitPutTransitionStub):
(JSC::tryCachePutByID):
(JSC::tryBuildPutByIdList):
(JSC::tryRepatchIn):
(JSC::resetGetByID):
(JSC::resetPutByID):
(JSC::resetIn):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157489 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, EFL gardening.
gyuyoung.kim@samsung.com [Wed, 16 Oct 2013 04:30:04 +0000 (04:30 +0000)]
Unreviewed, EFL gardening.

* platform/efl/TestExpectations: svg/filters/filter-hidden-content.svg is passed after r142955.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157488 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAnother shot at a build fix; apparently these
timothy_horton@apple.com [Wed, 16 Oct 2013 04:27:13 +0000 (04:27 +0000)]
Another shot at a build fix; apparently these
do need exporting for some reason, but are different
on 32-bit.

* WebCore.exp.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoGenerateIsReachable=ImplContext is confusing
ap@apple.com [Wed, 16 Oct 2013 04:21:39 +0000 (04:21 +0000)]
GenerateIsReachable=ImplContext is confusing
https://bugs.webkit.org/show_bug.cgi?id=122864

Reviewed by Geoffrey Garen.

Renamed to ImplWebGLRenderingContext.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* bindings/scripts/IDLAttributes.txt:
* html/canvas/EXTDrawBuffers.idl:
* html/canvas/EXTTextureFilterAnisotropic.idl:
* html/canvas/OESElementIndexUint.idl:
* html/canvas/OESStandardDerivatives.idl:
* html/canvas/OESTextureFloat.idl:
* html/canvas/OESTextureHalfFloat.idl:
* html/canvas/OESVertexArrayObject.idl:
* html/canvas/WebGLCompressedTextureATC.idl:
* html/canvas/WebGLCompressedTexturePVRTC.idl:
* html/canvas/WebGLCompressedTextureS3TC.idl:
* html/canvas/WebGLDebugRendererInfo.idl:
* html/canvas/WebGLDebugShaders.idl:
* html/canvas/WebGLDepthTexture.idl:
* html/canvas/WebGLLoseContext.idl:

* WebCore.xcodeproj/project.pbxproj: While at it, added OESElementIndexUint.idl
to Xcode project.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed EFL gardening. Rebaselining after r155408.
jinwoo7.song@samsung.com [Wed, 16 Oct 2013 04:13:06 +0000 (04:13 +0000)]
Unreviewed EFL gardening. Rebaselining after r155408.

* platform/efl/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/efl/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/efl/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
* platform/efl/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/efl/fast/forms/textarea-placeholder-visibility-2-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157485 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemoved argument coders for FloatPoint3D in CoodinatedGraphicsArgumentCoders.
jinwoo7.song@samsung.com [Wed, 16 Oct 2013 04:08:07 +0000 (04:08 +0000)]
Removed argument coders for FloatPoint3D in CoodinatedGraphicsArgumentCoders.
https://bugs.webkit.org/show_bug.cgi?id=122875

Reviewed by Gyuyoung Kim.

Argument coders for FloatPoint3D is added in WebCoreArgumentCoders after r157478
and it caused redefinition build error in EFL port.

* Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
* Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed build fix; I don't know how to export.
timothy_horton@apple.com [Wed, 16 Oct 2013 04:05:27 +0000 (04:05 +0000)]
Unreviewed build fix; I don't know how to export.
This may not help.

* WebCore.exp.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157483 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFTL: add support for Int52ToValue and fix putByVal of int52s.
commit-queue@webkit.org [Wed, 16 Oct 2013 03:59:12 +0000 (03:59 +0000)]
FTL: add support for Int52ToValue and fix putByVal of int52s.
https://bugs.webkit.org/show_bug.cgi?id=122873

Patch by Nadav Rotem <nrotem@apple.com> on 2013-10-15
Reviewed by Filip Pizlo.

* ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileInt52ToValue):
(JSC::FTL::LowerDFGToLLVM::compilePutByVal):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157482 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoGet rid of the UNINTERRUPTED_SEQUENCE thing
fpizlo@apple.com [Wed, 16 Oct 2013 03:10:46 +0000 (03:10 +0000)]
Get rid of the UNINTERRUPTED_SEQUENCE thing
https://bugs.webkit.org/show_bug.cgi?id=122876

Reviewed by Mark Hahnenberg.

It doesn't make sense anymore. We now use the DFG's IC logic, which never needed that.

Moreover, we should resist the temptation to bring anything like this back. We don't
want to have inline caches that only work if the assembler lays out code in a specific
predetermined way.

* jit/JIT.h:
* jit/JITCall.cpp:
(JSC::JIT::compileOpCall):
* jit/JITCall32_64.cpp:
(JSC::JIT::compileOpCall):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoBaseline JIT should use the DFG GetById IC
fpizlo@apple.com [Wed, 16 Oct 2013 02:19:20 +0000 (02:19 +0000)]
Baseline JIT should use the DFG GetById IC
https://bugs.webkit.org/show_bug.cgi?id=122861

Reviewed by Oliver Hunt.

This mostly just kills a ton of code.

Note that this doesn't yet do all of the simplifications that can be done, but it does
kill dead code. I'll have another change to simplify StructureStubInfo's unions and such.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::resetStubInternal):
* jit/JIT.cpp:
(JSC::PropertyStubCompilationInfo::copyToStubInfo):
* jit/JIT.h:
(JSC::PropertyStubCompilationInfo::PropertyStubCompilationInfo):
* jit/JITInlines.h:
(JSC::JIT::appendCallWithExceptionCheckSetJSValueResultWithProfile):
(JSC::JIT::callOperation):
* jit/JITPropertyAccess.cpp:
(JSC::JIT::compileGetByIdHotPath):
(JSC::JIT::emitSlow_op_get_by_id):
(JSC::JIT::emitSlow_op_get_from_scope):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::compileGetByIdHotPath):
(JSC::JIT::emitSlow_op_get_by_id):
(JSC::JIT::emitSlow_op_get_from_scope):
* jit/JITStubs.cpp:
* jit/JITStubs.h:
* jit/Repatch.cpp:
(JSC::repatchGetByID):
(JSC::buildGetByIDList):
* jit/ThunkGenerators.cpp:
* jit/ThunkGenerators.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157480 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd ENABLE_WEB_ANIMATIONS flag
dino@apple.com [Wed, 16 Oct 2013 00:34:53 +0000 (00:34 +0000)]
Add ENABLE_WEB_ANIMATIONS flag
https://bugs.webkit.org/show_bug.cgi?id=122871

Reviewed by Tim Horton.

Eventually might be http://dev.w3.org/fxtf/web-animations/
but this is just engine-internal work at the moment.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* Scripts/webkitperl/FeatureList.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd a PlatformCALayer subclass that proxies its property changes across the process...
timothy_horton@apple.com [Wed, 16 Oct 2013 00:20:32 +0000 (00:20 +0000)]
Add a PlatformCALayer subclass that proxies its property changes across the process boundary
https://bugs.webkit.org/show_bug.cgi?id=122773

Reviewed by Anders Carlsson.

PlatformCALayerRemote coordinates with RemoteLayerTreeDrawingArea and friends
to enable cross-process proxying of the hierarchy of compositing layers.

In the Web process, we have GraphicsLayerCARemote, which owns 1+ PlatformCALayerRemote(s).
Unlike PlatformCALayer{Mac, Win}, which own PlatformLayers (CALayer/CACFLayer),
PlatformCALayerRemote stores any changes to its properties in a struct, and keeps track of
which properties have changed since the last commit. Commits are scheduled and performed by
RemoteLayerTreeContext, on RemoteLayerTreeDrawingArea's behalf, and result in
RemoteLayerTreeTransaction encoding said property changes and throwing them across
to the UI process, where RemoteLayerTreeHost applies them to a tree of CALayers kept there.

This code can be enabled by running with the WK_USE_REMOTE_LAYER_TREE_DRAWING_AREA
environment variable set.

No new tests, the new drawing area is not yet testable.

* Shared/WebCoreArgumentCoders.cpp:
(CoreIPC::decode):
(CoreIPC::encode):
* Shared/WebCoreArgumentCoders.h:
Add argument coders for FloatPoint3D.

* Shared/mac/RemoteLayerTreeTransaction.h:
(WebKit::RemoteLayerTreeTransaction::LayerProperties::notePropertiesChanged):
(WebKit::RemoteLayerTreeTransaction::changedLayers):
(WebKit::RemoteLayerTreeTransaction::destroyedLayers):
* Shared/mac/RemoteLayerTreeTransaction.mm:
(WebKit::RemoteLayerTreeTransaction::LayerProperties::encode):
(WebKit::RemoteLayerTreeTransaction::LayerProperties::decode):
(WebKit::RemoteLayerTreeTransaction::decode):
(WebKit::dumpChangedLayers):
Add support for background color and anchor point in the layer transaction.
Make layer position a 3D point because that's what it really is.

(WebKit::RemoteLayerTreeTransaction::layerPropertiesChanged):
The logic in layerPropertiesChanged is moved into PlatformCALayerRemote.

* UIProcess/WebPageProxy.h:
Include PlatformLayer.h; it seems annoying to successfully forward-declare
PlatformLayer because of the difference in definition between Objective-C and C++.
Drive-by un-indent some namespace contents and use OBJC_CLASS.

* UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.h:
* UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::RemoteLayerTreeDrawingAreaProxy):
(WebKit::RemoteLayerTreeDrawingAreaProxy::sizeDidChange):
(WebKit::RemoteLayerTreeDrawingAreaProxy::didUpdateGeometry):
(WebKit::RemoteLayerTreeDrawingAreaProxy::sendUpdateGeometry):
Send geometry updates to the RemoteLayerTreeDrawingArea.

* UIProcess/mac/RemoteLayerTreeHost.h:
* UIProcess/mac/RemoteLayerTreeHost.mm:
(nullActionsDictionary):
(WebKit::RemoteLayerTreeHost::commit):
Apply layer property changes to the named sublayer.

(WebKit::RemoteLayerTreeHost::getOrCreateLayer):
Create CALayers instead of GraphicsLayers.
Ensure that they won't perform implicit animations.

* UIProcess/mac/WebPageProxyMac.mm:
(WebKit::WebPageProxy::setAcceleratedCompositingRootLayer):
This should take a PlatformLayer instead of a GraphicsLayer, since we don't have
GraphicsLayers in the UIProcess.

* WebKit2.xcodeproj/project.pbxproj:
Add GraphicsLayerCARemote and PlatformCALayerRemote, remove RemoteGraphicsLayer.

* WebProcess/WebPage/mac/RemoteGraphicsLayer.h: Removed.
* WebProcess/WebPage/mac/RemoteGraphicsLayer.mm: Removed.

* WebProcess/WebPage/mac/RemoteLayerTreeContext.h:
* WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:
(WebKit::RemoteLayerTreeContext::RemoteLayerTreeContext):
(WebKit::RemoteLayerTreeContext::setRootLayer):
(WebKit::RemoteLayerTreeContext::layerWillBeDestroyed):
(WebKit::RemoteLayerTreeContext::createGraphicsLayer):
(WebKit::RemoteLayerTreeContext::flushLayers):
Build our transaction while flushing; it has no reason to exist outside of that scope.

* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
(WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea):
(WebKit::RemoteLayerTreeDrawingArea::graphicsLayerFactory):
(WebKit::RemoteLayerTreeDrawingArea::setRootCompositingLayer):
(WebKit::RemoteLayerTreeDrawingArea::scheduleCompositingLayerFlush):
(WebKit::RemoteLayerTreeDrawingArea::updateGeometry):
Fix a capitalization typo.
Update the WebPage's (and thus WebCore's) size when updateGeometry() is called.

* WebProcess/WebPage/mac/GraphicsLayerCARemote.cpp: Added.
(WebKit::GraphicsLayerCARemote::~GraphicsLayerCARemote):
(WebKit::GraphicsLayerCARemote::filtersCanBeComposited):
(WebKit::GraphicsLayerCARemote::createPlatformCALayer):
Added. Delegate to PlatformCALayerRemote. Don't allow creation of a
GraphicsLayerCARemote given a PlatformLayer, because with UI process compositing,
there should be no PlatformLayer instances in the Web process.

* WebProcess/WebPage/mac/GraphicsLayerCARemote.h: Added.
* WebProcess/WebPage/mac/PlatformCALayerRemote.cpp: Added.
(generateLayerID):
Generate a layer ID for identification across processes.

(PlatformCALayerRemote::~PlatformCALayerRemote):
Inform the RemoteLayerTreeContext that we've been destroyed, so it can convey
that information to the UI process and the corresponding CALayer can be destroyed.

(PlatformCALayerRemote::recursiveBuildTransaction):
Recursively accumulate changes in layer state on a RemoteLayerTreeTransaction.

The rest of this file is mostly an empty implementation of PlatformCALayer.
A few properties are implemented so far; see below.

(PlatformCALayerRemote::setSublayers):
(PlatformCALayerRemote::removeAllSublayers):
(PlatformCALayerRemote::appendSublayer):
(PlatformCALayerRemote::insertSublayer):
Update our list of sublayers, and note that our children have changed.
recursiveBuildTransaction() will walk our sublayers and record their IDs in the transaction.

(PlatformCALayerRemote::bounds):
(PlatformCALayerRemote::setBounds):
(PlatformCALayerRemote::position):
(PlatformCALayerRemote::setPosition):
(PlatformCALayerRemote::anchorPoint):
(PlatformCALayerRemote::setAnchorPoint):
(PlatformCALayerRemote::backgroundColor):
(PlatformCALayerRemote::setBackgroundColor):
Trivial implementations of basic layer properties, storing the new state in
our LayerProperties struct and noting that they changed in the current commit.
Properties with getters will return the last value that was set on the LayerProperties,
so we don't clear the whole struct at the end of the transaction, just the mask of changed properties.

* WebProcess/WebPage/mac/PlatformCALayerRemote.h: Added.

* WebCore.exp.in:
Export lots of GraphicsLayerCA stuff so we can inherit from it in WebKit2.

* WebCore.xcodeproj/project.pbxproj:
Make PlatformCAFilters.h a private header.

* platform/graphics/GraphicsLayer.h:
(WebCore::GraphicsLayer::initialize):
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayer::create):
(WebCore::GraphicsLayerCA::GraphicsLayerCA):
(WebCore::GraphicsLayerCA::initialize):
* platform/graphics/ca/GraphicsLayerCA.h:
Defer creation of the main PlatformCALayer until just after the constructor is finished
so that GraphicsLayerCA subclasses can successfully override createPlatformCALayer.

* platform/graphics/ca/PlatformCALayer.h:
(WebCore::PlatformCALayer::platformLayer):
Make platformLayer virtual so that subclasses which don't have PlatformLayers can override.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Windows] Unreviewed gardening of some forms tests.
roger_fong@apple.com [Tue, 15 Oct 2013 23:56:20 +0000 (23:56 +0000)]
[Windows] Unreviewed gardening of some forms tests.

* platform/win/fast/forms/search-styled-expected.txt: Added.
* platform/win/fast/forms/select-writing-direction-natural-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMove WebProcess/IndexedDB to WebProcess/Databases/IndexedDB
beidson@apple.com [Tue, 15 Oct 2013 22:40:20 +0000 (22:40 +0000)]
Move WebProcess/IndexedDB to WebProcess/Databases/IndexedDB

Rubberstamped by Alexey Proskuryakov.

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebKit2.xcodeproj/project.pbxproj:

* WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp: Renamed from Source/WebKit2/WebProcess/IndexedDB/WebIDBFactoryBackend.cpp.
* WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h: Renamed from Source/WebKit2/WebProcess/IndexedDB/WebIDBFactoryBackend.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157476 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[sh4] Some calls don't match sh4 ABI.
commit-queue@webkit.org [Tue, 15 Oct 2013 22:23:49 +0000 (22:23 +0000)]
[sh4] Some calls don't match sh4 ABI.
https://bugs.webkit.org/show_bug.cgi?id=122863

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-15
Reviewed by Michael Saboff.

* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
* jit/CCallHelpers.h:
(JSC::CCallHelpers::setupArgumentsWithExecState):
* jit/JITInlines.h:
(JSC::JIT::callOperation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[iOS] Upstream JavaScriptCore support for ARM64
dbates@webkit.org [Tue, 15 Oct 2013 22:16:39 +0000 (22:16 +0000)]
[iOS] Upstream JavaScriptCore support for ARM64
https://bugs.webkit.org/show_bug.cgi?id=122762

Source/JavaScriptCore:

Reviewed by Oliver Hunt and Filip Pizlo.

* Configurations/Base.xcconfig:
* Configurations/DebugRelease.xcconfig:
* Configurations/JavaScriptCore.xcconfig:
* Configurations/ToolExecutable.xcconfig:
* JavaScriptCore.xcodeproj/project.pbxproj:
* assembler/ARM64Assembler.h: Added.
* assembler/AbstractMacroAssembler.h:
(JSC::isARM64):
(JSC::AbstractMacroAssembler::Label::Label):
(JSC::AbstractMacroAssembler::Jump::Jump):
(JSC::AbstractMacroAssembler::Jump::link):
(JSC::AbstractMacroAssembler::Jump::linkTo):
(JSC::AbstractMacroAssembler::CachedTempRegister::CachedTempRegister):
(JSC::AbstractMacroAssembler::CachedTempRegister::registerIDInvalidate):
(JSC::AbstractMacroAssembler::CachedTempRegister::registerIDNoInvalidate):
(JSC::AbstractMacroAssembler::CachedTempRegister::value):
(JSC::AbstractMacroAssembler::CachedTempRegister::setValue):
(JSC::AbstractMacroAssembler::CachedTempRegister::invalidate):
(JSC::AbstractMacroAssembler::invalidateAllTempRegisters):
(JSC::AbstractMacroAssembler::isTempRegisterValid):
(JSC::AbstractMacroAssembler::clearTempRegisterValid):
(JSC::AbstractMacroAssembler::setTempRegisterValid):
* assembler/LinkBuffer.cpp:
(JSC::LinkBuffer::copyCompactAndLinkCode):
(JSC::LinkBuffer::linkCode):
* assembler/LinkBuffer.h:
* assembler/MacroAssembler.h:
(JSC::MacroAssembler::isPtrAlignedAddressOffset):
(JSC::MacroAssembler::pushToSave):
(JSC::MacroAssembler::popToRestore):
(JSC::MacroAssembler::patchableBranchTest32):
* assembler/MacroAssemblerARM64.h: Added.
* assembler/MacroAssemblerARMv7.h:
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
* dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileArithDiv):
(JSC::DFG::SpeculativeJIT::compileArithMod):
* disassembler/ARM64/A64DOpcode.cpp: Added.
* disassembler/ARM64/A64DOpcode.h: Added.
* disassembler/ARM64Disassembler.cpp: Added.
* heap/MachineStackMarker.cpp:
(JSC::getPlatformThreadRegisters):
(JSC::otherThreadStackPointer):
* heap/Region.h:
* jit/AssemblyHelpers.h:
(JSC::AssemblyHelpers::debugCall):
* jit/CCallHelpers.h:
* jit/ExecutableAllocator.h:
* jit/FPRInfo.h:
(JSC::FPRInfo::toRegister):
(JSC::FPRInfo::toIndex):
(JSC::FPRInfo::debugName):
* jit/GPRInfo.h:
(JSC::GPRInfo::toRegister):
(JSC::GPRInfo::toIndex):
(JSC::GPRInfo::debugName):
* jit/JITInlines.h:
(JSC::JIT::restoreArgumentReferenceForTrampoline):
* jit/JITOperationWrappers.h:
* jit/JITOperations.cpp:
* jit/JITStubs.cpp:
(JSC::performPlatformSpecificJITAssertions):
(JSC::tryCachePutByID):
* jit/JITStubs.h:
(JSC::JITStackFrame::returnAddressSlot):
* jit/JITStubsARM64.h: Added.
* jit/JSInterfaceJIT.h:
* jit/Repatch.cpp:
(JSC::emitRestoreScratch):
(JSC::generateProtoChainAccessStub):
(JSC::tryCacheGetByID):
(JSC::emitPutReplaceStub):
(JSC::tryCachePutByID):
(JSC::tryRepatchIn):
* jit/ScratchRegisterAllocator.h:
(JSC::ScratchRegisterAllocator::preserveReusedRegistersByPushing):
(JSC::ScratchRegisterAllocator::restoreReusedRegistersByPopping):
* jit/ThunkGenerators.cpp:
(JSC::nativeForGenerator):
(JSC::floorThunkGenerator):
(JSC::ceilThunkGenerator):
* jsc.cpp:
(main):
* llint/LLIntOfflineAsmConfig.h:
* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::handleHostCall):
* llint/LowLevelInterpreter.asm:
* llint/LowLevelInterpreter64.asm:
* offlineasm/arm.rb:
* offlineasm/arm64.rb: Added.
* offlineasm/backends.rb:
* offlineasm/instructions.rb:
* offlineasm/risc.rb:
* offlineasm/transform.rb:
* yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::alignCallFrameSizeInBytes):
(JSC::Yarr::YarrGenerator::initCallFrame):
(JSC::Yarr::YarrGenerator::removeCallFrame):
(JSC::Yarr::YarrGenerator::generateEnter):
* yarr/YarrJIT.h:

Source/WTF:

Reviewed by Oliver Hunt.

* Configurations/Base.xcconfig:
* wtf/Atomics.h:
(WTF::weakCompareAndSwap):
(WTF::armV7_dmb):
* wtf/FastMalloc.cpp:
* wtf/Platform.h:
* wtf/dtoa.cpp:
* wtf/dtoa/utils.h:
* wtf/text/ASCIIFastPath.h:
(WTF::copyLCharsFromUCharSource):
* wtf/text/StringImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157474 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix 3 operand sub operation in C loop LLINT.
mark.lam@apple.com [Tue, 15 Oct 2013 22:05:02 +0000 (22:05 +0000)]
Fix 3 operand sub operation in C loop LLINT.
https://bugs.webkit.org/show_bug.cgi?id=122866.

Reviewed by Geoffrey Garen.

* offlineasm/cloop.rb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION: Crash in XMLDocumentParser::startElementNs
rniwa@webkit.org [Tue, 15 Oct 2013 21:13:31 +0000 (21:13 +0000)]
REGRESSION: Crash in XMLDocumentParser::startElementNs
https://bugs.webkit.org/show_bug.cgi?id=122817

Reviewed by Darin Adler.

Source/WebCore:

Exit early in startElementNs when listeners and handlers of synchronous events such as load event
removes the inserted node inside parserAppendChild.

Test: fast/parser/xhtml-synchronous-detach-crash.html

* xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::startElementNs):

LayoutTests:

Add a regression test from https://chromium.googlesource.com/chromium/blink/+/57afab5d21cccd89f032b9a3e62f3a61c6a0e9c2

* fast/parser/resources/remove-parent.xhtml: Added.
* fast/parser/xhtml-synchronous-detach-crash-expected.txt: Added.
* fast/parser/xhtml-synchronous-detach-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157470 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd a skeleton Database process for future usage by Indexed Database.
beidson@apple.com [Tue, 15 Oct 2013 21:11:47 +0000 (21:11 +0000)]
Add a skeleton Database process for future usage by Indexed Database.
https://bugs.webkit.org/show_bug.cgi?id=122849

Reviewed by Sam Weinig.

This mostly our typical "Add a new process type" boilerplate.

* Configurations/DatabaseProcess.xcconfig: Added.
* Configurations/DatabaseService.Development.xcconfig: Added.
* Configurations/DatabaseService.xcconfig: Added.
* WebKit2.xcodeproj/project.pbxproj:
* WebKit2Prefix.h:

* DatabaseProcess/DatabaseProcess.cpp: Added.
(WebKit::DatabaseProcess::shared):
(WebKit::DatabaseProcess::DatabaseProcess):
(WebKit::DatabaseProcess::~DatabaseProcess):
(WebKit::DatabaseProcess::initializeConnection):
(WebKit::DatabaseProcess::shouldTerminate):
(WebKit::DatabaseProcess::didReceiveMessage):
(WebKit::DatabaseProcess::didClose):
(WebKit::DatabaseProcess::didReceiveInvalidMessage):
(WebKit::DatabaseProcess::initializeProcess):
(WebKit::DatabaseProcess::initializeProcessName):
(WebKit::DatabaseProcess::initializeSandbox):
* DatabaseProcess/DatabaseProcess.h: Added.

* DatabaseProcess/EntryPoint/mac/LegacyProcess/DatabaseProcessMain.mm: Added.
(DatabaseProcessMain):
* DatabaseProcess/EntryPoint/mac/LegacyProcess/Info.plist: Added.
* DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService.Development/Info.plist: Added.
* DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService/Info.plist: Added.
* DatabaseProcess/EntryPoint/mac/XPCService/DatabaseServiceEntryPoint.mm: Added.
(DatabaseServiceInitializer):

* DatabaseProcess/mac/DatabaseProcessMac.mm: Added.
(WebKit::DatabaseProcess::initializeProcess):
(WebKit::DatabaseProcess::initializeProcessName):
(WebKit::DatabaseProcess::initializeSandbox):
* UIProcess/Databases/DatabaseProcessProxy.cpp: Added.
(WebKit::DatabaseProcessProxy::create):
(WebKit::DatabaseProcessProxy::DatabaseProcessProxy):
(WebKit::DatabaseProcessProxy::~DatabaseProcessProxy):
(WebKit::DatabaseProcessProxy::getLaunchOptions):
(WebKit::DatabaseProcessProxy::connectionWillOpen):
(WebKit::DatabaseProcessProxy::connectionWillClose):
(WebKit::DatabaseProcessProxy::didReceiveMessage):
(WebKit::DatabaseProcessProxy::didClose):
(WebKit::DatabaseProcessProxy::didReceiveInvalidMessage):
(WebKit::DatabaseProcessProxy::didFinishLaunching):
* UIProcess/Databases/DatabaseProcessProxy.h: Added.
* UIProcess/Databases/mac/DatabaseProcessProxyMac.mm: Added.
(WebKit::shouldUseXPC):
(WebKit::DatabaseProcessProxy::platformGetLaunchOptions):

* UIProcess/Launcher/ProcessLauncher.cpp:
(WebKit::ProcessLauncher::processTypeAsString):
(WebKit::ProcessLauncher::getProcessTypeFromString):
* UIProcess/Launcher/ProcessLauncher.h:
* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::serviceName):
(WebKit::createProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157469 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoObjCCallbackFunctionImpl shouldn't store a JSContext
mhahnenberg@apple.com [Tue, 15 Oct 2013 21:08:07 +0000 (21:08 +0000)]
ObjCCallbackFunctionImpl shouldn't store a JSContext
https://bugs.webkit.org/show_bug.cgi?id=122531

Reviewed by Geoffrey Garen.

The m_context field in ObjCCallbackFunctionImpl is vestigial and is only incidentally correct
in the common case. It's also no longer necessary in that we can look up the current JSContext
by looking using the globalObject of the callee when the function callback is invoked.

Also added a new test that would cause us to crash previously. The test required making
JSContextGetGlobalContext public API so that clients can obtain a JSContext from the JSContextRef
in C API callbacks.

* API/JSContextRef.h:
* API/JSContextRefPrivate.h:
* API/ObjCCallbackFunction.mm:
(JSC::ObjCCallbackFunctionImpl::ObjCCallbackFunctionImpl):
(JSC::objCCallbackFunctionCallAsFunction):
(objCCallbackFunctionForInvocation):
* API/WebKitAvailability.h:
* API/tests/CurrentThisInsideBlockGetterTest.h: Added.
* API/tests/CurrentThisInsideBlockGetterTest.mm: Added.
(CallAsConstructor):
(ConstructorFinalize):
(ConstructorClass):
(+[JSValue valueWithConstructorDescriptor:inContext:]):
(-[JSContext valueWithConstructorDescriptor:]):
(currentThisInsideBlockGetterTest):
* API/tests/testapi.mm:
* JavaScriptCore.xcodeproj/project.pbxproj:
* debugger/Debugger.cpp: Had to add some fully qualified names to avoid conflicts with Mac OS X headers.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157468 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix build after r157457 for architecture with 4 argument registers.
commit-queue@webkit.org [Tue, 15 Oct 2013 21:03:57 +0000 (21:03 +0000)]
Fix build after r157457 for architecture with 4 argument registers.
https://bugs.webkit.org/show_bug.cgi?id=122860

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-15
Reviewed by Michael Saboff.

* jit/CCallHelpers.h:
(JSC::CCallHelpers::setupStubArguments134):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157467 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Remove old frontend localizedStrings.js
commit-queue@webkit.org [Tue, 15 Oct 2013 20:47:23 +0000 (20:47 +0000)]
Web Inspector: Remove old frontend localizedStrings.js
https://bugs.webkit.org/show_bug.cgi?id=122846

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-10-15
Reviewed by Timothy Hatcher.

* Configurations/WebCore.xcconfig:
* English.lproj/localizedStrings.js: Removed.
* WebCore.xcodeproj/project.pbxproj:
Remove the file and references to it. We no longer need to exclude
localizedString.js from some builds.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: Remove Windows old front-end related code
commit-queue@webkit.org [Tue, 15 Oct 2013 20:41:23 +0000 (20:41 +0000)]
Web Inspector: Remove Windows old front-end related code
https://bugs.webkit.org/show_bug.cgi?id=122845

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-10-15
Reviewed by Brent Fulgham.

Source/WebCore:

* WebCore.vcxproj/copyWebCoreResourceFiles.cmd:

Source/WebKit/win:

* WebCoreSupport/WebInspectorClient.cpp:
(WebInspectorClient::openInspectorFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157465 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoExpose -[WebPluginPackage bundle] as SPI
aestes@apple.com [Tue, 15 Oct 2013 20:28:49 +0000 (20:28 +0000)]
Expose -[WebPluginPackage bundle] as SPI
https://bugs.webkit.org/show_bug.cgi?id=122814

Reviewed by Anders Carlsson.

Source/WebKit:

* WebKit.xcodeproj/project.pbxproj: Added WebPluginPackagePrivate.h.

Source/WebKit/mac:

* Plugins/WebPluginPackage.mm:
(-[WebPluginPackage bundle]): Defined.
* Plugins/WebPluginPackagePrivate.h: Declared bundle as a method in a
category on NSObject.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157464 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, rolling out r157460.
commit-queue@webkit.org [Tue, 15 Oct 2013 20:20:06 +0000 (20:20 +0000)]
Unreviewed, rolling out r157460.
http://trac.webkit.org/changeset/157460
https://bugs.webkit.org/show_bug.cgi?id=122858

Mis-skip, test isn't actually failing. (Requested by rfong on
#webkit).

* platform/wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157461 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed gardening. Skip unexpected flakey test: webaudio/oscillator-sawtooth.html.
roger_fong@apple.com [Tue, 15 Oct 2013 20:10:46 +0000 (20:10 +0000)]
Unreviewed gardening. Skip unexpected flakey test: webaudio/oscillator-sawtooth.html.

* platform/wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157460 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: can't select text inside a text node
graouts@apple.com [Tue, 15 Oct 2013 19:40:50 +0000 (19:40 +0000)]
Web Inspector: can't select text inside a text node
https://bugs.webkit.org/show_bug.cgi?id=122828

Reviewed by Timothy Hatcher.

Cancel the default user interaction when a drag action starts if the
element is being edited.

* UserInterface/DOMTreeElement.js:
(WebInspector.DOMTreeElement.prototype.onattach):
(WebInspector.DOMTreeElement.prototype.handleEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157459 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd support for the column-fill property
commit-queue@webkit.org [Tue, 15 Oct 2013 18:45:29 +0000 (18:45 +0000)]
Add support for the column-fill property
https://bugs.webkit.org/show_bug.cgi?id=117693

Patch by Morten Stenshorne <mstensho@opera.com> on 2013-10-15
Reviewed by David Hyatt.

Source/WebCore:

This is only supported in the (new) region based multicol implementation.

With column-fill support, a lot of multicol tests needed an update.
The old implementation behaved as if column-fill were 'auto', but the
initial value is 'balance', so now we need to be explicit about that.
For auto-height tests it doesn't really matter - such multicols are always
balanced anyway.

Tests: fast/multicol/newmulticol/fixed-height-fill-auto.html
       fast/multicol/newmulticol/fixed-height-fill-balance.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
(WebCore::isKeywordPropertyID):
(WebCore::CSSParser::parseValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator ColumnFill):
* css/CSSPropertyNames.in:
* css/CSSValueKeywords.in:
* css/DeprecatedStyleBuilder.cpp:
(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
* rendering/RenderMultiColumnBlock.h:
* rendering/style/RenderStyle.h:
* rendering/style/RenderStyleConstants.h:
* rendering/style/StyleMultiColData.cpp:
(WebCore::StyleMultiColData::StyleMultiColData):
(WebCore::StyleMultiColData::operator==):
* rendering/style/StyleMultiColData.h:

LayoutTests:

With column-fill support, a lot of multicol tests needed an update.
The old implementation behaved as if column-fill were 'auto', but the
initial value is 'balance', so now we need to be explicit about that.
For auto-height tests it doesn't really matter - such multicols are always
balanced anyway.

* compositing/geometry/composited-in-columns.html:
* fast/block/positioning/offsetLeft-offsetTop-multicolumn-expected.html:
* fast/block/positioning/offsetLeft-offsetTop-multicolumn.html:
* fast/borders/border-antialiasing.html:
* fast/dynamic/float-moved-downwards-for-pagination-expected.html:
* fast/dynamic/float-moved-downwards-for-pagination.html:
* fast/dynamic/layer-no-longer-paginated.html:
* fast/events/document-elementFromPoint.html:
* fast/line-grid/line-grid-inside-columns.html:
* fast/line-grid/line-grid-into-columns.html:
* fast/multicol/break-properties.html:
* fast/multicol/cell-shrinkback.html:
* fast/multicol/client-rects.html:
* fast/multicol/column-count-with-rules.html:
* fast/multicol/fixed-column-percent-logical-height-orthogonal-writing-mode.html:
* fast/multicol/flipped-blocks-hit-test.html:
* fast/multicol/float-paginate-complex.html:
* fast/multicol/float-paginate-empty-lines.html:
* fast/multicol/float-paginate.html:
* fast/multicol/float-truncation.html:
* fast/multicol/hit-test-above-or-below.html:
* fast/multicol/hit-test-end-of-column-with-line-height.html:
* fast/multicol/hit-test-end-of-column.html:
* fast/multicol/hit-test-float.html:
* fast/multicol/image-inside-nested-blocks-with-border.html:
* fast/multicol/layers-in-multicol.html:
* fast/multicol/layers-split-across-columns.html:
* fast/multicol/margin-collapse.html:
* fast/multicol/mixed-opacity-fixed-test.html:
* fast/multicol/mixed-opacity-test.html:
* fast/multicol/mixed-positioning-stacking-order.html:
* fast/multicol/nested-columns.html:
* fast/multicol/newmulticol/cell-shrinkback-expected.html:
* fast/multicol/newmulticol/cell-shrinkback.html:
* fast/multicol/newmulticol/column-rules-fixed-height-expected.html:
* fast/multicol/newmulticol/fixed-height-fill-auto-expected.html: Added.
* fast/multicol/newmulticol/fixed-height-fill-auto.html: Added.
* fast/multicol/newmulticol/fixed-height-fill-balance-expected.html: Added.
* fast/multicol/newmulticol/fixed-height-fill-balance.html: Added.
* fast/multicol/newmulticol/float-avoidance-expected.html:
* fast/multicol/newmulticol/float-avoidance.html:
* fast/multicol/newmulticol/float-multicol-expected.html:
* fast/multicol/newmulticol/float-multicol.html:
* fast/multicol/newmulticol/float-paginate-complex-expected.html:
* fast/multicol/newmulticol/float-paginate-complex.html:
* fast/multicol/newmulticol/float-paginate-empty-lines-expected.html:
* fast/multicol/newmulticol/float-paginate-empty-lines.html:
* fast/multicol/newmulticol/float-paginate-expected.html:
* fast/multicol/newmulticol/float-paginate.html:
* fast/multicol/newmulticol/layers-in-multicol-expected.html:
* fast/multicol/newmulticol/layers-in-multicol.html:
* fast/multicol/newmulticol/layers-split-across-columns-expected.html:
* fast/multicol/newmulticol/layers-split-across-columns.html:
* fast/multicol/newmulticol/positioned-split-expected.html:
* fast/multicol/newmulticol/positioned-split.html:
* fast/multicol/newmulticol/positioned-with-constrained-height-expected.html:
* fast/multicol/newmulticol/positioned-with-constrained-height.html:
* fast/multicol/null-lastFloat-in-removeFloatingObjectsBelow.html:
* fast/multicol/orphans-relayout.html:
* fast/multicol/overflow-across-columns-percent-height.html:
* fast/multicol/overflow-across-columns.html:
* fast/multicol/overflow-content-expected.html:
* fast/multicol/overflow-content.html:
* fast/multicol/overflow-unsplittable.html:
* fast/multicol/pageLogicalOffset-vertical-expected.html:
* fast/multicol/pageLogicalOffset-vertical.html:
* fast/multicol/paginate-block-replaced.html:
* fast/multicol/positioned-outside-of-columns.html:
* fast/multicol/positioned-split.html:
* fast/multicol/positive-leading.html:
* fast/multicol/progression-reverse-overflow-expected.html:
* fast/multicol/progression-reverse-overflow.html:
* fast/multicol/progression-reverse.html:
* fast/multicol/scrolling-overflow.html:
* fast/multicol/seamless-flowed-through-columns-expected.html:
* fast/multicol/seamless-flowed-through-columns.html:
* fast/multicol/table-margin-collapse.html:
* fast/multicol/table-row-height-increase-expected.html:
* fast/multicol/table-row-height-increase.html:
* fast/multicol/table-vertical-align.html:
* fast/multicol/transform-inside-opacity.html:
* fast/multicol/unsplittable-inline-block.html:
* fast/multicol/vertical-lr/break-properties.html:
* fast/multicol/vertical-lr/column-count-with-rules.html:
* fast/multicol/vertical-lr/float-multicol.html:
* fast/multicol/vertical-lr/float-paginate-complex.html:
* fast/multicol/vertical-lr/float-paginate.html:
* fast/multicol/vertical-lr/float-truncation.html:
* fast/multicol/vertical-lr/image-inside-nested-blocks-with-border.html:
* fast/multicol/vertical-lr/nested-columns.html:
* fast/multicol/vertical-lr/rules-with-border-before.html:
* fast/multicol/vertical-lr/unsplittable-inline-block.html:
* fast/multicol/vertical-rl/break-properties.html:
* fast/multicol/vertical-rl/column-count-with-rules.html:
* fast/multicol/vertical-rl/float-avoidance.html:
* fast/multicol/vertical-rl/float-multicol.html:
* fast/multicol/vertical-rl/float-paginate-complex.html:
* fast/multicol/vertical-rl/float-paginate.html:
* fast/multicol/vertical-rl/float-truncation.html:
* fast/multicol/vertical-rl/image-inside-nested-blocks-with-border.html:
* fast/multicol/vertical-rl/nested-columns.html:
* fast/multicol/vertical-rl/rule-style.html:
* fast/multicol/vertical-rl/rules-with-border-before.html:
* fast/multicol/vertical-rl/unsplittable-inline-block.html:
* fast/multicol/widows-and-orphans.html:
* fast/regions/region-style-in-columns.html:
* fast/repaint/multicol-repaint.html:
* fast/sub-pixel/column-clipping.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157458 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agotransition void cti_op_* methods to JIT operations.
msaboff@apple.com [Tue, 15 Oct 2013 18:33:04 +0000 (18:33 +0000)]
transition void cti_op_* methods to JIT operations.
https://bugs.webkit.org/show_bug.cgi?id=122617

Reviewed by Geoffrey Garen.

Converted the follow stubs to JIT operations:
    cti_handle_watchdog_timer
    cti_op_debug
    cti_op_pop_scope
    cti_op_profile_did_call
    cti_op_profile_will_call
    cti_op_put_by_index
    cti_op_put_getter_setter
    cti_op_tear_off_activation
    cti_op_tear_off_arguments
    cti_op_throw_static_error
    cti_optimize

* dfg/DFGOperations.cpp:
* dfg/DFGOperations.h:
* jit/CCallHelpers.h:
(JSC::CCallHelpers::setupArgumentsWithExecState):
(JSC::CCallHelpers::setupThreeStubArgsGPR):
(JSC::CCallHelpers::setupStubArguments):
(JSC::CCallHelpers::setupStubArguments134):
* jit/JIT.cpp:
(JSC::JIT::emitEnterOptimizationCheck):
* jit/JIT.h:
* jit/JITInlines.h:
(JSC::JIT::callOperation):
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_tear_off_activation):
(JSC::JIT::emit_op_tear_off_arguments):
(JSC::JIT::emit_op_push_with_scope):
(JSC::JIT::emit_op_pop_scope):
(JSC::JIT::emit_op_push_name_scope):
(JSC::JIT::emit_op_throw_static_error):
(JSC::JIT::emit_op_debug):
(JSC::JIT::emit_op_profile_will_call):
(JSC::JIT::emit_op_profile_did_call):
(JSC::JIT::emitSlow_op_loop_hint):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_push_with_scope):
(JSC::JIT::emit_op_pop_scope):
(JSC::JIT::emit_op_push_name_scope):
(JSC::JIT::emit_op_throw_static_error):
(JSC::JIT::emit_op_debug):
(JSC::JIT::emit_op_profile_will_call):
(JSC::JIT::emit_op_profile_did_call):
* jit/JITOperations.cpp:
* jit/JITOperations.h:
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_put_by_index):
(JSC::JIT::emit_op_put_getter_setter):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_put_by_index):
(JSC::JIT::emit_op_put_getter_setter):
* jit/JITStubs.cpp:
* jit/JITStubs.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157457 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSkip unnecessary null check in RenderText::textLength().
akling@apple.com [Tue, 15 Oct 2013 18:17:56 +0000 (18:17 +0000)]
Skip unnecessary null check in RenderText::textLength().
<https://webkit.org/b/122841>

Reviewed by Antti Koivisto.

RenderText will never have a null String in m_text, so textLength()
can grab at the StringImpl directly, avoiding a null check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157456 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFontGenericFamilies should not be ref-counted.
akling@apple.com [Tue, 15 Oct 2013 18:16:51 +0000 (18:16 +0000)]
FontGenericFamilies should not be ref-counted.
<https://webkit.org/b/122835>

Reviewed by Anders Carlsson.

FontGenericFamilies is singly-owned by Settings.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157455 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[CSS Shapes] Move RenderBlock::layoutShapeInsideInfo into RenderBlock.cpp
zoltan@webkit.org [Tue, 15 Oct 2013 18:08:14 +0000 (18:08 +0000)]
[CSS Shapes] Move RenderBlock::layoutShapeInsideInfo into RenderBlock.cpp
http://bugs.webkit.org/show_bug.cgi?id=122843

Reviewed by Oliver Hunt.

Historically, layoutShapeInsideInfo was a static function in RenderBlockLineLayout, then it has changed to be a member of RenderBlock,
but at that time it hasn't been moved to RenderBlock.cpp. This patch moves it into RenderBlock.cpp next to the Shapes functions. I removed
an unnecessary CSS_SHAPES #ifdef as well from RenderBlock.cpp.

No new tests, no behavior change.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::markShapeInsideDescendantsForLayout):
(WebCore::RenderBlock::layoutShapeInsideInfo):
* rendering/RenderBlockLineLayout.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157454 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd some API tests for Vector, RefPtr, and Ref
darin@apple.com [Tue, 15 Oct 2013 18:05:56 +0000 (18:05 +0000)]
Add some API tests for Vector, RefPtr, and Ref
https://bugs.webkit.org/show_bug.cgi?id=122840

Reviewed by Andreas Kling.

* TestWebKitAPI/CMakeLists.txt: Added new files.
* TestWebKitAPI/GNUmakefile.am: Ditto.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Ditto.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Ditto.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.

* TestWebKitAPI/Tests/WTF/Ref.cpp: Added.
* TestWebKitAPI/Tests/WTF/RefLogger.h: Added.
* TestWebKitAPI/Tests/WTF/RefPtr.cpp: Added.
* TestWebKitAPI/Tests/WTF/Vector.cpp: Added move-only insert tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157453 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[sh4] Introduce const pools in LLINT.
commit-queue@webkit.org [Tue, 15 Oct 2013 18:03:42 +0000 (18:03 +0000)]
[sh4] Introduce const pools in LLINT.
https://bugs.webkit.org/show_bug.cgi?id=122746

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-15
Reviewed by Michael Saboff.

In current implementation of LLINT for sh4, immediate values outside range -128..127 are
loaded this way:

    mov.l .label, rx
    bra out
    nop
    .balign 4
    .label: .long immvalue
    out:

This change introduces const pools for sh4 implementation to avoid lots of useless branches
and reduce code size. It also removes lines of dirty code, like jmpf and callf.

* offlineasm/instructions.rb: Remove jmpf and callf sh4 specific instructions.
* offlineasm/sh4.rb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157452 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix broken C Loop LLINT build.
mark.lam@apple.com [Tue, 15 Oct 2013 17:01:10 +0000 (17:01 +0000)]
Fix broken C Loop LLINT build.
https://bugs.webkit.org/show_bug.cgi?id=122839.

Reviewed by Michael Saboff.

* dfg/DFGFlushedAt.cpp:
* jit/JITOperations.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157451 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[WinCairo] Build fails.
commit-queue@webkit.org [Tue, 15 Oct 2013 16:39:46 +0000 (16:39 +0000)]
[WinCairo] Build fails.
https://bugs.webkit.org/show_bug.cgi?id=122830

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-15
Reviewed by Brent Fulgham.

* platform/network/NetworkStorageSessionStub.cpp:
(WebCore::NetworkStorageSession::createPrivateBrowsingSession): Update to new return type.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157450 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFileIconLoader should not be ref-counted.
akling@apple.com [Tue, 15 Oct 2013 13:02:14 +0000 (13:02 +0000)]
FileIconLoader should not be ref-counted.
<https://webkit.org/b/122827>

FileIconLoader is singly-owned by FileInputType.

Reviewed by Antti Koivisto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157449 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRenderText should cache RenderStyle in locals more.
akling@apple.com [Tue, 15 Oct 2013 11:45:03 +0000 (11:45 +0000)]
RenderText should cache RenderStyle in locals more.
<https://webkit.org/b/122823>

Reviewed by Antti Koivisto.

Now that fetching the RenderStyle has to go through the parent,
we should avoid unnecessary loads by caching style() in a local.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157448 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Soup] Unreviewed buildfix after r157445 for ENABLE(NETWORK_PROCESS) builds.
ossy@webkit.org [Tue, 15 Oct 2013 11:44:05 +0000 (11:44 +0000)]
[Soup] Unreviewed buildfix after r157445 for ENABLE(NETWORK_PROCESS) builds.

* NetworkProcess/soup/NetworkProcessSoup.cpp:
(WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157447 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed. Fix the GTK+ build after r157445.
carlosgc@webkit.org [Tue, 15 Oct 2013 11:25:08 +0000 (11:25 +0000)]
Unreviewed. Fix the GTK+ build after r157445.

* UIProcess/API/gtk/WebKitLoaderClient.cpp:
(didFailProvisionalLoadWithErrorForFrame):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157446 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMove PlatformCertificateInfo to WebCore and make the ResourceResponse primitives...
ossy@webkit.org [Tue, 15 Oct 2013 10:24:29 +0000 (10:24 +0000)]
Move PlatformCertificateInfo to WebCore and make the ResourceResponse primitives work in terms of that platform agnostic object
https://bugs.webkit.org/show_bug.cgi?id=118520

Reviewed by Anders Carlsson.

Added PlatformCertificateInfo getter and setter to ResourceErrorBase
and ResourceResponseBase so that getting and setting certificates
becomes cross platform.

Changed the existing platform specific certificate getters and setters
of ResourceError and ResourceResponse to use the
PlatformCertificateInfo member.

Original patch by Kwang Yul Seo  <skyul@company100.net>

Source/WebCore:

The following things were fixed by Csaba Osztrogon√°c:
- trivial conflicts resolved in WebCore.exp.in, project.pbxproj, NetworkResourceLoader.cpp,
  WebPageProxy.h, WebFrameLoaderClient.cpp and PlatformEfl.cmake.
- trivial fix in the new AsynchronousNetworkLoaderClient.cpp
- style fixed (NULL -> 0 and smaller indentation in WebCoreArgumentCodersSoup.cpp)
- obsolete change removed from NetworkResourceLoader.cpp
- unneeded typo removed from ResourceHandleSoup.cpp
- Fixed the if guard of including RetainPtr.h in PlatformCertificateInfo.h to make Windows build happy.
- add PlatformCertificateInfoCFNet.cpp with empty constructor and destructor to make Windows build happy.
- resolved conflict in Source/WebCore/WebCore.xcodeproj/project.pbxproj after r156488
- renamed KURL to URL after r156550.
- removed obsolete Qt changes
- added back initializers for m_soupFlags
- included gio/gio.h instead of libsoup/soup.h in PlatformCertificateInfo.h
- removed unused class forward declarations and includes

* GNUmakefile.list.am:
* PlatformEfl.cmake:
* Target.pri:
* WebCore.exp.in:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* platform/network/PlatformCertificateInfo.h: Renamed from Source/WebKit2/Shared/soup/PlatformCertificateInfo.h.
(WebCore::PlatformCertificateInfo::certificate):
(WebCore::PlatformCertificateInfo::setCertificate):
(WebCore::PlatformCertificateInfo::tlsErrors):
(WebCore::PlatformCertificateInfo::setTLSErrors):
* platform/network/ResourceErrorBase.h:
(WebCore::ResourceErrorBase::platformCertificateInfo):
(WebCore::ResourceErrorBase::setPlatformCertificateInfo):
* platform/network/ResourceResponseBase.h:
(WebCore::ResourceResponseBase::platformCertificateInfo):
(WebCore::ResourceResponseBase::setPlatformCertificateInfo):
* platform/network/cf/ResourceResponse.h:
* platform/network/mac/PlatformCertificateInfoMac.mm: Renamed from Source/WebKit2/Shared/mac/PlatformCertificateInfo.mm.
(WebCore::PlatformCertificateInfo::PlatformCertificateInfo):
(WebCore::PlatformCertificateInfo::~PlatformCertificateInfo):
(WebCore::PlatformCertificateInfo::setCertificateChain):
(WebCore::PlatformCertificateInfo::certificateChain):
(WebCore::PlatformCertificateInfo::dump):
* platform/network/mac/ResourceResponseMac.mm:
(WebCore::ResourceResponse::setCertificateChain):
(WebCore::ResourceResponse::certificateChain):
* platform/network/soup/PlatformCertificateInfoSoup.cpp:
(WebCore::PlatformCertificateInfo::PlatformCertificateInfo):
(WebCore::PlatformCertificateInfo::~PlatformCertificateInfo):
* platform/network/soup/ResourceError.h:
(WebCore::ResourceError::ResourceError):
(WebCore::ResourceError::tlsErrors):
(WebCore::ResourceError::setTLSErrors):
(WebCore::ResourceError::certificate):
(WebCore::ResourceError::setCertificate):
* platform/network/soup/ResourceErrorSoup.cpp:
(WebCore::ResourceError::platformCopy):
* platform/network/soup/ResourceResponse.h:
(WebCore::ResourceResponse::ResourceResponse):
(WebCore::ResourceResponse::soupMessageCertificate):
(WebCore::ResourceResponse::setSoupMessageCertificate):
(WebCore::ResourceResponse::soupMessageTLSErrors):
(WebCore::ResourceResponse::setSoupMessageTLSErrors):
* platform/network/soup/ResourceResponseSoup.cpp:
(WebCore::ResourceResponse::toSoupMessage):
(WebCore::ResourceResponse::updateFromSoupMessage):

Source/WebKit2:

The following things were fixed by Csaba Osztrogon√°c:
- trivial conflicts resolved in WebCore.exp.in, project.pbxproj, NetworkResourceLoader.cpp,
  WebPageProxy.h, WebFrameLoaderClient.cpp and PlatformEfl.cmake.
- trivial fix in the new AsynchronousNetworkLoaderClient.cpp
- style fixed (NULL -> 0 and smaller indentation in WebCoreArgumentCodersSoup.cpp)
- obsolete change removed from NetworkResourceLoader.cpp
- unneeded typo removed from ResourceHandleSoup.cpp
- Fixed the if guard of including RetainPtr.h in PlatformCertificateInfo.h to make Windows build happy.
- add PlatformCertificateInfoCFNet.cpp with empty constructor and destructor to make Windows build happy.
- resolve conflict in Source/WebCore/WebCore.xcodeproj/project.pbxproj after r156488
- rename KURL to URL after r156550.
- remove obsolete Qt changes
- added back initializers for m_soupFlags
- included gio/gio.h instead of libsoup/soup.h in PlatformCertificateInfo.h
- removed unused class forward declarations and includes

* GNUmakefile.list.am:
* NetworkProcess/AsynchronousNetworkLoaderClient.cpp:
(WebKit::AsynchronousNetworkLoaderClient::didReceiveResponse):
* NetworkProcess/NetworkProcess.h:
* NetworkProcess/NetworkProcess.messages.in:
* NetworkProcess/NetworkResourceLoader.cpp:
* NetworkProcess/mac/NetworkProcessMac.mm:
* PlatformEfl.cmake:
* PlatformGTK.cmake:
* Shared/API/c/mac/WKCertificateInfoMac.mm:
(WKCertificateInfoCreateWithCertficateChain):
* Shared/Authentication/AuthenticationManager.h:
* Shared/Authentication/AuthenticationManager.messages.in:
* Shared/Authentication/mac/AuthenticationManager.mac.mm:
* Shared/UserMessageCoders.h:
(WebKit::UserMessageDecoder::baseDecode):
* Shared/WebCertificateInfo.h:
(WebKit::WebCertificateInfo::create):
(WebKit::WebCertificateInfo::platformCertificateInfo):
(WebKit::WebCertificateInfo::WebCertificateInfo):
* Shared/WebCoreArgumentCoders.cpp:
(CoreIPC::::decode):
(CoreIPC::::encode):
* Shared/WebCoreArgumentCoders.h:
* Shared/mac/WebCoreArgumentCodersMac.mm:
(CoreIPC::::encodePlatformData):
(CoreIPC::::decodePlatformData):
* Shared/soup/PlatformCertificateInfo.cpp: Removed.
* Shared/soup/WebCoreArgumentCodersSoup.cpp:
(CoreIPC::::encodePlatformData):
(CoreIPC::::decodePlatformData):
* Target.pri:
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_get_tls_info):
* UIProcess/Authentication/AuthenticationChallengeProxy.cpp:
(WebKit::AuthenticationChallengeProxy::useCredential):
* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::didCommitLoad):
* UIProcess/WebFrameProxy.h:
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):
* WebProcess/Network/WebResourceLoader.h:
* WebProcess/Network/WebResourceLoader.messages.in:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157445 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove redundant Document::getElementById
rniwa@webkit.org [Tue, 15 Oct 2013 07:02:55 +0000 (07:02 +0000)]
Remove redundant Document::getElementById
https://bugs.webkit.org/show_bug.cgi?id=122813

Reviewed by Andreas Kling.

Merge https://chromium.googlesource.com/chromium/blink/+/4e8f1c5316415614b84370c602beae4a1008299f

This function simply calls virtual TreeScope::getElementById and Document inherits from TreeScope.

* WebCore.exp.in:
* dom/Document.cpp:
* dom/Document.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157444 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSource/WebCore: in safari,the background-color of input[type="search"] can't work
commit-queue@webkit.org [Tue, 15 Oct 2013 05:55:40 +0000 (05:55 +0000)]
Source/WebCore: in safari,the background-color of input[type="search"] can't work
https://bugs.webkit.org/show_bug.cgi?id=119967

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-10-14
Reviewed by Ryosuke Niwa.

When input type=search is styled with css background property then
it does not change the background-color of field. Its happening becasue
search field is not counted as styled control. Thus theme ignores the
css background property. With this patch search field is also counted as
styled control so background property reflects on search field.

Test: fast/forms/search/search-field-background-color.html

* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::isControlStyled):Now search field is also
a styled control.

LayoutTests: in safari ,the background-color of input[type="search"] can't work
https://bugs.webkit.org/show_bug.cgi?id=119967

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-10-14
Reviewed by Ryosuke Niwa.

Added testcase to verify the background color of search field when
search field is styled with css background property.

* fast/forms/search/search-field-background-color-expected.txt: Added.
* fast/forms/search/search-field-background-color.html: Added.
* platform/mac/fast/forms/search-styled-expected.txt: Rebaselined.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157443 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[CSS Shapes] Move shape-inside floats tests into their own subdirectory
zoltan@webkit.org [Tue, 15 Oct 2013 05:06:10 +0000 (05:06 +0000)]
[CSS Shapes] Move shape-inside floats tests into their own subdirectory
https://bugs.webkit.org/show_bug.cgi?id=122761

Reviewed by Sam Weinig.

I'm going to add some new float tests soon. In order to keep our shapes tests organized,
I'm moving the shape-inside with floating content tests to their own subdirectory.

* fast/shapes/shape-inside/floats/shape-inside-floats-simple-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-floats-simple-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-floats-simple.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-floats-simple.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-block-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-left-triangle-block-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-block-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-left-triangle-block-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-inline-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-left-triangle-inline-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-inline-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-left-triangle-inline-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-block-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-block-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-block-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-block-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-inline-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-inline-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-inline-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle-inline-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-lower-right-triangle.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-block-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-block-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-block-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-block-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-inline-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-inline-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-inline-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-inline-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-vertical-lr-inline-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-vertical-lr-inline-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-vertical-lr-inline-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-left-triangle-vertical-lr-inline-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-block-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-right-triangle-block-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-block-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-right-triangle-block-content.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-inline-content-expected.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-right-triangle-inline-content-expected.html.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-inline-content.html: Renamed from LayoutTests/fast/shapes/shape-inside/shape-inside-left-float-in-upper-right-triangle-inline-content.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157442 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoEventPath::updateTouchLists traverses through EventPath thrice
rniwa@webkit.org [Tue, 15 Oct 2013 04:08:16 +0000 (04:08 +0000)]
EventPath::updateTouchLists traverses through EventPath thrice
https://bugs.webkit.org/show_bug.cgi?id=122804

Reviewed by Benjamin Poulain.

Instead of traversing through EventPath for each TouchList, traverse through TouchList for every EventContext.
This paves our way to have one-pass traversal over EventPath, and evetually to remove EventContext altogether.

This change should also improve the cache hit rate since all Touch objects tend to be allocated at the same time
but this performance improvement is probably not observable.

* dom/EventContext.h:
* dom/EventDispatcher.cpp:
(WebCore::EventRelatedNodeResolver::EventRelatedNodeResolver): Added a new constructor that takes Touch and
and TouchListType. We need to store these two values in order to update EventContext later.
(WebCore::EventRelatedNodeResolver::touch): Added,
(WebCore::EventRelatedNodeResolver::touchListType): Added.
(WebCore::addRelatedNodeResolversForTouchList): Extracted from updateTouchListsInEventPath.
(WebCore::EventPath::updateTouchLists): Moved the loop over m_path here. Notice that the outer loop iterates
over m_path instead of touchList as done in updateTouchListsInEventPath. The inner loop goes through resolvers
and adds Touch objects each EventContext as needed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157441 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, EFL gardening. Below tests don't be failed anymore after enabling subpixe...
gyuyoung.kim@samsung.com [Tue, 15 Oct 2013 03:48:55 +0000 (03:48 +0000)]
Unreviewed, EFL gardening. Below tests don't be failed anymore after enabling subpixel layout.

fast/spatial-navigation/snav-container-white-space.html
fast/spatial-navigation/snav-fully-aligned-horizontally.html
fast/spatial-navigation/snav-iframe-no-scrollable-content.html

* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157440 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoTransition *switch* and *scope* JITStubs to JIT operations.
mark.lam@apple.com [Tue, 15 Oct 2013 03:03:45 +0000 (03:03 +0000)]
Transition *switch* and *scope* JITStubs to JIT operations.
https://bugs.webkit.org/show_bug.cgi?id=122757.

Reviewed by Geoffrey Garen.

Transitioning:
    cti_op_switch_char
    cti_op_switch_imm
    cti_op_switch_string
    cti_op_resolve_scope
    cti_op_get_from_scope
    cti_op_put_to_scope

* jit/JIT.h:
* jit/JITInlines.h:
(JSC::JIT::callOperation):
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_switch_imm):
(JSC::JIT::emit_op_switch_char):
(JSC::JIT::emit_op_switch_string):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_switch_imm):
(JSC::JIT::emit_op_switch_char):
(JSC::JIT::emit_op_switch_string):
* jit/JITOperations.cpp:
* jit/JITOperations.h:
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emitSlow_op_resolve_scope):
(JSC::JIT::emitSlow_op_get_from_scope):
(JSC::JIT::emitSlow_op_put_to_scope):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emitSlow_op_resolve_scope):
(JSC::JIT::emitSlow_op_get_from_scope):
(JSC::JIT::emitSlow_op_put_to_scope):
* jit/JITStubs.cpp:
* jit/JITStubs.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157439 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoDon't generate a wasteful isObservable check in isReachableFromOpaqueRoots
ap@apple.com [Tue, 15 Oct 2013 02:47:38 +0000 (02:47 +0000)]
Don't generate a wasteful isObservable check in isReachableFromOpaqueRoots
https://bugs.webkit.org/show_bug.cgi?id=122802

Reviewed by Mark Hahnenberg.

* bindings/scripts/CodeGeneratorJS.pm: (GenerateImplementation): Don't.

* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
* bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
* bindings/scripts/test/JS/JSTestException.cpp:
* bindings/scripts/test/JS/JSTestInterface.cpp:
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
* bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
* bindings/scripts/test/JS/JSTestObj.cpp:
* bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
* bindings/scripts/test/JS/JSattribute.cpp:
* bindings/scripts/test/JS/JSreadonly.cpp:
Updated results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157438 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWindows select element doesn't draw RTL properly.
roger_fong@apple.com [Tue, 15 Oct 2013 01:06:20 +0000 (01:06 +0000)]
Windows select element doesn't draw RTL properly.
https://bugs.webkit.org/show_bug.cgi?id=122785.

Reviewed by Brent Fulgham.

Problems include the popup items not drawing on the right hand side and
not respecting the direction or the directional override styling of the option.
The selected element (drawn in the actual select element) also doesn't respect
the style settings of the selected menu option.

Tests:
Covered by fast/text/international/pop-up-button-text-alignment-and-direction.html.

* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::paint):
* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::selectItemWritingDirectionIsNatural):
(WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
* platform/win/fast/text/international/pop-up-button-text-alignment-and-direction-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157437 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSource/WebCore: AX: fieldset should have GroupRole and legend should be description.
rniwa@webkit.org [Tue, 15 Oct 2013 00:38:10 +0000 (00:38 +0000)]
Source/WebCore: AX: fieldset should have GroupRole and legend should be description.
https://bugs.webkit.org/show_bug.cgi?id=122534

Patch by Samuel White <samuel_white@apple.com> on 2013-10-14
Reviewed by Chris Fleizach.

Changes fieldset to derive AXDescription from legend if one is available. Added
convenience method to AccessibilityObject to fetch element if available.

Test: accessibility/fieldset-element.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::canHaveChildren):
(WebCore::AccessibilityNodeObject::alternativeText):
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::element):
(WebCore::AccessibilityObject::isARIAHidden):
(WebCore::AccessibilityObject::isDOMHidden):
(WebCore::AccessibilityObject::defaultObjectInclusion):
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isHidden):
* accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySlider::getAttribute):
(WebCore::AccessibilitySlider::valueForRange):
(WebCore::AccessibilitySlider::maxValueForRange):
(WebCore::AccessibilitySlider::minValueForRange):
(WebCore::AccessibilitySlider::setValue):
(WebCore::AccessibilitySlider::inputElement):
* accessibility/AccessibilitySlider.h:
* accessibility/mac/AccessibilityObjectMac.mm:
(WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
* html/HTMLFieldSetElement.cpp:
(WebCore::HTMLFieldSetElement::legend):
* html/HTMLFieldSetElement.h:

LayoutTests: Crash in WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>::createBidiRunsForLine
https://bugs.webkit.org/show_bug.cgi?id=122776

Reviewed by Darin Adler.

* fast/text/whitespace/whitespace-and-margin-wrap-after-list-marker-crash-expected.txt: Added.
* fast/text/whitespace/whitespace-and-margin-wrap-after-list-marker-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157436 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdding myself to CC list for some components.
roger_fong@apple.com [Tue, 15 Oct 2013 00:35:36 +0000 (00:35 +0000)]
Adding myself to CC list for some components.

* Scripts/webkitpy/common/config/watchlist:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157435 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAX: fieldset should have GroupRole and legend should be description.
commit-queue@webkit.org [Tue, 15 Oct 2013 00:23:25 +0000 (00:23 +0000)]
AX: fieldset should have GroupRole and legend should be description.
https://bugs.webkit.org/show_bug.cgi?id=122534

Patch by Samuel White <samuel_white@apple.com> on 2013-10-14
Reviewed by Chris Fleizach.

Source/WebCore:

Changes fieldset to derive AXDescription from legend if one is available. Added
convenience method to AccessibilityObject to fetch element if available.

Test: accessibility/fieldset-element.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::canHaveChildren):
(WebCore::AccessibilityNodeObject::alternativeText):
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::element):
(WebCore::AccessibilityObject::isARIAHidden):
(WebCore::AccessibilityObject::isDOMHidden):
(WebCore::AccessibilityObject::defaultObjectInclusion):
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isHidden):
* accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySlider::getAttribute):
(WebCore::AccessibilitySlider::valueForRange):
(WebCore::AccessibilitySlider::maxValueForRange):
(WebCore::AccessibilitySlider::minValueForRange):
(WebCore::AccessibilitySlider::setValue):
(WebCore::AccessibilitySlider::inputElement):
* accessibility/AccessibilitySlider.h:
* accessibility/mac/AccessibilityObjectMac.mm:
(WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
* html/HTMLFieldSetElement.cpp:
(WebCore::HTMLFieldSetElement::legend):
* html/HTMLFieldSetElement.h:

LayoutTests:

legend no longer treated as titleUIElement so removing tests that check this functionality.
Added test to check that legend is used as AXDescription of fieldset if present.

* accessibility/fieldset-element.html: Added.
* accessibility/hidden-legend-expected.txt: Removed.
* accessibility/hidden-legend.html: Removed.
* accessibility/legend.html: Removed.
* platform/efl/accessibility/legend-expected.txt: Removed.
* platform/gtk/accessibility/legend-expected.txt: Removed.
* platform/mac/accessibility/fieldset-element-expected.txt: Added.
* platform/mac/accessibility/legend-expected.txt: Removed.
* platform/mac/accessibility/role-subrole-roledescription-expected.txt:
* platform/mac/accessibility/role-subrole-roledescription.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157434 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoDFG PutById IC should use the ConcurrentJITLocker since it's now dealing with IC...
fpizlo@apple.com [Tue, 15 Oct 2013 00:05:45 +0000 (00:05 +0000)]
DFG PutById IC should use the ConcurrentJITLocker since it's now dealing with IC's that get read by the compiler thread
https://bugs.webkit.org/show_bug.cgi?id=122786

Reviewed by Mark Hahnenberg.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::resetStub): Resetting a stub should acquire the lock since this is observable from the thread; but we should only acquire the lock if we're resetting outside of GC.
* jit/Repatch.cpp:
(JSC::repatchPutByID): Doing the PutById patching should hold the lock.
(JSC::buildPutByIdList): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157433 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Windows] Unreviewed build fix.
roger_fong@apple.com [Tue, 15 Oct 2013 00:02:52 +0000 (00:02 +0000)]
[Windows] Unreviewed build fix.

* WebCore.vcxproj/WebCoreCommon.props:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157432 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAssertion failure in Range::processContentsBetweenOffsets
rniwa@webkit.org [Mon, 14 Oct 2013 23:58:22 +0000 (23:58 +0000)]
Assertion failure in Range::processContentsBetweenOffsets
https://bugs.webkit.org/show_bug.cgi?id=122777

Reviewed by Darin Adler.

Source/WebCore:

Merge https://chromium.googlesource.com/chromium/blink/+/c15de182774c7859c20d97126eb844ae97b792a4

This patch changes ASSERT statements for checking |endOffset| inbound in Range::processContentsBetweenOffsets()
to limit |endOffset|. This is necessary when DOMNodeRemovedFromDocument event handler splits text nodes,
Range::insertNode() on text node, in the range calling Range::deleteContents().

Test: fast/dom/Range/range-delete-contents-mutation-event-crash.html

* dom/Range.cpp:
(WebCore::Range::processContentsBetweenOffsets):

LayoutTests:

* fast/dom/Range/range-delete-contents-mutation-event-crash-expected.txt: Added.
* fast/dom/Range/range-delete-contents-mutation-event-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157431 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd an empty window.crypto.webkitSubtle
ap@apple.com [Mon, 14 Oct 2013 23:36:32 +0000 (23:36 +0000)]
Add an empty window.crypto.webkitSubtle
https://bugs.webkit.org/show_bug.cgi?id=122778

Reviewed by Mark Hahnenberg.

Source/WebCore:

Tests: security/crypto-subtle-gc-2.html
       security/crypto-subtle-gc-3.html
       security/crypto-subtle-gc.html

* DerivedSources.make: Process SubtleCrypto.idl.

* crypto: Added.
* WebCore.xcodeproj/project.pbxproj:
* CMakeLists.txt:
* DerivedSources.make:
* GNUmakefile.am:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj.filters:

* bindings/js/JSSubtleCryptoCustom.cpp: Added. Empty for now, but we'll certainly
need custom bindings code here.

* crypto/SubtleCrypto.cpp: Added.
(WebCore::SubtleCrypto::SubtleCrypto):
(WebCore::SubtleCrypto::document):
* crypto/SubtleCrypto.h: Added.
* crypto/SubtleCrypto.idl: Added.
* page/Crypto.cpp:
(WebCore::Crypto::subtle):
* page/Crypto.h:
* page/Crypto.idl:

LayoutTests:

* TestExpectations: The feature isn't enabled anywhere yet, so skipping the new tests.

* security/crypto-subtle-gc-2-expected.txt: Added.
* security/crypto-subtle-gc-2.html: Added.
* security/crypto-subtle-gc-3-expected.txt: Added.
* security/crypto-subtle-gc-3.html: Added.
* security/crypto-subtle-gc-expected.txt: Added.
* security/crypto-subtle-gc.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157430 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd FTL support for LogicalNot(string)
mark.lam@apple.com [Mon, 14 Oct 2013 23:30:37 +0000 (23:30 +0000)]
Add FTL support for LogicalNot(string)
https://bugs.webkit.org/show_bug.cgi?id=122765

Patch by Nadav Rotem <nrotem@apple.com> on 2013-10-14
Reviewed by Filip Pizlo.

This patch is tested by:
regress/script-tests/emscripten-cube2hash.js.ftl-eager

* ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileLogicalNot):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157429 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove GestureEvent leftovers from WebCore
commit-queue@webkit.org [Mon, 14 Oct 2013 23:26:45 +0000 (23:26 +0000)]
Remove GestureEvent leftovers from WebCore
<https://webkit.org/b/122780>

Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-10-14
Reviewed by Anders Carlsson.

- Removed some remaining references to PlatformGestureEvent, supposed to
  be removed by r157316
- TOUCH_ADJUSTMENT should be reworked after GestureEvent feature
  removal

* page/EventHandler.cpp:
(WebCore::EventHandler::bestZoomableAreaForTouchPoint):
* page/EventHandler.h:
* platform/PlatformEvent.h:
* platform/ScrollAnimatorNone.cpp:
* platform/ScrollableArea.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157428 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[sh4] Fixes after r157404 and r157411.
commit-queue@webkit.org [Mon, 14 Oct 2013 23:22:38 +0000 (23:22 +0000)]
[sh4] Fixes after r157404 and r157411.
https://bugs.webkit.org/show_bug.cgi?id=122782

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-14
Reviewed by Michael Saboff.

* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation): Add missing SH4_32BIT_DUMMY_ARG.
* jit/CCallHelpers.h:
(JSC::CCallHelpers::setupArgumentsWithExecState):
* jit/JITInlines.h:
(JSC::JIT::callOperation): Add missing SH4_32BIT_DUMMY_ARG.
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_put_by_id): Remove unwanted BEGIN_UNINTERRUPTED_SEQUENCE.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157427 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoBuild fix after r157366
commit-queue@webkit.org [Mon, 14 Oct 2013 23:17:59 +0000 (23:17 +0000)]
Build fix after r157366
http://bugs.webkit.org/show_bug.cgi?id=122783

When TOUCH_AJUSTMENT is enabled build fails due to some
refactors in TextRender functions.

Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-10-14
Reviewed by Anders Carlsson.

* page/TouchAdjustment.cpp:
(WebCore::TouchAdjustment::appendContextSubtargetsForNode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157426 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoThe content of the DOM panel for iframes is not updated until the "onload" event
achicu@adobe.com [Mon, 14 Oct 2013 23:08:37 +0000 (23:08 +0000)]
The content of the DOM panel for iframes is not updated until the "onload" event
https://bugs.webkit.org/show_bug.cgi?id=122653

Reviewed by Darin Adler.

Source/WebCore:

Test: http/tests/inspector-protocol/loading-iframe-document-node.html

Renamed InspectorDOMAgent::loadEventFired to InspectorDOMAgent::didCommitLoad and moved the call site
from InspectorInstrumentation::loadEventFiredImpl to InspectorInstrumentation::didCommitLoadImpl.
This is to make sure that it will invalidate the content of the iframe as soon as the frame navigates
to a different page. This way the new node can be retrieved as soon as the page has some content, and
not just when the page is fully loaded.

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::didCommitLoad): Renamed from loadEventFired, as it is now called from
didCommitLoadImpl instead.
(WebCore::InspectorDOMAgent::frameDocumentUpdated): Updated comment to point to the new function name.
* inspector/InspectorDOMAgent.h:
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::loadEventFiredImpl): Removed call do InspectorDOMAgent.loadEventFired.
(WebCore::InspectorInstrumentation::didCommitLoadImpl): Added call to InspectorDOMAgent.didCommitLoad.

LayoutTests:

Added test to check that immediately after the scripting context is created, the
inspector already has access to the nodeId of the document of the iframe.

* http/tests/inspector-protocol/loading-iframe-document-node-expected.txt: Added.
* http/tests/inspector-protocol/loading-iframe-document-node.html: Added.
* http/tests/inspector-protocol/resources/slow-test-page.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157425 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, rolling out r157413.
commit-queue@webkit.org [Mon, 14 Oct 2013 21:59:41 +0000 (21:59 +0000)]
Unreviewed, rolling out r157413.
http://trac.webkit.org/changeset/157413
https://bugs.webkit.org/show_bug.cgi?id=122779

Appears to have caused frequent crashes (Requested by ap on
#webkit).

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
* JavaScriptCore.xcodeproj/project.pbxproj:
* heap/DeferGC.cpp: Removed.
* heap/DeferGC.h:
* jit/JITStubs.cpp:
(JSC::tryCacheGetByID):
(JSC::DEFINE_STUB_FUNCTION):
* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
* runtime/ConcurrentJITLock.h:
* runtime/InitializeThreading.cpp:
(JSC::initializeThreadingOnce):
* runtime/JSCellInlines.h:
(JSC::allocateCell):
* runtime/Structure.cpp:
(JSC::Structure::materializePropertyMap):
(JSC::Structure::putSpecificValue):
(JSC::Structure::createPropertyMap):
* runtime/Structure.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157424 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agohttps://bugs.webkit.org/show_bug.cgi?id=122774.
roger_fong@apple.com [Mon, 14 Oct 2013 21:45:13 +0000 (21:45 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=122774.
<rdar://problem/6138855>.

Reviewed by Brent Fulgham.

Add a field to keep track of hovered over index.
Use index to determine whether or not to use the existing selected index on the mouse down event.

* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::PopupMenuWin):
(WebCore::PopupMenuWin::show):
(WebCore::PopupMenuWin::wndProc):
* platform/win/PopupMenuWin.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoCOLLECT_ON_EVERY_ALLOCATION causes assertion failures
mhahnenberg@apple.com [Mon, 14 Oct 2013 21:41:13 +0000 (21:41 +0000)]
COLLECT_ON_EVERY_ALLOCATION causes assertion failures
https://bugs.webkit.org/show_bug.cgi?id=122652

Reviewed by Filip Pizlo.

COLLECT_ON_EVERY_ALLOCATION wasn't accounting for the new GC deferral mechanism,
so we would end up ASSERTing during garbage collection.

* heap/MarkedAllocator.cpp:
(JSC::MarkedAllocator::allocateSlowCase):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157422 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, fix the paths so that the test passes.
fpizlo@apple.com [Mon, 14 Oct 2013 21:11:50 +0000 (21:11 +0000)]
Unreviewed, fix the paths so that the test passes.

* js/regress/put-by-id.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157421 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSeparate out array iteration intrinsics
oliver@apple.com [Mon, 14 Oct 2013 21:08:37 +0000 (21:08 +0000)]
Separate out array iteration intrinsics
https://bugs.webkit.org/show_bug.cgi?id=122656

Reviewed by Michael Saboff.

Separate out the intrinsics for key and values iteration
of arrays.

This requires moving moving array iteration into the iterator
instance, rather than the prototype, but this is essentially
unobservable so we'll live with it for now.

* jit/ThunkGenerators.cpp:
(JSC::arrayIteratorNextThunkGenerator):
(JSC::arrayIteratorNextKeyThunkGenerator):
(JSC::arrayIteratorNextValueThunkGenerator):
* jit/ThunkGenerators.h:
* runtime/ArrayIteratorPrototype.cpp:
(JSC::ArrayIteratorPrototype::finishCreation):
* runtime/Intrinsic.h:
* runtime/JSArrayIterator.cpp:
(JSC::JSArrayIterator::finishCreation):
(JSC::createIteratorResult):
(JSC::arrayIteratorNext):
(JSC::arrayIteratorNextKey):
(JSC::arrayIteratorNextValue):
(JSC::arrayIteratorNextGeneric):
* runtime/VM.cpp:
(JSC::thunkGeneratorForIntrinsic):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoVirtualize PlatformCALayer
timothy_horton@apple.com [Mon, 14 Oct 2013 20:49:59 +0000 (20:49 +0000)]
Virtualize PlatformCALayer
https://bugs.webkit.org/show_bug.cgi?id=122672

Reviewed by Anders Carlsson.

No new tests, just a refactoring.

* WebCore.exp.in:
setGeometryFlipped is on PlatformCALayerMac now.

* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
Add PlatformCALayer.cpp, PlatformCALayerWin.h, and let VS do its
thing with some other files.

* WebCore.xcodeproj/project.pbxproj:
Add PlatformCALayer.cpp and PlatformCALayerMac.h.

* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::AVFWrapper::platformLayer):
Make a PlatformCALayerWin explicitly.

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::createPlatformCALayer):
Added. Decide whether to make a PlatformCALayer{Mac, Win} based on the platform.
Later, we will decide between other subclasses based on other things.

(WebCore::GraphicsLayerCA::filtersCanBeComposited):
Do the same thing for filtersCanBeComposited.

(WebCore::GraphicsLayerCA::GraphicsLayerCA):
(WebCore::GraphicsLayerCA::setContentsToSolidColor):
(WebCore::GraphicsLayerCA::setContentsToMedia):
(WebCore::GraphicsLayerCA::setContentsToCanvas):
(WebCore::GraphicsLayerCA::recursiveCommitChanges):
(WebCore::GraphicsLayerCA::ensureStructuralLayer):
(WebCore::GraphicsLayerCA::updateContentsImage):
(WebCore::GraphicsLayerCA::updateContentsRects):
(WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
Use createPlatformCALayer instead of PlatformCALayer::create.

* platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
For now, use the PlatformCALayerMac version of filtersCanBeComposited,
since this code is heavily tied to having CALayers in the Web process.

* platform/graphics/ca/GraphicsLayerCA.h:
Include PlatformCALayer.h here so we can get the LayerType enum.
(NOTE-to-be-removed: if there's a better way to do this, I'm open to
suggestions; I couldn't puzzle out nested 'enum class' stuff).

Add the createPlatformCALayers.

* platform/graphics/ca/PlatformCAAnimation.h:
Friend the subclasses too.

* platform/graphics/ca/PlatformCALayer.cpp: Added.
(WebCore::PlatformCALayer::~PlatformCALayer):
Pull the shared part of the PlatformCALayer destructor out.

* platform/graphics/ca/PlatformCALayer.h:
(WebCore::PlatformCALayer::platformLayer):
(WebCore::PlatformCALayer::setOwner):
(WebCore::PlatformCALayer::PlatformCALayer):
Virtualize all the things. Move platform specific members to their new subclasses.

* platform/graphics/ca/mac/PlatformCALayerMac.h: Added.
* platform/graphics/ca/mac/PlatformCALayerMac.mm:
Move the PLATFORM(MAC) implementations from PlatformCALayer to PlatformCALayerMac.

(PlatformCALayer::platformCALayer):
The platformCALayer lookup function is static on PlatformCALayer, so it can't
be moved to the subclasses. It might be a good idea in the future to move towards
a platform-independent mechanism for looking up PlatformCALayers from PlatformLayers,
and to avoid needing to do this as often as we do now.

* platform/graphics/ca/win/CACFLayerTreeHost.cpp:
(WebCore::CACFLayerTreeHost::CACFLayerTreeHost):
* platform/graphics/ca/win/PlatformCALayerWin.cpp:
Move the PLATFORM(WIN) implementations from PlatformCALayer to PlatformCALayerWin.

(PlatformCALayerWin::create):
(PlatformCALayer::platformCALayer):

* platform/graphics/ca/win/PlatformCALayerWin.h: Added.

* platform/graphics/win/GraphicsContext3DWin.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):
* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::createLayerForMovie):
Include PlatformCALayerWin.h and explicitly make PlatformCALayerWins here.

* FullscreenVideoController.cpp:
(FullscreenVideoController::FullscreenVideoController):
Include PlatformCALayerWin.h and explicitly make PlatformCALayerWins here.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157419 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[cmake] MediaControlsApple is used only by Efl port and is on CMakeLists.txt
hugo.lima@openbossa.org [Mon, 14 Oct 2013 20:44:58 +0000 (20:44 +0000)]
[cmake] MediaControlsApple is used only by Efl port and is on CMakeLists.txt
https://bugs.webkit.org/show_bug.cgi?id=122772

Reviewed by Anders Carlsson.

* CMakeLists.txt: Removed MediaControlsApple.cpp
* PlatformEfl.cmake: Added MediaControlsApple.cpp

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157418 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agowindow.crypto doesn't preserve custom properties
ap@apple.com [Mon, 14 Oct 2013 20:28:55 +0000 (20:28 +0000)]
window.crypto doesn't preserve custom properties
https://bugs.webkit.org/show_bug.cgi?id=122770

Reviewed by Mark Hahnenberg.

Source/WebCore:

Test: security/crypto-gc.html

Generate isReachableFromOpaqueRoots that makes Crypto live as long as the document
lives (because that's when it's observable through window object).

* page/Crypto.cpp:
(WebCore::Crypto::Crypto):
(WebCore::Crypto::~Crypto):
(WebCore::Crypto::document):
* page/Crypto.h:
(WebCore::Crypto::create):
Made Crypto a ContextDestructionObserver, so that it can report its document to bindings.
Removed ScriptWrappable, because it seems to have served no purpose in this class.

* page/Crypto.idl: Added GenerateIsReachable. Removed ImplementationLacksVTable,
because the class now has a vtable, and can be checked for bindings integrity.

* page/DOMWindow.cpp: (WebCore::DOMWindow::crypto): Pass a document when creating
crypto.

LayoutTests:

* security/crypto-gc-expected.txt: Added.
* security/crypto-gc.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157417 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoCTTE: NamedNodeMap always has a corresponding Element.
akling@apple.com [Mon, 14 Oct 2013 20:11:51 +0000 (20:11 +0000)]
CTTE: NamedNodeMap always has a corresponding Element.
<https://webkit.org/b/122769>

Reviewed by Anders Carlsson.

Made NamedNodeMap::m_element a reference and remove an assertion
that it's never null.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157416 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION(r157408): Crashes in RenderFullScreen::wrapRenderer().
akling@apple.com [Mon, 14 Oct 2013 19:53:01 +0000 (19:53 +0000)]
REGRESSION(r157408): Crashes in RenderFullScreen::wrapRenderer().

Unreviewed crash fix for these two tests:

- fullscreen/full-screen-restrictions.html
- fullscreen/empty-anonymous-block-continuation-crash.html

* rendering/RenderFullScreen.cpp:
(RenderFullScreen::wrapRenderer):

    Get the RenderArena from Document like we did before this patch.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157415 268f45cc-cd09-0410-ab3c-d52691b4dbfc