[Pale-Moon] tabbrowser: corrected nsIWebNavigation usage

This commit is contained in:
roytam1 2024-10-05 18:10:50 +08:00
commit d80d4ba6ed

View file

@ -2137,7 +2137,7 @@
// Using the "STOP_ALL" flag should halt all animations, fetches, network
// activity, etc. to come to a clean state for removal and unlinking (if enabled).
var browser = this.getBrowserForTab(aTab);
browser.webNavigation.stop(nsIWebNavigation.STOP_ALL);
browser.webNavigation.stop(Ci.nsIWebNavigation.STOP_ALL);
// Clean up mTabFilters and mTabListeners now rather than in
// _beginRemoveTab, so that their size is always in sync with the