Bug 1352406 - Back out changeset 9f7debc99bf8 (bug 418833). a=lizzard
authorMike Conley <mconley@mozilla.com>
Fri, 31 Mar 2017 09:41:02 -0400
changeset 379427 6232ab8c49a1975c0bbc31a20fbdf502a9adb218
parent 379426 1f94cae5a27284c114b1f568a14c372345fd60d2
child 379428 756c82559f94e8ac09f8d3e906d03683e57aad9d
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslizzard
bugs1352406, 418833
milestone53.0
Bug 1352406 - Back out changeset 9f7debc99bf8 (bug 418833). a=lizzard MozReview-Commit-ID: EThljjMniOt
devtools/client/framework/test/browser_toolbox_options.js
--- a/devtools/client/framework/test/browser_toolbox_options.js
+++ b/devtools/client/framework/test/browser_toolbox_options.js
@@ -100,25 +100,16 @@ function* testOptionsShortcut() {
   is(toolbox.currentToolId, "webconsole", "webconsole is reselected (2)");
   synthesizeKeyShortcut(L10N.getStr("toolbox.help.key"));
   is(toolbox.currentToolId, "options", "Toolbox selected via shortcut key (2)");
 }
 
 function* testOptions() {
   let tool = toolbox.getPanel("options");
   panelWin = tool.panelWin;
-
-  // It's possible that the iframe for options hasn't fully loaded yet,
-  // and might be paint-suppressed, which means that clicking things
-  // might not work just yet. The "load" event is a good indication that
-  // we're ready to proceed.
-  if (tool.panelDoc.readyState != "complete") {
-    yield once(tool.panelWin, "load");
-  }
-
   let prefNodes = tool.panelDoc.querySelectorAll(
     "input[type=checkbox][data-pref]");
 
   // Store modified pref names so that they can be cleared on error.
   for (let node of tool.panelDoc.querySelectorAll("[data-pref]")) {
     let pref = node.getAttribute("data-pref");
     modifiedPrefs.push(pref);
   }