Backed out changeset d1e3ce033c7a (bug 1150005) for leaks
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 14 Apr 2015 23:21:08 -0400
changeset 258478 4f36d5aff5cf
parent 258477 91df81e2edac
child 258479 baa8222aaafd
push id4677
push userryanvm@gmail.com
push date2015-04-15 03:21 +0000
treeherdermozilla-beta@4f36d5aff5cf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1150005
milestone38.0
backs outd1e3ce033c7a
Backed out changeset d1e3ce033c7a (bug 1150005) for leaks
browser/devtools/styleeditor/test/browser_styleeditor_fetch-from-cache.js
--- a/browser/devtools/styleeditor/test/browser_styleeditor_fetch-from-cache.js
+++ b/browser/devtools/styleeditor/test/browser_styleeditor_fetch-from-cache.js
@@ -18,18 +18,18 @@ add_task(function() {
   let netmonitor = toolbox.getPanel("netmonitor");
 
   info("Navigating to test page");
   yield navigateTo(TEST_URL);
 
   info("Opening Style Editor");
   let styleeditor = yield toolbox.selectTool("styleeditor");
 
-  info("Waiting for the source to be loaded.");
-  yield styleeditor.UI.editors[0].getSourceEditor();
+  info("Waiting for an editor to be selected.");
+  yield styleeditor.UI.once("editor-selected");
 
   info("Checking Netmonitor contents.");
   let requestsForCss = 0;
   for (let item of netmonitor._view.RequestsMenu) {
     if (item.attachment.url.endsWith("doc_uncached.css")) {
       requestsForCss++;
     }
   }