diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug692300.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug692300.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug692300.js b/js/src/jit-test/tests/auto-regress/bug692300.js new file mode 100644 index 000000000..67698ee08 --- /dev/null +++ b/js/src/jit-test/tests/auto-regress/bug692300.js @@ -0,0 +1,10 @@ +// Binary: cache/js-dbg-64-38a487da2def-linux +// Flags: +// + +var x = newGlobal().Date; +var OBJ = new MyObject( new x(0) ); +try { eval("OBJ.valueOf()"); } catch(exc1) {} +function MyObject( value ) { + this.valueOf = x.prototype.valueOf; +} |