Prevent creation of detached frames in ShadowRoot
https://bugs.webkit.org/show_bug.cgi?id=102333

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-11-15
Reviewed by Dimitri Glazkov.

Source/WebCore:

Similar to Bug 94717 you can create a loaded iframe in a detached
subtree using ShadowRoot. To fix this we just need to make
SubframeLoadingDisabler traverse through shadow boundaries.

Test: fast/frames/detached-shadow-frame.html

* html/HTMLFrameOwnerElement.h:
(WebCore::SubframeLoadingDisabler::canLoadFrame):

LayoutTests:

Test that you cannot create a detached frame using a ShadowRoot
and iframe unload handlers.

* fast/frames/detached-shadow-frame-expected.txt: Added.
* fast/frames/detached-shadow-frame.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Gardening.

Move some expectations from efl-wk1/ to efl/ since they should
work for both ports (and were originally there).

Skip an additional HiDPI test.

* platform/efl-wk1/fast/borders: Removed.
* platform/efl-wk1/fast/borders/border-radius-wide-border-01-expected.png: Removed.
* platform/efl-wk1/fast/borders/borderRadiusInset01-expected.png: Removed.
* platform/efl-wk1/fast/css: Removed.
* platform/efl-wk1/fast/css/text-overflow-ellipsis-bidi-expected.png: Removed.
* platform/efl-wk1/fast/css/text-overflow-ellipsis-expected.png: Removed.
* platform/efl-wk1/fast/css/text-overflow-ellipsis-strict-expected.png: Removed.
* platform/efl-wk1/fast/css/text-overflow-ellipsis-text-align-center-expected.png: Removed.
* platform/efl-wk1/fast/css/text-overflow-input-expected.png: Removed.
* platform/efl-wk1/fast/css/text-overflow-input-expected.txt: Removed.
* platform/efl-wk1/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png: Removed.
* platform/efl-wk1/fast/forms/menulist-clip-expected.png: Removed.
* platform/efl-wk1/fast/forms/menulist-option-wrap-expected.png: Removed.
* platform/efl-wk1/fast/forms/select-empty-option-height-expected.png: Removed.
* platform/efl-wk1/fast/media: Removed.
* platform/efl-wk1/fast/media/mq-js-media-except-01-expected.png: Removed.
* platform/efl-wk1/fast/media/mq-js-media-except-01-expected.txt: Removed.
* platform/efl-wk1/fast/repaint/control-clip-expected.png: Removed.
* platform/efl-wk1/svg/dom: Removed.
* platform/efl-wk1/svg/dom/SVGLengthList-appendItem-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGLengthList-basics-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGLengthList-getItem-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGLengthList-initialize-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGLengthList-insertItemBefore-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGLengthList-removeItem-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGLengthList-replaceItem-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGNumberList-basics-expected.png: Removed.
* platform/efl-wk1/svg/dom/SVGTransformList-basics-expected.png: Removed.
* platform/efl/TestExpectations:
* platform/efl/fast/borders/border-radius-wide-border-01-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/borders/border-radius-wide-border-01-expected.png.
* platform/efl/fast/borders/border-radius-wide-border-05-expected.png: Added.
* platform/efl/fast/borders/borderRadiusInset01-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/borders/borderRadiusInset01-expected.png.
* platform/efl/fast/css/text-overflow-ellipsis-bidi-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/css/text-overflow-ellipsis-bidi-expected.png.
* platform/efl/fast/css/text-overflow-ellipsis-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/css/text-overflow-ellipsis-expected.png.
* platform/efl/fast/css/text-overflow-ellipsis-strict-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/css/text-overflow-ellipsis-strict-expected.png.
* platform/efl/fast/css/text-overflow-ellipsis-text-align-center-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/css/text-overflow-ellipsis-text-align-center-expected.png.
* platform/efl/fast/css/text-overflow-input-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/css/text-overflow-input-expected.png.
* platform/efl/fast/css/text-overflow-input-expected.txt: Copied from LayoutTests/platform/efl-wk1/fast/css/text-overflow-input-expected.txt.
* platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png.
* platform/efl/fast/forms/menulist-clip-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/forms/menulist-clip-expected.png.
* platform/efl/fast/forms/menulist-option-wrap-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/forms/menulist-option-wrap-expected.png.
* platform/efl/fast/forms/select-empty-option-height-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/forms/select-empty-option-height-expected.png.
* platform/efl/fast/forms/zoomed-controls-expected.png: Added.
* platform/efl/fast/media/mq-js-media-except-01-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/media/mq-js-media-except-01-expected.png.
* platform/efl/fast/media/mq-js-media-except-01-expected.txt: Copied from LayoutTests/platform/efl-wk1/fast/media/mq-js-media-except-01-expected.txt.
* platform/efl/fast/repaint/control-clip-expected.png: Copied from LayoutTests/platform/efl-wk1/fast/repaint/control-clip-expected.png.
* platform/efl/svg/dom/SVGLengthList-appendItem-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGLengthList-appendItem-expected.png.
* platform/efl/svg/dom/SVGLengthList-basics-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGLengthList-basics-expected.png.
* platform/efl/svg/dom/SVGLengthList-getItem-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGLengthList-getItem-expected.png.
* platform/efl/svg/dom/SVGLengthList-initialize-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGLengthList-initialize-expected.png.
* platform/efl/svg/dom/SVGLengthList-insertItemBefore-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGLengthList-insertItemBefore-expected.png.
* platform/efl/svg/dom/SVGLengthList-removeItem-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGLengthList-removeItem-expected.png.
* platform/efl/svg/dom/SVGLengthList-replaceItem-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGLengthList-replaceItem-expected.png.
* platform/efl/svg/dom/SVGNumberList-basics-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGNumberList-basics-expected.png.
* platform/efl/svg/dom/SVGTransformList-basics-expected.png: Copied from LayoutTests/platform/efl-wk1/svg/dom/SVGTransformList-basics-expected.png.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Cleanup test expectations after rebaseline r134668
https://bugs.webkit.org/show_bug.cgi?id=101974

Unreviewed

* platform/chromium/TestExpectations:


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