Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 function test() {
2 waitForExplicitFinish();
4 var tab = gBrowser.addTab();
6 tab.addEventListener("TabClose", function () {
7 tab.removeEventListener("TabClose", arguments.callee, false);
9 ok(tab.linkedBrowser, "linkedBrowser should still exist during the TabClose event");
11 executeSoon(function () {
12 ok(!tab.linkedBrowser, "linkedBrowser should be gone after the TabClose event");
14 finish();
15 });
16 }, false);
18 gBrowser.removeTab(tab);
19 }