Closed Bug 753801 Opened 13 years ago Closed 9 years ago

Allow access to about:crashes within the desktop runtime to view and access crash logs

Categories

(Firefox Graveyard :: Webapp Runtime, enhancement, P3)

enhancement

Tracking

(firefox16 wontfix)

RESOLVED WONTFIX
Tracking Status
firefox16 --- wontfix

People

(Reporter: jsmith, Unassigned)

References

Details

After breakpad integration is hooked up, we'll need an easy way to allow users to access about:crashes to be able to find a link to their crash report containing the crash information you normally see in socorro.
Depends on: 745980
Blocks: 737571
Priority: -- → P2
Target Milestone: --- → M1
No longer blocks: 737571
Component: Desktop Runtime → Webapp Runtime
Product: Web Apps → Firefox
Target Milestone: M1 → Firefox 15
Andy's hack in webapp.json revealed that about:crashes can be accessed with the web runtime, as I saw this message. Submitted Crash Reports This application has not been configured to display crash reports. The preference breakpad.reportURL must be set. Most likely, we just need to allow the web runtime to have access to about:crashes by default (maybe in that allowed origins field?). Then, we just need a way to access it (keyboard shortcut?).
Does firefox's about:crashes show the crash reports from the runtime?
Unless they're being written to the Firefox "Crash Reports" dir, then no, they won't. I'm assuming the runtime uses a different profile location, so that wouldn't be shared.
I can imagine a hidden test/debug mode, triggered by a command-line flag, that provides some chrome, like a toolbar, that gives access to about:crashes in a new window (and also provides other useful functionality, like debugging tools). But we should not expose it normally, especially not via a keyboard shortcut, which would be very confusing to a user who accidentally presses it; and which are conventionally controlled by the app or the OS, not any runtime the app happens to be using.
(In reply to Myk Melez [:myk] [@mykmelez] from comment #4) > I can imagine a hidden test/debug mode, triggered by a command-line flag, > that provides some chrome, like a toolbar, that gives access to > about:crashes in a new window (and also provides other useful functionality, > like debugging tools). > > But we should not expose it normally, especially not via a keyboard > shortcut, which would be very confusing to a user who accidentally presses > it; and which are conventionally controlled by the app or the OS, not any > runtime the app happens to be using. Agreed. That sounds generally probably the best way to go all-around, including debugger tools - a mode to run in developer mode with the web runtime, although I'd be curious to hear what Kevin's opinion is on this. That should include access to about:crashes. On some thread with Kairo, I recall his idea of allowing about:crashes to be an installable web app, so that's another idea - even one we wouldn't have to do too much work on our end, but I'm not sure we need it. We'll really determine if we need this implemented if you can't view crash reports for the runtime within desktop firefox in a friendly UI.
(In reply to Myk Melez [:myk] [@mykmelez] from comment #4) > I can imagine a hidden test/debug mode, triggered by a command-line flag, > that provides some chrome, like a toolbar, that gives access to > about:crashes in a new window (and also provides other useful functionality, > like debugging tools). > > But we should not expose it normally, especially not via a keyboard > shortcut, which would be very confusing to a user who accidentally presses > it; and which are conventionally controlled by the app or the OS, not any > runtime the app happens to be using. I personally don't like command line flags (as a permanent solution). What if we had a pref that could be set from within Firefox to turn on development mode for an installed app? If that pref was set, we could add a native menu for development-related features.
I agree with Kevin on the command line flag piece. I feel we should surface something more usable in the existing developer tools section of Firefox's global menu. It could start simple, perhaps a checkbox entry labeled "Enable Developer Tools in Apps" that activates a developer tools menu across all apps.
Hmm, indeed, a pref you can set in Firefox seems more usable than a command-line flag.
Target Milestone: Firefox 15 → ---
QA Contact: desktop-runtime → jsmith
Priority: P2 → P3
Depends on: 899656
Blocks: 1111077
Per bug 1238079, we're going to disable the desktop web runtime and remove it from the codebase, so we won't fix these bugs in it.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.