Closed
Bug 1553283
Opened 6 years ago
Closed 6 years ago
When search initialisation fails, throw errors via Components.Exception for better information
Categories
(Firefox :: Search, defect, P2)
Firefox
Search
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently, when search initialisation fails, we throw a very obscure message:
JavaScript error: , line 0: uncaught exception 2147500037
This was discovered in bug 1550923, and bug 1536556 shows us the solution - as the search service is a Javascript component, use Components.Exception to throw the error, and then we'll get an error similar to:
JavaScript error: resource://gre/modules/SearchService.jsm, line 1711: NS_ERROR_FAILURE: Search initialisation failed
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/edb5fc31b4f5
When search initialisation fails, throw errors via Components.Exception for better exception information. r=daleharvey
Comment 3•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
Assignee | ||
Updated•5 years ago
|
Iteration: --- → 69.1 - May 13 - 26
You need to log in
before you can comment on or make changes to this bug.
Description
•