Add test for bug 880377 rs=tests
authorNicholas D. Matsakis <nmatsakis@mozilla.com>
Fri, 12 Jul 2013 17:01:43 -0400
changeset 138398 7b576d83f89f67f494b754031f35ec0fddc6935d
parent 138397 e6bda3437a7cc59002e3bcddab79a91196485fe7
child 138399 0b8c0b71c5568b490192faa430a1c5f0d96d484f
push id24954
push useremorley@mozilla.com
push dateMon, 15 Jul 2013 09:51:08 +0000
treeherdermozilla-central@ff0a372e3170 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstests
bugs880377
milestone25.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
Add test for bug 880377 rs=tests
js/src/jit-test/tests/basic/bug880377.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug880377.js
@@ -0,0 +1,10 @@
+var actual = '';
+var obj0 = {}
+obj2 = {};
+obj2['b'+1] = 1;
+if (actual[0] != 0[0])
+  throw new i();
+for (var k in obj2) {
+  for (var apply in obj0)
+    ++count;
+}
\ No newline at end of file