gecko-dev/layout/reftests/webcomponents
Timothy Guan-tin Chien 2b5881e46b Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183

--HG--
extra : moz-landing-system : lando
2018-11-15 06:51:07 +00:00
..
basic-shadow-1-ref.html
basic-shadow-1.html
basic-shadow-2-ref.html
basic-shadow-2.html
basic-shadow-3-ref.html
basic-shadow-3.html
basic-shadow-4-ref.html
basic-shadow-4.html
basic-slot-1-ref.html
basic-slot-1.html
basic-slot-2-ref.html
basic-slot-2.html
basic-slot-3-ref.html
basic-slot-3.html
basic-slot-4.html
basic-slot-5-ref.html
basic-slot-5.html
basic-slot-6-ref.html
basic-slot-6.html
cross-tree-selection-1-ref.html
cross-tree-selection-1.html Bug 1453789: Remove Element.createShadowRoot. r=smaug 2018-04-13 20:51:55 +02:00
dynamic-insertion-point-distribution-1-ref.html
dynamic-insertion-point-distribution-1.html
dynamic-insertion-point-distribution-2-ref.html
dynamic-insertion-point-distribution-2.html
fallback-content-1-ref.html
fallback-content-1.html
input-transition-1-ref.html
input-transition-1.html
nested-insertion-point-1-ref.html
nested-insertion-point-1.html
reframe-shadow-child-1.html
reframe-shadow-child-2.html
reframe-shadow-child-ref.html
reftest.list Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug 2018-11-15 06:51:07 +00:00
remove-append-shadow-host-1-ref.html
remove-append-shadow-host-1.html
remove-insertion-point-1-ref.html
remove-insertion-point-1.html
shadow-style-1-ref.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-1.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-2-ref.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-2.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-3-ref.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-3.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
style-sharing-across-shadow.html
style-sharing-ref.html
style-sharing.html
update-dist-node-descendants-1-ref.html
update-dist-node-descendants-1.html