Bug 1413867 - Remove StopIteration object. r=evilpie

This commit is contained in:
Jan de Mooij
2017-11-05 19:01:04 +01:00
parent 57cd5740a8
commit 37b8f5c8c3
20 changed files with 31 additions and 251 deletions

View File

@@ -1076,9 +1076,6 @@ WrapperOwner::ok(JSContext* cx, const ReturnStatus& status)
if (status.type() == ReturnStatus::TReturnSuccess)
return true;
if (status.type() == ReturnStatus::TReturnStopIteration)
return JS_ThrowStopIteration(cx);
if (status.type() == ReturnStatus::TReturnDeadCPOW) {
JS_ReportErrorASCII(cx, "operation not possible on dead CPOW");
return false;