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

@ -69,7 +69,7 @@ ToJSValue(JSContext* aCx, Promise& aArgument,
JS::MutableHandle<JS::Value> aValue)
{
aValue.setObject(*aArgument.PromiseObj());
return true;
return MaybeWrapObjectValue(aCx, aValue);
}
} // namespace dom