mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 12:07:34 +09:00
Bug 1334314 - Fix debug mode OSR exception handling for IteratorClose trynotes
Issue #74
This commit is contained in:
parent
4ac4296fce
commit
b0960bf497
2 changed files with 48 additions and 9 deletions
16
js/src/jit-test/tests/ion/bug1334314.js
Normal file
16
js/src/jit-test/tests/ion/bug1334314.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// |jit-test| error: TypeError
|
||||
|
||||
var g = newGlobal();
|
||||
g.parent = this;
|
||||
g.eval("new Debugger(parent).onExceptionUnwind = function () { };");
|
||||
|
||||
function f() {
|
||||
[[]] = [];
|
||||
}
|
||||
try {
|
||||
f();
|
||||
} catch (e) {};
|
||||
try {
|
||||
f();
|
||||
} catch (e) {};
|
||||
f();
|
||||
Loading…
Add table
Add a link
Reference in a new issue