michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: function test() { michael@0: waitForExplicitFinish(); michael@0: michael@0: let branch = Services.prefs.getBranch('browser.panorama.'); michael@0: branch.setBoolPref('experienced_first_run', false); michael@0: michael@0: newWindowWithTabView(function (win) { michael@0: is(win.gBrowser.visibleTabs.length, 1, 'There should be one visible tab, only'); michael@0: michael@0: win.TabView._initFrame(function () { michael@0: is(win.gBrowser.visibleTabs.length, 1, 'There should be one visible tab, only'); michael@0: michael@0: win.close(); michael@0: finish(); michael@0: }); michael@0: }); michael@0: }