Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv

This commit is contained in:
Boris Zbarsky
2014-06-11 16:26:52 -04:00
parent 4abeb29251
commit f4496f1213
58 changed files with 493 additions and 337 deletions

View File

@@ -587,7 +587,8 @@ public:
AutoSafeJSContext cx;
ErrorResult error;
JS::Rooted<JS::Value> result(cx, mRequest->GetResult(error));
JS::Rooted<JS::Value> result(cx);
mRequest->GetResult(cx, &result, error);
if (NS_WARN_IF(error.Failed())) {
return error.ErrorCode();
}