Bug 1193583 - Fix scratchpad test that expects vars introduced by webconsole's JS evaluation to be configurable. (r=jimb)

The situation has changed.
This commit is contained in:
Shu-yu Guo 2015-08-30 15:08:19 -07:00
parent 59c1ee459d
commit 5b06dcdf59

View File

@ -111,7 +111,7 @@ function runTests()
{
method: "run",
prepare: function() {
sp.editor.setText("var foobarBug636725cache = 'foo';" +
sp.editor.setText("window.foobarBug636725cache = 'foo';" +
"typeof foobarBug636725cache;");
},
then: function([, , result]) {
@ -122,7 +122,7 @@ function runTests()
{
method: "run",
prepare: function() {
sp.editor.setText("var foobarBug636725cache2 = 'foo';" +
sp.editor.setText("window.foobarBug636725cache2 = 'foo';" +
"typeof foobarBug636725cache2;");
},
then: function([, , result]) {
@ -152,4 +152,4 @@ function runTests()
"delete foobarBug636725cache2;");
sp.run().then(finish);
});
}
}