From 8148615da179fdd60f19018e13b4e94b95609cc6 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 3 Feb 2018 06:00:38 -0500 Subject: Remove browser tests - Part 1: The Tests (except for experiments) --- .../base/content/test/general/browser_bug596687.js | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 browser/base/content/test/general/browser_bug596687.js (limited to 'browser/base/content/test/general/browser_bug596687.js') diff --git a/browser/base/content/test/general/browser_bug596687.js b/browser/base/content/test/general/browser_bug596687.js deleted file mode 100644 index 5c2b4fbfe..000000000 --- a/browser/base/content/test/general/browser_bug596687.js +++ /dev/null @@ -1,25 +0,0 @@ -add_task(function* test() { - var tab = yield BrowserTestUtils.openNewForegroundTab(gBrowser); - - var gotTabAttrModified = false; - var gotTabClose = false; - - function onTabClose() { - gotTabClose = true; - tab.addEventListener("TabAttrModified", onTabAttrModified, false); - } - - function onTabAttrModified() { - gotTabAttrModified = true; - } - - tab.addEventListener("TabClose", onTabClose, false); - - yield BrowserTestUtils.removeTab(tab); - - ok(gotTabClose, "should have got the TabClose event"); - ok(!gotTabAttrModified, "shouldn't have got the TabAttrModified event after TabClose"); - - tab.removeEventListener("TabClose", onTabClose, false); - tab.removeEventListener("TabAttrModified", onTabAttrModified, false); -}); -- cgit v1.2.3