Bug 1128027 - Repair sourceeditor test after protocol.js cleanup change. r=bgrins a=lsblakk
authorJ. Ryan Stinnett <jryans@gmail.com>
Wed, 11 Mar 2015 12:07:22 -0500
changeset 250337 f21e8fa80469
parent 250336 abce8eb1a75e
child 250338 fa9b1bfa9f0e
push id4553
push userjryans@gmail.com
push date2015-03-11 17:07 +0000
treeherdermozilla-beta@7e2e728297e6 [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();
 }