Bug 1002709 - Fix regexp in cross-context-stack-1.js jit-test to not match the "beta" in the path name after a merge. r=luke
authorJan de Mooij <jdemooij@mozilla.com>
Tue, 29 Apr 2014 00:12:51 +0200
changeset 184080 8c0472ba16c86cae84572b344267ae8e82915002
parent 184079 c3f1ab75ea51699a8734ff2435183548da7b9117
child 184081 2e249337577e3e456c627663d026c73d4fc08a01
push id43756
push userjandemooij@gmail.com
push dateWed, 21 May 2014 08:35:31 +0000
treeherdermozilla-inbound@e8edc293a081 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1002709
milestone32.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 1002709 - Fix regexp in cross-context-stack-1.js jit-test to not match the "beta" in the path name after a merge. r=luke
js/src/jit-test/tests/basic/cross-context-stack-1.js
--- a/js/src/jit-test/tests/basic/cross-context-stack-1.js
+++ b/js/src/jit-test/tests/basic/cross-context-stack-1.js
@@ -1,21 +1,21 @@
 // Error().stack (ScriptFrameIter) is no longer context-bound.
 function beta() {
     evaluate("function gamma() {\nstack = Error().stack;\n };\n gamma();", {newContext: true});
 }
 function alpha() {
     beta();
 }
 alpha();
-assertEq(/alpha/.test(stack), true);
-assertEq(/beta/.test(stack), true);
-assertEq(/gamma/.test(stack), true);
-assertEq(/delta/.test(stack), false);
+assertEq(/alpha@/.test(stack), true);
+assertEq(/beta@/.test(stack), true);
+assertEq(/gamma@/.test(stack), true);
+assertEq(/delta@/.test(stack), false);
 
 function delta() {
     evaluate("stack = Error().stack", {newContext: true});
 }
 delta();
-assertEq(/alpha/.test(stack), false);
-assertEq(/beta/.test(stack), false);
-assertEq(/gamma/.test(stack), false);
-assertEq(/delta/.test(stack), true);
+assertEq(/alpha@/.test(stack), false);
+assertEq(/beta@/.test(stack), false);
+assertEq(/gamma@/.test(stack), false);
+assertEq(/delta@/.test(stack), true);