Bug 1128027 - Repair sourceeditor test after protocol.js cleanup change. r=bgrins draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Tue, 10 Mar 2015 10:53:54 -0500
changeset 249198 8465d1150ac9ae1f51c03000d413b3c22d01487b
parent 249197 7aa8d5c694ab5b79a61ee9bd4fd7f407bddc786a
child 249199 89563bfa7e83a84fecba19f2a25c54e01bf5734f
push id970
push userjryans@gmail.com
push dateTue, 10 Mar 2015 15:54:18 +0000
reviewersbgrins
bugs1128027
milestone37.0
Bug 1128027 - Repair sourceeditor test after protocol.js cleanup change. r=bgrins
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();
 }