mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

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