Bug 1128027 - Repair sourceeditor test after protocol.js cleanup change. r=bgrins a=lsblakk
💩💩 backed out by 6f6ec57ce6b9 💩 💩
authorJ. Ryan Stinnett <jryans@gmail.com>
Fri, 27 Feb 2015 17:51:45 -0600
changeset 250127 4c02cca13dbe
parent 250126 021aac3d7804
child 250128 569e2110f0ff
push id4508
push userjryans@gmail.com
push date2015-02-27 23:52 +0000
treeherdermozilla-beta@012e92feffe6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, lsblakk
bugs1128027
milestone37.0
Bug 1128027 - Repair sourceeditor test after protocol.js cleanup change. r=bgrins a=lsblakk
browser/devtools/sourceeditor/test/browser_css_autocompletion.js
--- a/browser/devtools/sourceeditor/test/browser_css_autocompletion.js
+++ b/browser/devtools/sourceeditor/test/browser_css_autocompletion.js
@@ -133,14 +133,14 @@ function checkState(expected, actual) {
   ok(true, "Test " + index + " passed. ");
 }
 
 function finishUp() {
   completer.walker.release().then(() => {
     inspector.destroy();
     inspector = null;
     completer = null;
+    gBrowser.removeCurrentTab();
+    finish();
   });
   progress = null;
   progressDiv = null;
-  gBrowser.removeCurrentTab();
-  finish();
 }