diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /js/src/jit-test/tests/basic/bug1219128-7.js | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/jit-test/tests/basic/bug1219128-7.js')
-rw-r--r-- | js/src/jit-test/tests/basic/bug1219128-7.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug1219128-7.js b/js/src/jit-test/tests/basic/bug1219128-7.js new file mode 100644 index 0000000000..87ec092f87 --- /dev/null +++ b/js/src/jit-test/tests/basic/bug1219128-7.js @@ -0,0 +1,34 @@ +// |jit-test| slow; skip-if: !('oomTest' in this) + +function main() { + const v1 = this.newGlobal(); + function v2(v3,v4) { + oomTest(() => { + const v13 = this.parseModule("apply"); + const v14 = {}; + const v15 = v14.size; + const v17 = Uint16Array !== v15; + const v18 = v17 && Uint16Array; + const v20 = this.objectGlobal(v18); + const v21 = v20.newGlobal(); + const v24 = this.resumeProfilers(); + const v25 = v24 && v21; + const v26 = v25.evalInWorker("9007199254740991"); + function v27(v28,v29) { + } + const v31 = new Promise(v27); + const v33 = this.getModuleEnvironmentNames(v13); + }); + } + const v36 = new Promise(v2); + const v37 = v1.Debugger; + const v38 = v37(); + const v39 = v38.findAllGlobals(); + const v40 = v39.pop(); + const v41 = v40.getOwnPropertyDescriptor(v37); + gc(); +} +try { + main(); +} catch(exn) { +} |