Backed out changeset 6c4285b179df (bug 1145049)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Wed, 15 Apr 2015 16:12:30 +0200
changeset 257389 a128b2168a7a052582b0381adf1a7084386ae5e1
parent 257388 5a4b8d5b026749ec0e484df3e209478abbcf736f
child 257390 698dff5de195dfe0f8d03a6da5c8b9b063300ceb
push id1541
push usermichael.l.comella@gmail.com
push dateWed, 15 Apr 2015 18:43:45 +0000
bugs1145049
milestone40.0a1
backs out6c4285b179df8b999f4e41ab9c6274fbc3eb9ea0
Backed out changeset 6c4285b179df (bug 1145049)
browser/devtools/shared/test/browser_toolbar_webconsole_errors_count.js
--- a/browser/devtools/shared/test/browser_toolbar_webconsole_errors_count.js
+++ b/browser/devtools/shared/test/browser_toolbar_webconsole_errors_count.js
@@ -23,17 +23,17 @@ function test() {
 
   function openToolbar(browser, tab) {
     tab1 = tab;
     ignoreAllUncaughtExceptions(false);
 
     expectUncaughtException();
 
     if (!DeveloperToolbar.visible) {
-      DeveloperToolbar.show(true).then(onOpenToolbar);
+      DeveloperToolbar.show(true, onOpenToolbar);
     }
     else {
       onOpenToolbar();
     }
   }
 
   function onOpenToolbar() {
     ok(DeveloperToolbar.visible, "DeveloperToolbar is visible");