Closed Bug 1668940 Opened 4 years ago Closed 4 years ago

Tabs that crash in the background fail to restore with SHIP

Categories

(Firefox :: Session Restore, defect, P2)

defect

Tracking

()

RESOLVED FIXED
83 Branch
Fission Milestone M6b
Tracking Status
firefox83 --- fixed

People

(Reporter: u608768, Assigned: peterv)

References

Details

Attachments

(2 files)

STR

  1. Open two tabs. Note the PID of one of the tabs, and select the other.
  2. Kill that first process and select its corresponding tab. You should see an about:blank document, instead of about:tabcrashed.

This is causing browser/components/sessionstore/test/browser_background_tab_crash.js to fail.

Putting this in M6c because the pre-crash tab can still be manually restored with the back button, but this should be fixed sooner rather than later.

Fission Milestone: --- → M6c
Assignee: kmadan → rjesup
Severity: -- → S2
Status: NEW → ASSIGNED
Fission Milestone: M6c → M6b
Priority: -- → P2

JS stack for about:tabcrashed:
(rr) js
0 sendToTabCrashedPage(browser = "[object XULFrameElement]") ["resource:///modules/ContentCrashHandlers.jsm":365:21]
this = [object Object]
1 willShowCrashedTab(browser = "[object XULFrameElement]") ["resource:///modules/ContentCrashHandlers.jsm":312:13]
this = [object Object]
2 ssi_onTabSelect(aWindow = "[object Window]") ["resource:///modules/sessionstore/SessionStore.jsm":2846:28]
this = [object Object]
3 ssi_handleEvent(aEvent = "[object CustomEvent]") ["resource:///modules/sessionstore/SessionStore.jsm":1582:13]
this = [object Object]
4 updateCurrentBrowser() ["chrome://browser/content/tabbrowser.js":1164:15]
this = [object Object]
5 _setupEventListeners/<(event = "[object Event]") ["chrome://browser/content/tabbrowser.js":5255:15]
6 set selectedIndex(val = "0") ["chrome://global/content/elements/tabbox.js":197:13]
this = [object XULElement]
7 set selectedPanel(val = "[object XULElement]") ["chrome://global/content/elements/tabbox.js":216:6]
this = [object XULElement]
8 set selectedIndex(val = "3") ["chrome://global/content/elements/tabbox.js":545:10]
this = [object XULElement]
9 set selectedItem(val = "[object XULElement]") ["chrome://global/content/elements/tabbox.js":565:34]
this = [object XULElement]
10 _selectNewTab(aNewTab = "[object XULElement]", aFallbackDir = "undefined", aWrap = "undefined") ["chrome://global/content/elements/tabbox.js":735:6]
this = [object XULElement]
11 _selectNewTab(aNewTab = "[object XULElement]") ["chrome://browser/content/tabbrowser-tabs.js":952:14]
this = [object XULElement]
12 on_mousedown(event = "[object MouseEvent]") ["chrome://global/content/elements/tabbox.js":331:27]
this = [object XULElement]
13 on_mousedown(event = "[object MouseEvent]") ["chrome://browser/content/tabbrowser-tab.js":365:14]
this = [object XULElement]
14 handleEvent(event = "[object MouseEvent]") ["chrome://global/content/customElements.js":466:26]
this = [object XULElement]

js stack for about:blank:
0 kickOffNewLoadFromBlankPage(webNavigation = "[xpconnect wrapped (nsISupports, nsIDocShell, nsILoadContext, nsIWebNavigation, nsIDocShellTreeItem, nsIWebProgress, nsIInterfaceRequestor)]", newURI = ""about:blank"") ["resource:///modules/sessionstore/ContentRestore.jsm":122:16]
1 restoreOnNewEntry(newURI = ""about:blank"") ["resource:///modules/sessionstore/ContentRestore.jsm":223:31]
this = [object Object]
2 restoreOnNewEntry(""about:blank"") ["self-hosted":1176:0]
this = [object Object]
3 receiveMessage((destructured parameter) = "[object Object]") ["resource:///modules/sessionstore/ContentSessionStore.jsm":573:28]
this = [object Object]

Assignee: rjesup → peterv
Attachment #9179995 - Attachment description: Bug 1668940 - Tabs that crash in the background fail to restore with SHIP. → Bug 1668940 - Tabs that crash in the background fail to restore with SHIP. r?smaug!
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/786694e7b805
Replace nsFrameLoader::mIsTopLevelContent with mPendingBrowsingContext->IsTopContent(). r=smaug
https://hg.mozilla.org/integration/autoland/rev/49b550ad8387
Tabs that crash in the background fail to restore with SHIP. r=smaug
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9d98bf7b930f
Replace nsFrameLoader::mIsTopLevelContent with mPendingBrowsingContext->IsTopContent(). r=smaug
https://hg.mozilla.org/integration/autoland/rev/c025fad53568
Tabs that crash in the background fail to restore with SHIP. r=smaug
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/60a63cffd36b
Replace nsFrameLoader::mIsTopLevelContent with mPendingBrowsingContext->IsTopContent(). r=smaug
https://hg.mozilla.org/integration/autoland/rev/28453f1c1ee8
Tabs that crash in the background fail to restore with SHIP. r=smaug
Flags: needinfo?(peterv)
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Regressions: 1670867
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: