Added test cases for bug 588363 (no_r=me).
authorDavid Anderson <danderson@mozilla.com>
Thu, 09 Sep 2010 14:29:03 -0700
changeset 53630 82f10327da3862ec844bfbdd122b91e07e5961c7
parent 53629 5a973e61c10227c42c5b6572c957db62948e0d8d
child 53631 bd083de5575d54b98afcfc3df4aaf316adbb7ae1
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs588363
milestone2.0b6pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Added test cases for bug 588363 (no_r=me).
js/src/trace-test/tests/jaeger/bug588363-1.js
js/src/trace-test/tests/jaeger/bug588363-2.js
new file mode 100644
--- /dev/null
+++ b/js/src/trace-test/tests/jaeger/bug588363-1.js
@@ -0,0 +1,5 @@
+({eval} = Object.defineProperty(evalcx("lazy"), "", {}))
+eval("eval(/x/)", [])
+
+/* Don't assert or crash. */
+
new file mode 100644
--- /dev/null
+++ b/js/src/trace-test/tests/jaeger/bug588363-2.js
@@ -0,0 +1,6 @@
+with(evalcx('')) {
+    eval("x", this.__defineGetter__("x", Function))
+}
+
+/* Don't assert or crash. */
+