mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Issue #1322 - Part 3: Remove DOM promise interface gunk
Based on work by Boris Zbarsky
This commit is contained in:
parent
48adbfd454
commit
15672c6231
13 changed files with 287 additions and 314 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue