mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
7c126da724
--HG-- extra : rebase_source : f1b562f18e0be9545191cbaf4782138944d9e585
12 lines
430 B
JavaScript
12 lines
430 B
JavaScript
function test() {
|
|
var tab = gBrowser.addTab("about:blank", { skipAnimation: true });
|
|
gBrowser.removeTab(tab);
|
|
is(tab.parentNode, null, "tab removed immediately");
|
|
|
|
tab = gBrowser.addTab("about:blank", { skipAnimation: true });
|
|
gBrowser.removeTab(tab, { animate: true });
|
|
gBrowser.removeTab(tab);
|
|
is(tab.parentNode, null, "tab removed immediately when calling removeTab again after the animation was kicked off");
|
|
}
|
|
|