summaryrefslogtreecommitdiff
path: root/dom/bindings/Codegen.py
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-05 10:28:42 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:23 -0500
commit3d44a0b7f022b9eb9c72042da2e76ac24278f496 (patch)
treedcc002ba3528471bbd4faefb2c149547ead2f517 /dom/bindings/Codegen.py
parent32f1ff0f8d3bf009f4e7b57dc75e86b5220f86ed (diff)
downloaduxp-3d44a0b7f022b9eb9c72042da2e76ac24278f496.tar.gz
Bug 1299363 - Part 2: Allow prototype swizzling in html constructor.
Tag UXP Issue #1344
Diffstat (limited to 'dom/bindings/Codegen.py')
-rw-r--r--dom/bindings/Codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/Codegen.py b/dom/bindings/Codegen.py
index 5bbf77bb60..730465fee7 100644
--- a/dom/bindings/Codegen.py
+++ b/dom/bindings/Codegen.py
@@ -7542,7 +7542,7 @@ class CGPerSignatureCall(CGThing):
argsPre.append("global")
if isConstructor and idlNode.isHTMLConstructor():
- argsPre.append("args")
+ argsPre.extend(["args", "desiredProto"])
# For JS-implemented interfaces we do not want to base the
# needsCx decision on the types involved, just on our extended