Closed
Bug 1333071
Opened 7 years ago
Closed 7 years ago
Empty permissions confirmation doorhanger
Categories
(WebExtensions :: General, defect)
Tracking
(firefox50 unaffected, firefox51 unaffected, firefox52 unaffected, firefox53 disabled, firefox54 verified)
VERIFIED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox50 | --- | unaffected |
firefox51 | --- | unaffected |
firefox52 | --- | unaffected |
firefox53 | --- | disabled |
firefox54 | --- | verified |
People
(Reporter: vtamas, Assigned: aswan)
References
Details
(Keywords: regression, Whiteboard: investigate)
Attachments
(1 file)
[Affected versions]: Firefox 53.0a1 (2017-01-23) [Affected platforms]: Windows 10 64-bit Ubuntu 16.04 32-bit [Steps to reproduce]: 1.Launch Firefox with clean profile. 2.Create extensions.webextPermissionPrompts and set it to true 3.Navigate to https://addons.mozilla.org/en-US/firefox/addon/awesome-screenshot-capture-/?src=ss 4.Install the webextension. [Expected Results]: The confirmation doorhanger is correctly displayed. [Actual Results]: - There is no text in confirmation doorhanger and it is automatically closed after about 2 seconds. - See screencast: https://www.screencast.com/t/JqyAoububf [Regression Range]: Last good revision: 487a4e43eb9d1f04a5d8e3dd183fe38dbe105e1f First bad revision: 160914d65dac284bba2646f52a1ce1a5aa2d22b1 Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=487a4e43eb9d1f04a5d8e3dd183fe38dbe105e1f&tochange=160914d65dac284bba2646f52a1ce1a5aa2d22b1 I suspect that this issue was regressed by Bug 1308296.
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(aswan)
Comment 1•7 years ago
|
||
I actually see https://www.dropbox.com/s/95er9n4ed5f5ic8/Screenshot%202017-01-23%2007.34.01.png?dl=0 The list of permissions is not very useful or grammatically correct.
Assignee | ||
Comment 2•7 years ago
|
||
Krupa, it looks like you are running a build from before bug 1316996 landed. Also, your screenshot is of the permissions dialog, I think this bug is about the "your add-on is ready" dialog that comes after the install is done. But Awesome Screenshot appears to navigate the browser away from the AMO page immediately when it is installed, I'm not sure how it does that, let me look a little more closely.
Flags: needinfo?(aswan)
Comment 3•7 years ago
|
||
I upgraded to the latest Nightly and I see the issue now.
Comment 4•7 years ago
|
||
what is the desired behavior?
Flags: needinfo?(scolville)
Flags: needinfo?(jorge)
Whiteboard: investigate
Comment 5•7 years ago
|
||
(In reply to :shell escalante from comment #4) > what is the desired behavior? Looking at the code in AMO if the add-on has a post-install contribution setup then after the addon is installed a callback is fired which causes the page to change to the developers page. The callback is here: https://github.com/mozilla/addons-server/blob/0c2b633c592a882a51698949f2262773d1462b5b/static/js/zamboni/mobile/buttons.js#L8 Ideally I would expect the AMO behaviour to not cause the doorhanger to be closed prematurely.
Flags: needinfo?(scolville)
Assignee | ||
Comment 6•7 years ago
|
||
Meaning the doorhanger should stay visible even when the foreground tab navigates to a new page? I think that popup notifications are pretty closely tied to navigation and that would be tricky to implement in a reliable way. Can the contribution page open in a separate tab?
Comment 7•7 years ago
|
||
How popular is the post-install contribution step, is it worth keeping in its current form?
Comment 8•7 years ago
|
||
(In reply to Andrew Swan [:aswan] from comment #6) > Meaning the doorhanger should stay visible even when the foreground tab > navigates to a new page? > I think that popup notifications are pretty closely tied to navigation and > that would be tricky to implement in a reliable way. > > Can the contribution page open in a separate tab? I think that would be difficult to open a page reliably in a new tab via JS especially if not off a direct user click event.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•7 years ago
|
||
We ended up with two different issues here on this bug (my fault). The attached patch should fix the original popup contents bug. I'm going to hold off filing a new bug for the AMO navigation issue in the hopes that we decide to address it outside of Firefox.
Comment 11•7 years ago
|
||
The post-install contribution step is enabled for hundreds of active add-ons, including many with very high usage, so I don't think we can just get rid of it.
Flags: needinfo?(jorge)
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8829565 [details] Bug 1333071 Escape addon name in post-install dialog https://reviewboard.mozilla.org/r/106606/#review107820 r=me. I wonder if we should purposeful insert < & > characters in the add-on used for tests so that such an error would be caught in the future.
Comment 13•7 years ago
|
||
(In reply to Andrew Swan [:aswan] from comment #6) > Meaning the doorhanger should stay visible even when the foreground tab > navigates to a new page? > I think that popup notifications are pretty closely tied to navigation and > that would be tricky to implement in a reliable way. Look at the 'persistence' option of popupnotifications: http://searchfox.org/mozilla-central/rev/02a56df6474a97cf84d94bbcfaa126979970905d/toolkit/modules/PopupNotifications.jsm#330
Comment 14•7 years ago
|
||
mozreview-review |
Comment on attachment 8829565 [details] Bug 1333071 Escape addon name in post-install dialog https://reviewboard.mozilla.org/r/106606/#review107826
Attachment #8829565 -
Flags: review?(florian) → review+
Comment 15•7 years ago
|
||
Pushed by aswan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/36ced1bb7ae1 Escape addon name in post-install dialog r=florian
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/36ced1bb7ae1
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Reporter | ||
Comment 17•7 years ago
|
||
Confirm that permissions confirmation text is successfully displayed on Firefox 54.0a1 (2017-01-25) under Windows 10 64-bit, Ubuntu 16.04 32-bit and Mac OS X 10.11: https://www.screencast.com/t/lWMyFX0NgUI Andrew, did you log the issue related to contribution page or should I file a new one?
Assignee | ||
Comment 18•7 years ago
|
||
I haven't opened a new bug yet since it was not clear whether this should be handled as a Firefox bug or an AMO bug. The persistence option that Florian mentioned does sound like exactly what we want though, I'll give that a try and open a new bug if it looks workable. Leaving the ni? to myself until that's done.
Comment 20•7 years ago
|
||
Does this need an Aurora approval request?
Assignee: nobody → aswan
Flags: needinfo?(aswan)
Assignee | ||
Comment 21•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #20) > Does this need an Aurora approval request? I don't think so, permissions prompts for webextensions landed initially in 53 but they are not enabled unless a (hidden and undocumented) preference is set. There have been a number of follow-up bugs fixed in 54 and a few more to go, assuming it all gets fixed in time, the plan is to flip that preference on by default in 54. But I don't think there's much point in uplifting some subset of the follow-ups and there have been enough of them that I wouldn't propose uplifting them all.
Flags: needinfo?(aswan)
Comment 22•7 years ago
|
||
Definitely not, thanks. Updating the status accordingly :)
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•