Bug 1299363 - Part 2: Allow prototype swizzling in html constructor.

Tag UXP Issue #1344
This commit is contained in:
Gaming4JC 2020-01-05 10:28:42 -05:00 • committed by Roy Tam
commit a35a4e8f12
3 changed files with 20 additions and 4 deletions

View file

@ -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