Open
Bug 922215
Opened 11 years ago
Updated 2 years ago
Add privileged Web API to intentionally crash in various ways
Categories
(Core :: DOM: Device Interfaces, defect, P3)
Tracking
()
NEW
People
(Reporter: benjamin, Unassigned, Mentored)
Details
(Keywords: helpwanted, Whiteboard: [lang=c++])
Just as we now have a privileged API for accessing the crash storage area, we would also like a privileged API which allows us to intentionally crash various processes, for the purposes of testing crash reporting and making sure that symbols are working. APIs need to be: * crash this app process in various ways, similar to the current nsTestCrasher: ** access violation ** pure-virtual ** runtimeabort ** MOZ_CRASH ** abort() * crash the B2G process (in the same ways if possible, but a single way is probably sufficient) Fabrice, I'm going to mark this as helpwanted, are you interested in mentoring or do you know of somebody else who'd be a good mentor?
Flags: needinfo?(fabrice)
Reporter | ||
Updated•11 years ago
|
Whiteboard: [lang=c++] → [lang=c++][mentor=fabrice@mozilla.com]
Comment 2•11 years ago
|
||
When you say "web" API, do you want this exposed to content?
Reporter | ||
Comment 3•11 years ago
|
||
I want this exposed to an app that we can load onto an unrooted phone in order to properly QA crash reporting on release builds.
Comment 4•11 years ago
|
||
(In reply to comment #3) > I want this exposed to an app that we can load onto an unrooted phone in order > to properly QA crash reporting on release builds. What kind of privilege level were you thinking of? This is obviously extremely dangerous... :(
Reporter | ||
Comment 5•11 years ago
|
||
Well, I figured we'd have a privilege for this just as we have a privilege for accessing the crash storage area. I'm not sure what's so dangerous about this: you can force the phone to reboot, but there's no real security risk involved.
Comment 6•11 years ago
|
||
That could be certified only and rely on sideloading the test app with the remote debugging protocol.
Comment 7•11 years ago
|
||
If that's something that QA can do on production devices, then yes, that's fine, good and what we'd expect.
Updated•11 years ago
|
Assignee: nobody → genti.tola
Comment 8•11 years ago
|
||
(In reply to comment #6) > That could be certified only and rely on sideloading the test app with the > remote debugging protocol. That sounds good!
Assignee | ||
Updated•10 years ago
|
Mentor: fabrice
Whiteboard: [lang=c++][mentor=fabrice@mozilla.com] → [lang=c++]
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Assignee: genti.tola → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•