Closed
Bug 1245251
Opened 10 years ago
Closed 10 years ago
Add-on startup fails for external XUL apps
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
People
(Reporter: jryans, Assigned: jryans)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
mossop
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details |
After bug 1203159, DevTools files were moved around such that the line:
if (Cu.isModuleLoaded("resource://devtools/client/framework/ToolboxProcess.jsm")) {
in XPIProvider.jsm now throws for external XUL apps.
I believe the cause is that resource://devtools is not defined because no chrome.manifest that defines it is currently loaded by such apps.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
I have confirmed it's because of the missing resource definition.
That means this occurs back to 44. Not sure if we'll uplift since only external XUL apps are impacted.
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
MozReview-Commit-ID: HY8lrjB9Mts
Review commit: https://reviewboard.mozilla.org/r/33303/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/33303/
Attachment #8714994 -
Flags: review?(dtownsend)
Comment 4•10 years ago
|
||
Comment on attachment 8714994 [details]
MozReview Request: Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop
https://reviewboard.mozilla.org/r/33303/#review30157
Swallowing all exceptions isn't ideal, it might make us break something and never realise it. Instead can you get the resource protocol handler and use hasSubstitution("devtools") to guard that block?
Attachment #8714994 -
Flags: review?(dtownsend)
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8714994 [details]
MozReview Request: Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/33303/diff/1-2/
Attachment #8714994 -
Flags: review?(dtownsend)
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Comment on attachment 8714994 [details]
MozReview Request: Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop
https://reviewboard.mozilla.org/r/33303/#review30357
Attachment #8714994 -
Flags: review?(dtownsend) → review+
Comment 10•10 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8714994 [details]
MozReview Request: Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop
Approval Request Comment
[Feature/regressing bug #]: The regression was introduced by bug 1203159.
[User impact if declined]: There is no direct impact to Mozilla products if declined. This issue only affects external XUL apps which are currently instructed to use Firefox builds with "firefox --app" to run their applications. For those external XUL apps, the add-on manager will fail at startup and the application itself could break as well.
[Describe test coverage new/current, TreeHerder]: No new tests, I tested manually to confirm issue is resolved. Landed on m-c.
[Risks and why]: Low risk, adds a check to ensure a path exists before using it.
[String/UUID change made/needed]: None
Attachment #8714994 -
Flags: approval-mozilla-beta?
Attachment #8714994 -
Flags: approval-mozilla-aurora?
Comment 12•10 years ago
|
||
Comment on attachment 8714994 [details]
MozReview Request: Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop
Taking it as 45 is an ESR. Should be in 45 beta 4.
Attachment #8714994 -
Flags: approval-mozilla-beta?
Attachment #8714994 -
Flags: approval-mozilla-beta+
Attachment #8714994 -
Flags: approval-mozilla-aurora?
Attachment #8714994 -
Flags: approval-mozilla-aurora+
Comment 13•10 years ago
|
||
bugherder uplift |
Comment 14•10 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•