Skip to content
Snippets Groups Projects
Commit bd283d42 authored by Mike Conley's avatar Mike Conley
Browse files

Bug 1228652 - Check for window.closed after flushing messages in navigateAndRestore. r=mossop

MozReview-Commit-ID: 9Cgxg9A61O7

--HG--
extra : rebase_source : 719b990b7490175839c48bf2a74f40891b0ad2ed
parent 58e23744
No related branches found
No related tags found
No related merge requests found
......@@ -2509,7 +2509,7 @@ var SessionStoreInternal = {
let window = tab.ownerDocument && tab.ownerDocument.defaultView;
// The tab or its window might be gone.
if (!window || !window.__SSi) {
if (!window || !window.__SSi || window.closed) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment