mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 13:37:58 +01:00
Also force global DOM constructor properties onto the global.
This commit is contained in:
@@ -597,7 +597,9 @@ const JavaScript = Module("javascript", {
|
|||||||
"RangeError", "ReferenceError", "RegExp", "String",
|
"RangeError", "ReferenceError", "RegExp", "String",
|
||||||
"SyntaxError", "TypeError", "URIError", "decodeURI",
|
"SyntaxError", "TypeError", "URIError", "decodeURI",
|
||||||
"decodeURIComponent", "encodeURI", "encodeURIComponent", "eval",
|
"decodeURIComponent", "encodeURI", "encodeURIComponent", "eval",
|
||||||
"isFinite", "isNaN", "parseFloat", "parseInt", "undefined"],
|
"isFinite", "isNaN", "parseFloat", "parseInt", "undefined"].concat(
|
||||||
|
[k.substr(6) for (k in keys(Ci)) if (/^nsIDOM/.test(k))]
|
||||||
|
.filter(function (k) k in window)),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Installs argument string completers for a set of functions.
|
* Installs argument string completers for a set of functions.
|
||||||
|
|||||||
Reference in New Issue
Block a user