forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1846247: Check for OOM in FinishDynamicModuleImport_impl r=jonco
I'm not including the fuzz testcase here because it's slow and didn't reduce well, and I don't think these OOM testcases add much value. Differential Revision: https://phabricator.services.mozilla.com/D184955
- Loading branch information
1 parent
a882aff
commit 3c86fa0
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// |jit-test| skip-if: !('oomTest' in this); allow-unhandlable-oom | ||
ignoreUnhandledRejections(); | ||
oomTest(() => { | ||
gc(); | ||
import("javascript:0"); | ||
drainJobQueue(); | ||
}); |