Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user