mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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
This commit is contained in:
parent
afbffbcd64
commit
fede95b520
@ -6,16 +6,16 @@ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user