Closed
Bug 1682668
Opened 4 years ago
Closed 4 years ago
Improve error messages when delegate is not present
Categories
(GeckoView :: Extensions, defect, P3)
Tracking
(firefox86 fixed)
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: agi, Assigned: agi)
Details
Attachments
(2 files)
There are cases where if the relevant delegate is not present, an extension API will fail. Currently some failures don't have error messages, e.g. tabs.update
just fails with "null".
We should send meaningful error messages to help embedders.
E.g. https://github.com/mozilla-mobile/android-components/issues/9210
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → agi
Status: NEW → ASSIGNED
Assignee | ||
Updated•4 years ago
|
Severity: -- → S4
Priority: -- → P3
Assignee | ||
Comment 2•4 years ago
|
||
This method allows callers to synchronously map a GeckoResult value to another
value.
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6662de5ba407
Add GeckoResult.map. r=owlish,aklotz
https://hg.mozilla.org/integration/autoland/rev/0db606883e8d
Improve error messages when TabDelegate is not present. r=owlish
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6662de5ba407
https://hg.mozilla.org/mozilla-central/rev/0db606883e8d
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•