Closed
Bug 1186582
Opened 10 years ago
Closed 10 years ago
nsContentPermissionUtils::AskPermission should throw on nsContentPermissionPrompt::prompt exception
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla42
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | fixed |
People
(Reporter: qdot, Assigned: qdot)
Details
Attachments
(1 file)
|
933 bytes,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
When calling AskPermission, on desktop we call into nsBrowserGlue.js, where nsContentPermissionPrompt's prompt function is implemented. However, we don't actually check for exceptions after prompt is called, meaning that things like i18n/l10n failures just throw to stderr and are hard to discern. It'd be nice to be able to actually propagate errors so we can possibly catch prompt problems in mochitests.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8637420 -
Flags: review?(fabrice)
Updated•10 years ago
|
Attachment #8637420 -
Flags: review?(fabrice) → review+
Comment 3•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•