Should remove RuntimeEnabledFeatures::multipleShadowSubtreesEnabled
authorshinyak@chromium.org <shinyak@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Mar 2012 06:16:44 +0000 (06:16 +0000)
committershinyak@chromium.org <shinyak@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Mar 2012 06:16:44 +0000 (06:16 +0000)
commitd48caf6e6e74c3ed3ee8d0f9ef7ba18253c8e898
tree11cd0f530c71699683bd62e6339dd922c6b35321
parent63bff7251714762a0702d9605a880f0179b00528
Should remove RuntimeEnabledFeatures::multipleShadowSubtreesEnabled
https://bugs.webkit.org/show_bug.cgi?id=79307

Reviewed by Dimitri Glazkov.

Source/WebCore:

Since RuntimeEnabledFeatures::multipleShadowSubtreesEnabled was introduced for
temporal unstability of multiple shadow roots. We should remove it now, and
enable it by default.

Test: fast/dom/shadow/shadow-root-js-api.html should cover this change.
The other shadow related tests should also covers this change.

* WebCore.exp.in:
* bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore):
* bindings/generic/RuntimeEnabledFeatures.h:
(RuntimeEnabledFeatures):
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::create):
* dom/ShadowTree.cpp:
(WebCore::ShadowTree::addShadowRoot):
* testing/Internals.cpp:
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

LayoutTests:

Removed multipleShadowSubtresEnabled from tests.

* fast/dom/shadow/get-element-by-id-in-shadow-root.html:
* fast/dom/shadow/multiple-shadowroot-adopt.html:
* fast/dom/shadow/multiple-shadowroot-rendering.html:
* fast/dom/shadow/multiple-shadowroot.html:
* fast/dom/shadow/shadow-element-rendering-multiple.html:
* fast/dom/shadow/shadow-element-rendering-single.html:
* fast/dom/shadow/shadow-root-js-api-expected.txt:
* fast/dom/shadow/shadow-root-js-api.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root.html
LayoutTests/fast/dom/shadow/multiple-shadowroot-adopt.html
LayoutTests/fast/dom/shadow/multiple-shadowroot-rendering.html
LayoutTests/fast/dom/shadow/multiple-shadowroot.html
LayoutTests/fast/dom/shadow/shadow-element-rendering-multiple.html
LayoutTests/fast/dom/shadow/shadow-element-rendering-single.html
LayoutTests/fast/dom/shadow/shadow-root-js-api-expected.txt
LayoutTests/fast/dom/shadow/shadow-root-js-api.html
Source/WebCore/ChangeLog
Source/WebCore/WebCore.exp.in
Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
Source/WebCore/dom/ShadowRoot.cpp
Source/WebCore/dom/ShadowTree.cpp
Source/WebCore/testing/Internals.cpp
Source/WebCore/testing/Internals.h
Source/WebCore/testing/Internals.idl