michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: let win; michael@0: michael@0: function test() { michael@0: waitForExplicitFinish(); michael@0: michael@0: newWindowWithTabView(function(newWin) { michael@0: win = newWin; michael@0: michael@0: registerCleanupFunction(function() { michael@0: win.close(); michael@0: }); michael@0: michael@0: is(win.gBrowser.tabContainer.getAttribute("overflow"), "", michael@0: "The tabstrip should not be overflowing"); michael@0: michael@0: finish(); michael@0: }, function(newWin) { michael@0: /* add a tab with a ridiculously long title to trigger bug 749658 */ michael@0: var longTitle = "this is a very long title for the new tab "; michael@0: longTitle = longTitle + longTitle + longTitle + longTitle + longTitle; michael@0: longTitle = longTitle + longTitle + longTitle + longTitle + longTitle; michael@0: newWin.gBrowser.addTab("data:text/html,