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

@ -3433,7 +3433,7 @@ GetCustomElementReactionsStack(JS::Handle<JSObject*> aObj);
// that constructor function.
already_AddRefed<nsGenericHTMLElement>
CreateHTMLElement(const GlobalObject& aGlobal, const JS::CallArgs& aCallArgs,
ErrorResult& aRv);
JS::Handle<JSObject*> aGivenProto, ErrorResult& aRv);
void
SetDocumentAndPageUseCounter(JSContext* aCx, JSObject* aObject,