blob: eff548c8b5dad29a4ce051680b0785339928fb6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
load(libdir + "evalInFrame.js");
function callee() {
evalInFrame(1, "x = 'success'");
}
function caller() {
var x = "failure";
callee();
return x;
}
assertEq(caller(), "success");
|