diff options
Diffstat (limited to 'dom/bindings/ToJSValue.cpp')
-rw-r--r-- | dom/bindings/ToJSValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/ToJSValue.cpp b/dom/bindings/ToJSValue.cpp index 19219f4321..7afff41e2a 100644 --- a/dom/bindings/ToJSValue.cpp +++ b/dom/bindings/ToJSValue.cpp @@ -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 |