Bug 972691 - Fix for intermittent browser_bug_865871_variables_view_close_on_esc_key.js | This test exceeded the timeout threshold; r=me
authorMihai Sucan <mihai.sucan@gmail.com>
Tue, 25 Mar 2014 16:31:12 +0200
changeset 175194 975105de85fed9e8e228557da0fb65494c61f2c8
parent 175193 297f406b73fb7b4e42f9074de18d4210181ed344
child 175195 a4c4616c884a1e52a07f54a32bec007843c34d3a
push id5904
push usermihai.sucan@gmail.com
push dateTue, 25 Mar 2014 14:32:24 +0000
treeherderfx-team@975105de85fe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs972691
milestone31.0a1
Bug 972691 - Fix for intermittent browser_bug_865871_variables_view_close_on_esc_key.js | This test exceeded the timeout threshold; r=me
browser/devtools/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js
--- a/browser/devtools/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js
+++ b/browser/devtools/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js
@@ -51,37 +51,37 @@ function test()
 
     executeSoon(() => {
       EventUtils.synthesizeKey("VK_ESCAPE", {});
     });
     yield jsterm.once("sidebar-closed");
 
     jsterm.clearOutput();
 
-    msg = yield execute("window");
+    msg = yield execute("window.location");
     ok(msg, "output message found");
 
     body = msg.querySelector(".body");
     ok(body, "message body");
     anchor = msg.querySelector("a");
     ok(anchor, "object anchor");
-    ok(body.textContent.contains("Window \u2192 http://example.com/browser/"),
+    ok(body.textContent.contains("Location \u2192 http://example.com/browser/"),
        "message text check");
 
     msg.scrollIntoView();
     executeSoon(() => {
       EventUtils.synthesizeMouse(anchor, 2, 2, {}, hud.iframeWindow)
     });
     vviewVar = yield jsterm.once("variablesview-fetched");
 
     vview = vviewVar._variablesView;
     ok(vview, "variables view object");
 
     yield findVariableViewProperties(vviewVar, [
-      { name: "foo", value: "globalFooBug783499" },
+      { name: "host", value: "example.com" },
     ], { webconsole: hud });
 
     vview.window.focus();
 
     msg.scrollIntoView();
     executeSoon(() => {
       EventUtils.synthesizeKey("VK_ESCAPE", {});
     });