Bug 972691 - Fix for intermittent browser_bug_865871_variables_view_close_on_esc_key.js | This test exceeded the timeout threshold. a=test-only
authorMihai Sucan <mihai.sucan@gmail.com>
Tue, 25 Mar 2014 16:31:12 +0200
changeset 185133 63835526742f5c46e079fea87b11d33a42eada28
parent 185132 61a02b9640fef32b6246186a9a6ba0ba87217ed4
child 185134 b8da42fcc3021b8f77b7ad2b72562b98acf5e318
push id5524
push userryanvm@gmail.com
push dateThu, 27 Mar 2014 21:51:03 +0000
treeherdermozilla-aurora@b8da42fcc302 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs972691
milestone30.0a2
Bug 972691 - Fix for intermittent browser_bug_865871_variables_view_close_on_esc_key.js | This test exceeded the timeout threshold. a=test-only
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", {});
     });