mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1791975 - Add test r=jandem
Depends on D158022 Differential Revision: https://phabricator.services.mozilla.com/D159025
This commit is contained in:
parent
ccd11e95a6
commit
ee2bd0d3e2
13
js/src/jit-test/tests/gc/bug-1791975.js
Normal file
13
js/src/jit-test/tests/gc/bug-1791975.js
Normal file
@ -0,0 +1,13 @@
|
||||
// |jit-test| skip-if: !('oomAtAllocation' in this)
|
||||
|
||||
gczeal(10, 10);
|
||||
try {
|
||||
throw 0;
|
||||
} catch {
|
||||
for (let i = 1; i < 20 ; i++) {
|
||||
oomAtAllocation(i);
|
||||
try {
|
||||
newGlobal();
|
||||
} catch {}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user