diff options
author | Timothy Guan-tin Chien <timdream@gmail.com> | 2018-11-15 06:51:07 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-11-17 09:56:02 +0100 |
commit | 3977854ee28b580d6aeeb38fe949b3431e671f00 (patch) | |
tree | d6809279883238faa9615ce9e536efd492fee593 /components/script/dom | |
parent | dad9ad6b31205ddd11733e674d2c569dbfe40694 (diff) | |
download | servo-3977854ee28b580d6aeeb38fe949b3431e671f00.tar.gz servo-3977854ee28b580d6aeeb38fe949b3431e671f00.zip |
Remove dom.webcomponents.shadowdom.enabled.
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
Diffstat (limited to 'components/script/dom')
0 files changed, 0 insertions, 0 deletions