tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

webidl-pure-allowlist.js (1987B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 // This file is automatically generated by the GenerateDataFromWebIdls.py
      6 // script. Do not modify it manually.
      7 "use strict";
      8 
      9 module.exports = {
     10  DOMTokenList: {
     11    prototype: ["item", "contains"],
     12  },
     13  Document: {
     14    prototype: [
     15      "getSelection",
     16      "hasStorageAccess",
     17      "getElementsByTagName",
     18      "getElementsByTagNameNS",
     19      "getElementsByClassName",
     20      "getElementsByName",
     21      "getElementById",
     22      "querySelector",
     23      "querySelectorAll",
     24      "createNSResolver",
     25    ],
     26  },
     27  Element: {
     28    prototype: [
     29      "getAttributeNames",
     30      "getAttribute",
     31      "getAttributeNS",
     32      "hasAttribute",
     33      "hasAttributeNS",
     34      "hasAttributes",
     35      "closest",
     36      "matches",
     37      "webkitMatchesSelector",
     38      "getElementsByTagName",
     39      "getElementsByTagNameNS",
     40      "getElementsByClassName",
     41      "mozMatchesSelector",
     42      "getAsFlexContainer",
     43      "getGridFragments",
     44      "hasGridFragments",
     45      "getElementsWithGrid",
     46      "querySelector",
     47      "querySelectorAll",
     48    ],
     49  },
     50  FormData: {
     51    prototype: ["entries", "keys", "values"],
     52  },
     53  Headers: {
     54    prototype: ["entries", "keys", "values"],
     55  },
     56  Node: {
     57    prototype: [
     58      "getRootNode",
     59      "hasChildNodes",
     60      "isSameNode",
     61      "isEqualNode",
     62      "compareDocumentPosition",
     63      "contains",
     64      "lookupPrefix",
     65      "lookupNamespaceURI",
     66      "isDefaultNamespace",
     67    ],
     68  },
     69  Performance: {
     70    prototype: ["now"],
     71  },
     72  Range: {
     73    prototype: [
     74      "isPointInRange",
     75      "comparePoint",
     76      "intersectsNode",
     77      "getClientRects",
     78      "getBoundingClientRect",
     79    ],
     80  },
     81  Selection: {
     82    prototype: ["getRangeAt", "containsNode"],
     83  },
     84  URLSearchParams: {
     85    prototype: ["entries", "keys", "values"],
     86  },
     87 };