From ca921ac7b85fcdc9183d5cdcc12d100c88c91acd Mon Sep 17 00:00:00 2001 From: Dave Townsend Date: Tue, 1 Feb 2011 14:40:00 -0800 Subject: [PATCH] Bustage fix for bug 629418. a=bustage --- .../mozapps/extensions/test/browser/browser_bug562797.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/toolkit/mozapps/extensions/test/browser/browser_bug562797.js b/toolkit/mozapps/extensions/test/browser/browser_bug562797.js index 6620a1d47aa..949606c6877 100644 --- a/toolkit/mozapps/extensions/test/browser/browser_bug562797.js +++ b/toolkit/mozapps/extensions/test/browser/browser_bug562797.js @@ -632,8 +632,10 @@ 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);