Bustage fix for bug 629418. a=bustage
authorDave Townsend <dtownsend@oxymoronical.com>
Tue, 01 Feb 2011 14:40:00 -0800
changeset 61755 a8ca394b3a40f611f1860fb8be2530d02e64f1fa
parent 61754 6de40288cc33484324ad06e2da274abd0597fed8
child 61756 3568f13924d2e7ba1cb06465e0cfbda05dc823bb
push idunknown
push userunknown
push dateunknown
reviewersbustage
bugs629418
milestone2.0b11pre
Bustage fix for bug 629418. a=bustage
toolkit/mozapps/extensions/test/browser/browser_bug562797.js
--- a/toolkit/mozapps/extensions/test/browser/browser_bug562797.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_bug562797.js
@@ -627,18 +627,20 @@ add_test(function() {
       });
     });
   });
 });
 
 // Tests that when displaying in-content and opened in the background the back
 // and forward buttons still appear when switching tabs
 add_test(function() {
-  if (!gUseInContentUI)
-    run_next_text();
+  if (!gUseInContentUI) {
+    run_next_test();
+    return;
+  }
 
   var tab = gBrowser.addTab("about:addons");
   var browser = gBrowser.getBrowserForTab(tab);
 
   browser.addEventListener("pageshow", function(event) {
     if (event.target.location.href != "about:addons")
       return;
     browser.removeEventListener("pageshow", arguments.callee, true);