mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add passing test for bug 826124 which went away with JM. no_r=me.
This commit is contained in:
parent
eaed0740bc
commit
c64bbbeaf4
14
js/src/jit-test/tests/basic/bug-826124.js
Normal file
14
js/src/jit-test/tests/basic/bug-826124.js
Normal file
@ -0,0 +1,14 @@
|
||||
var x = {};
|
||||
function f() { y.prop; }
|
||||
x.toStr = function () { f(); };
|
||||
try {
|
||||
f();
|
||||
} catch (e) { }
|
||||
try {
|
||||
x.toStr();
|
||||
} catch (e) { }
|
||||
try {
|
||||
function f() { which = 2; }
|
||||
x.toStr();
|
||||
} catch (e) { which = 1; }
|
||||
assertEq(which, 2);
|
Loading…
Reference in New Issue
Block a user