Bug 832103 - Add a regression test for the given bug; r=bhackett DONTBUILD
authorTerrence Cole <terrence@mozilla.com>
Tue, 05 Feb 2013 09:47:53 -0800
changeset 130781 36e03cf9cb413b2a92f2f9cf4368d90ae26a3dda
parent 130780 88c2a0a35a65800e24341cc1f6b99a12e7569974
child 130782 5b7bf70c3be2847b4666c7fad0a58ca53630419a
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs832103
milestone21.0a1
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
Bug 832103 - Add a regression test for the given bug; r=bhackett DONTBUILD
js/src/jit-test/tests/gc/bug-832103.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/gc/bug-832103.js
@@ -0,0 +1,27 @@
+//|jit-test| error:TypeError;mjitalways
+RegExp("").exec()
+Object.defineProperty(this, "x", {
+    get: function() {
+        return new Array
+    }
+})
+Object.defineProperty(this, "y", {
+    get: function() {
+        return [function() {}, 0, 0, 0, 0, 0, 0]
+    }
+})
+r = RegExp("");
+uneval(undefined)
+with({
+    b: gczeal(9, 2)
+});
+r = /()/;
+y.sort(function(j) {
+    if (j) {
+        a =
+        new
+        Array
+    } else {
+        x.v()
+    }
+})