diff options
Diffstat (limited to 'devtools/server/actors/webconsole/webidl-pure-allowlist.js')
-rw-r--r-- | devtools/server/actors/webconsole/webidl-pure-allowlist.js | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/devtools/server/actors/webconsole/webidl-pure-allowlist.js b/devtools/server/actors/webconsole/webidl-pure-allowlist.js new file mode 100644 index 0000000000..911dbfda85 --- /dev/null +++ b/devtools/server/actors/webconsole/webidl-pure-allowlist.js @@ -0,0 +1,72 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// This file is automatically generated by the GenerateDataFromWebIdls.py +// script. Do not modify it manually. +"use strict"; + +module.exports = { + DOMTokenList: [ + ["prototype", "item"], + ["prototype", "contains"], + ], + Document: [ + ["prototype", "getElementsByTagName"], + ["prototype", "getElementsByTagNameNS"], + ["prototype", "getElementsByClassName"], + ["prototype", "getElementById"], + ["prototype", "getElementsByName"], + ["prototype", "querySelector"], + ["prototype", "querySelectorAll"], + ["prototype", "createNSResolver"], + ], + Element: [ + ["prototype", "getAttributeNames"], + ["prototype", "getAttribute"], + ["prototype", "getAttributeNS"], + ["prototype", "hasAttribute"], + ["prototype", "hasAttributeNS"], + ["prototype", "hasAttributes"], + ["prototype", "closest"], + ["prototype", "matches"], + ["prototype", "webkitMatchesSelector"], + ["prototype", "getElementsByTagName"], + ["prototype", "getElementsByTagNameNS"], + ["prototype", "getElementsByClassName"], + ["prototype", "mozMatchesSelector"], + ["prototype", "querySelector"], + ["prototype", "querySelectorAll"], + ["prototype", "getAsFlexContainer"], + ["prototype", "getGridFragments"], + ["prototype", "hasGridFragments"], + ["prototype", "getElementsWithGrid"], + ], + FormData: [ + ["prototype", "entries"], + ["prototype", "keys"], + ["prototype", "values"], + ], + Headers: [ + ["prototype", "entries"], + ["prototype", "keys"], + ["prototype", "values"], + ], + Node: [ + ["prototype", "getRootNode"], + ["prototype", "hasChildNodes"], + ["prototype", "isSameNode"], + ["prototype", "isEqualNode"], + ["prototype", "compareDocumentPosition"], + ["prototype", "contains"], + ["prototype", "lookupPrefix"], + ["prototype", "lookupNamespaceURI"], + ["prototype", "isDefaultNamespace"], + ], + Performance: [["prototype", "now"]], + URLSearchParams: [ + ["prototype", "entries"], + ["prototype", "keys"], + ["prototype", "values"], + ], +}; |