Closed
Bug 1330823
Opened 8 years ago
Closed 8 years ago
Display permissions prompt for interactive webextensions updates
Categories
(Toolkit :: Add-ons Manager, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | verified |
People
(Reporter: aswan, Assigned: aswan)
References
Details
(Whiteboard: triaged)
Attachments
(2 files)
Bug 1317470 covers the flow when a webextension is updated in the background, but of course updates that are manually applied take a totally different code path. They are also done interactively so they presumably should show the permission prompt immediately rather than putting a badge on the hamburger menu and forcing the user to go through another indirect step to view and accept the new permissions.
This bug is to handle that flow.
Updated•8 years ago
|
Whiteboard: triaged
Updated•8 years ago
|
Priority: -- → P2
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8832737 -
Flags: review?(rhelmer)
Attachment #8832738 -
Flags: review?(rhelmer)
Attachment #8832738 -
Flags: review?(florian)
Assignee | ||
Comment 3•8 years ago
|
||
For part 2, comments from either of you on either part are welcome but I r?'ed both of you so Rob could look at the extensions.js change and Florian could look at the test
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8832738 [details]
Bug 1330823 Part 2 permission prompts for interactive extension updates
https://reviewboard.mozilla.org/r/108952/#review110320
I reviewed the test and no issue jumped at me, but I'm not really familiar with the install apis, so I would prefer if Rob could have a quick look at the test too.
Attachment #8832738 -
Flags: review?(florian) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8832737 -
Flags: review?(rhelmer) → review?(dtownsend)
Attachment #8832738 -
Flags: review?(rhelmer) → review?(dtownsend)
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8832737 [details]
Bug 1330823 Part 1 refactor some existing permissions code
https://reviewboard.mozilla.org/r/108950/#review110436
::: toolkit/components/extensions/Extension.jsm:394
(Diff revision 1)
> return result;
> }
>
> + // Compute the difference between two sets of permissions, suitable
> + // for presenting to the user.
> + static newPermissions(oldPermissions, newPermissions) {
I'd suggest comparePermissions as the name for this function.
Attachment #8832737 -
Flags: review?(dtownsend) → review+
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8832738 [details]
Bug 1330823 Part 2 permission prompts for interactive extension updates
https://reviewboard.mozilla.org/r/108952/#review110454
This looks ok, my only concern is the case where a check for updates yields more than one add-on with an update. I don't know how good the prompt will look in that case.
Attachment #8832738 -
Flags: review?(dtownsend) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•8 years ago
|
||
Multiple simultaneous updates will get addressed over in bug 1329884
Comment 10•8 years ago
|
||
Pushed by aswan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1839ba084c8
Part 1 refactor some existing permissions code r=mossop
https://hg.mozilla.org/integration/autoland/rev/460ffe0d6271
Part 2 permission prompts for interactive extension updates r=florian,mossop
Comment 11•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e1839ba084c8
https://hg.mozilla.org/mozilla-central/rev/460ffe0d6271
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Comment 12•8 years ago
|
||
Confirm that permissions are successfully prompted for interactive webextensions updates but encountered 3 new issues:
- Bug 1340078 - Old permissions are reposted in interactive webextension update pop-up
- Bug 1340102 - No updates found after closing the Add-ons Manager tab which displays the interactive update pop-up
- Bug 1340109 - ”No updates found” message is displayed after canceling the interactive update pop-up
Tested on Firefox 54.0a1 (2016-02-15) under Windows 10 64-bit, Mac OS X 10.12.1 and Ubuntu 16.04 32-bit.
Based on this testing, I am marking this bug as Verified since the other issues are tracked separately.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•