We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e17a30a commit 0e9dc5fCopy full SHA for 0e9dc5f
browser/components/sessionstore/SessionStore.sys.mjs
@@ -2979,12 +2979,6 @@ var SessionStoreInternal = {
2979
* Tab reference
2980
*/
2981
onTabClose: function ssi_onTabClose(aWindow, aTab) {
2982
- // notify the tabbrowser that the tab state will be retrieved for the last time
2983
- // (so that extension authors can easily set data on soon-to-be-closed tabs)
2984
- var event = aWindow.document.createEvent("Events");
2985
- event.initEvent("SSTabClosing", true, false);
2986
- aTab.dispatchEvent(event);
2987
-
2988
// don't update our internal state if we don't have to
2989
if (this._max_tabs_undo == 0) {
2990
return;
0 commit comments