Backed out changeset b87d0d68c15a (bug 1333385)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 03 Feb 2017 15:10:45 +0100
changeset 375896 e8cb89ffc23fdb30f8fe238486fcf6c345a99525
parent 375895 a00b321f8c49214f37243f3abdd987b527038fba
child 375897 2ec21157f2b5cb7ae7644d733ee0bb0451ae3d31
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1333385
milestone53.0a2
backs outb87d0d68c15a657dad84da7a93d564d228b69387
Backed out changeset b87d0d68c15a (bug 1333385)
devtools/client/netmonitor/test/browser_net_json-b64.js
--- a/devtools/client/netmonitor/test/browser_net_json-b64.js
+++ b/devtools/client/netmonitor/test/browser_net_json-b64.js
@@ -18,23 +18,23 @@ add_task(function* () {
   RequestsMenu.lazyUpdate = false;
 
   let wait = waitForNetworkEvents(monitor, 1);
   yield ContentTask.spawn(tab.linkedBrowser, {}, function* () {
     content.wrappedJSObject.performRequests();
   });
   yield wait;
 
-  wait = waitForDOM(document, "#response-panel");
+  wait = waitForDOM(document, "#panel-3");
   EventUtils.sendMouseEvent({ type: "mousedown" },
     document.getElementById("details-pane-toggle"));
-  document.querySelector("#response-tab").click();
+  document.querySelector("#tab-3 a").click();
   yield wait;
 
-  let tabpanel = document.querySelector("#response-panel");
+  let tabpanel = document.querySelector("#panel-3");
 
   is(tabpanel.querySelector(".response-error-header") === null, true,
     "The response error header doesn't have the intended visibility.");
   let jsonView = tabpanel.querySelector(".tree-section .treeLabel") || {};
   is(jsonView.textContent === L10N.getStr("jsonScopeName"), true,
     "The response json view has the intended visibility.");
   is(tabpanel.querySelector(".editor-mount iframe") === null, true,
     "The response editor doesn't have the intended visibility.");