Bug 794700 - Remove a test exercising dead code; r=billm
authorTerrence Cole <terrence@mozilla.com>
Wed, 26 Sep 2012 18:04:35 -0700
changeset 108227 ddf584176a04d21fa0d237827b98ed3a5e59da2a
parent 108226 54fcc112182404252bad67d114231e6b815af823
child 108228 7faf6b82017faa0423237cbe1ccacc958ce29b4e
push id23545
push useremorley@mozilla.com
push dateThu, 27 Sep 2012 10:56:50 +0000
treeherdermozilla-central@aacf4867f830 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm
bugs794700
milestone18.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 794700 - Remove a test exercising dead code; r=billm
js/src/tests/js1_8_5/regress/regress-610026.js
--- a/js/src/tests/js1_8_5/regress/regress-610026.js
+++ b/js/src/tests/js1_8_5/regress/regress-610026.js
@@ -41,25 +41,9 @@ try {
     eval(s);
     actual = "fail: expected InternalError: program too large";
 } catch (e) {
     actual = (e.message == "program too large") ? "pass" : "fail: " + e;
 }
 
 assertEq(actual, expect);
 
-/* Make 64K blocks in a row, each with two vars, the second one named x. */
-s = "{let y, x;}";
-for (i = 0; i < 16; i++)
-    s += s;
-
-/* Now append code to alias block 0 and botch a JS_NOT_REACHED or get the wrong x. */
-s += "var g; { let x = 42; g = function() { return x; }; x = x; }";
-
-try {
-    eval(s);
-    actual = g();
-} catch (e) {
-    actual = e;
-}
-assertEq(actual, 42);
-
 reportCompare(0, 0, "ok");