Bug 1723943: Disable bailout loop assertion during oomTest r=jandem

The testcase for this is slow and fragile, and I don't think it adds any value.

Differential Revision: https://phabricator.services.mozilla.com/D121779
This commit is contained in:
Iain Ireland 2021-08-05 16:28:57 +00:00
parent 3763c6780e
commit b14bc4ae8d

View File

@ -696,7 +696,8 @@ struct JS_PUBLIC_API JSContext : public JS::RootingContext,
public:
bool hadNondeterministicException() const {
return hadOverRecursed_ || runtime()->hadOutOfMemory;
return hadOverRecursed_ || runtime()->hadOutOfMemory ||
js::oom::simulator.isThreadSimulatingAny();
}
#endif