Closed
Bug 1273184
Opened 9 years ago
Closed 9 years ago
Don't allow reloading on about:debugging for unsupported add-ons
Categories
(DevTools :: about:debugging, defect, P2)
DevTools
about:debugging
Tracking
(firefox49 verified)
VERIFIED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | verified |
People
(Reporter: kumar, Assigned: kumar)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
As of bug 1269889, only temporarily installed add-ons can be reloaded. The about:debugging UI should disable the Reload button for all other types of add-ons.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/52954/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/52954/
Attachment #8753047 -
Flags: review?(poirot.alex)
Updated•9 years ago
|
Attachment #8753047 -
Flags: review?(poirot.alex)
Comment 2•9 years ago
|
||
Comment on attachment 8753047 [details]
MozReview Request: Bug 1273184 - Don't allow reloading of unsupported add-ons. r=ochameau
https://reviewboard.mozilla.org/r/52954/#review50040
::: devtools/client/aboutdebugging/components/addons/target.js:62
(Diff revision 1)
> }, Strings.GetStringFromName("debug")),
> dom.button({
> className: "reload-button",
> - onClick: this.reload
> + onClick: this.reload,
> + // Only temporarily installed add-ons can be reloaded.
> + disabled: !target.temporarilyInstalled
I imagine it would be helpful to have a tooltip on the button to explain why it is disabled.
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8753047 [details]
MozReview Request: Bug 1273184 - Don't allow reloading of unsupported add-ons. r=ochameau
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/52954/diff/1-2/
Attachment #8753047 -
Attachment description: MozReview Request: Bug 1273184 - Don't allow reloading of unsupported add-ons. r?ochameau → MozReview Request: Bug 1273184 - Don't allow reloading of unsupported add-ons. r=ochameau
Attachment #8753047 -
Flags: review?(poirot.alex)
Assignee | ||
Comment 4•9 years ago
|
||
https://reviewboard.mozilla.org/r/52954/#review50040
> I imagine it would be helpful to have a tooltip on the button to explain why it is disabled.
ah, true. I added a tooltip
Updated•9 years ago
|
Attachment #8753047 -
Flags: review?(poirot.alex) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8753047 [details]
MozReview Request: Bug 1273184 - Don't allow reloading of unsupported add-ons. r=ochameau
https://reviewboard.mozilla.org/r/52954/#review50132
Works great, thanks!
Comment 6•9 years ago
|
||
Reloading in about:debugging only works for Add-ons installed with the "Load Temporary Add-on" button.
Keywords: dev-doc-needed
Priority: -- → P2
Assignee | ||
Comment 7•9 years ago
|
||
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b54b21d4e2ac&selectedJob=20978279 (the failures all look like unrelated flaky tests to me)
Keywords: checkin-needed
Keywords: checkin-needed
Comment 9•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Comment 10•9 years ago
|
||
I've added a note to the following page to make this clear:
https://developer.mozilla.org/en-US/docs/Tools/about:debugging#Firefox_48_onwards
I've also added a note to the Fx 49 release notes:
https://developer.mozilla.org/en-US/Firefox/Releases/49#Developer_Tools
Let me know if you think this needs anything else. Thanks!
Keywords: dev-doc-needed → dev-doc-complete
Comment 11•8 years ago
|
||
I was able to reproduce the initial issue on Firefox 48.0.2 (20160823121617) under Windows 10 64-bit.
Verified fixed on Firefox 49 (20160912134115), Firefox 50.0a2 (2016-09-15) and Firefox 51.0a1 (2016-09-15) under Windows 10 64-bit. Only temporarily installed add-ons can be reloaded.
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•