Closed Bug 1462702 Opened 7 years ago Closed 7 years ago

Add about pages in order to trigger a crash

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

VERIFIED FIXED
mozilla62
Tracking Status
firefox62 --- verified

People

(Reporter: snorp, Assigned: snorp)

References

Details

Attachments

(1 file)

This is useful in order to test crash reporting or recovery in the case of a content process crash.
Comment on attachment 8977063 [details] Bug 1462702 - Add about:crashparent and about:crashcontent https://reviewboard.mozilla.org/r/245146/#review251198 ::: docshell/base/nsAboutRedirector.cpp:140 (Diff revision 1) > nsIAboutModule::HIDE_FROM_ABOUTABOUT | > nsIAboutModule::URI_CAN_LOAD_IN_CHILD > + }, > + { > + "crashparent", "about:blank", > + nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT You probably want HIDE_FROM_ABOUTABOUT for both, so that this won't get listed in about:about.
Attachment #8977063 - Flags: review?(ehsan) → review+
Priority: -- → P3
Pushed by jwillcox@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d0034c0946ea Add about:crashparent and about:crashcontent r=ehsan
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Assignee: nobody → snorp
I successfully managed to use about:crashcontent (tab crash) and about:crashparent (browser crash) using a dirty profile on Firefox 62.0b8 (20180712042337) under Windows 10 x64, macOS 10.13 and Ubuntu 16.04 x64. The crashes generated this way are properly logged and submitted to Socorro (verified them through about:crashes).
Status: RESOLVED → VERIFIED
Flags: qe-verify+
(In reply to Anca Soncutean [:Anca], Desktop Release QA from comment #5) > I successfully managed to use about:crashcontent (tab crash) and > about:crashparent (browser crash) using a dirty profile on Firefox 62.0b8 > (20180712042337) under Windows 10 x64, macOS 10.13 and Ubuntu 16.04 x64. The > crashes generated this way are properly logged and submitted to Socorro > (verified them through about:crashes). I think we should verify this on mobile as well, since I believe this was to help us verify crash reporting is working on Fennec.
Flags: needinfo?(anca.soncutean)
Hi Ioana, Could someone from the mobile teem verify this implementation? Thank you!
Flags: needinfo?(anca.soncutean) → needinfo?(ioana.chiorean)
Devices: - Samsung Galaxy S8 (Android 8); - Nexus 5 (Android 6.0.1); Build: - Nightly (2018-07-17). When using the about:crashparent the browser crashes and properly logs the crash in about:crashes. Nothing else is affected when restoring the session. (on the S8) about:crashparent simply closes the app without prompting you to restart FF or logging a crash report (on the Nexus 5) about:crashcontent displays a white page in comparison to the Desktop version of FF where you have the option to restore the tab. (for both devices) Please NI me for any further details.
Flags: needinfo?(ioana.chiorean)
Depends on: 1524992
Component: DOM → DOM: Core & HTML
Depends on: 1667882
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: