Bug 1857925 - Unnecessary JSAutoRealm. r=saschanaz

Differential Revision: https://phabricator.services.mozilla.com/D191846
This commit is contained in:
Tom Schuster 2023-10-27 14:20:24 +00:00
parent b11e2be835
commit ab3055166a

View File

@ -295,7 +295,6 @@ class ReadableStreamFromAlgorithms final
}
JS::Rooted<JSObject*> iterResult(aCx, &aIterResult.toObject());
JSAutoRealm ar(aCx, iterResult);
// Step 4.2. Let done be ? IteratorComplete(iterResult).
bool done = false;