Issue #1322 - Part 3: Remove DOM promise interface gunk

Based on work by Boris Zbarsky
This commit is contained in:
wolfbeast 2019-12-19 03:05:45 +01:00 • committed by Roy Tam
commit 15672c6231
13 changed files with 287 additions and 314 deletions

View file

@ -120,10 +120,6 @@ public:
return mGlobal;
}
bool
WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto,
JS::MutableHandle<JSObject*> aWrapper);
// Do the equivalent of Promise.resolve in the compartment of aGlobal. The
// compartment of aCx is ignored. Errors are reported on the ErrorResult; if
// aRv comes back !Failed(), this function MUST return a non-null value.