Note: There are a few cases of duplicates in user autocompletion which are being worked on.

'No screen' shows preview after clicking once on the device permission in the location bar

VERIFIED FIXED in Firefox 53



Device Permissions
6 months ago
5 months ago


(Reporter: pauly, Assigned: florian)



54 Branch
Firefox 54
Dependency tree / graph
Bug Flags:
in-testsuite +
qe-verify ?

Firefox Tracking Flags

(firefox51 unaffected, firefox52 unaffected, firefox53 verified, firefox54 verified)


(Whiteboard: [fxprivacy])


(1 attachment)



6 months ago
[Affected versions]:
- 54

[Affected platforms]:
- all

[Steps to reproduce]:
1. Open
2. Click the "Screen" button
3. From the dropdown select screen to preview
4. Click once the "screen share" permission in the location bar

[Expected result]:
- No change

[Actual result]:
- 'No screen' shows preview of the active screen

[Regression range]:
- tbd

[Additional notes]:
- Screencast:

Comment 1

6 months ago
Seems like an edge case of bug 1325223 that I didn't cover there.
Blocks: 1325223


6 months ago
Blocks: 1004061
status-firefox53: --- → affected


6 months ago
Keywords: regression
Whiteboard: [fxprivacy][triage]


6 months ago
Assignee: nobody → florian
Priority: -- → P2
Whiteboard: [fxprivacy][triage] → [fxprivacy]

Comment 2

5 months ago
Created attachment 8836090 [details] [diff] [review]
Attachment #8836090 - Flags: review?(jhofmann)

Comment 3

5 months ago
Comment on attachment 8836090 [details] [diff] [review]

Review of attachment 8836090 [details] [diff] [review]:

I haven't tried the patch locally but this looks pretty straightforward and has a test, so r=me

::: browser/base/content/test/popupNotifications/browser_popupNotification_5.js
@@ +330,5 @@
>        this.notification2.remove();
>        this.notification3.remove();
>      }
>    },
> +  // Test clicking the anchor icon.

Maybe you should mention the purpose of this test. :)
Attachment #8836090 - Flags: review?(jhofmann) → review+

Comment 5

5 months ago
Bug 1336066 - avoid reshowing a persistent notification that has not been dismissed when clicking the anchor icon, r=johannh.


5 months ago
Iteration: --- → 54.2 - Feb 20


5 months ago
Flags: qe-verify?

Comment 6

5 months ago
Last Resolved: 5 months ago
status-firefox54: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54

Comment 7

5 months ago
Build ID: 20170214030231
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

Verified as fixed on on Windows 10 x 64, Mac OS X 10.11 and Ubuntu 16.04 x64 on Firefox Nightly 54.0a1, Firefox Nightly 53.0a1 and Aurora 53.0a2.
status-firefox54: fixed → verified


5 months ago
Hani, how was this verified on 53 when this hasn't been uplifted to Aurora yet?

That said, please request Aurora approval on this, Florian :)
Flags: needinfo?(hani.yacoub)
Flags: needinfo?(florian)

Comment 9

5 months ago
Sorry about that, I messed up the comments with another bug that I verified on Aurora too.

I Verified this bug on Windows 10 x 64, Mac OS X 10.11 and Ubuntu 16.04 x64 on Firefox Nightly 54.0a1, as the flags indicates the version of Firefox which I tested.

Flags: needinfo?(hani.yacoub)

Comment 10

5 months ago

Comment 11

5 months ago
Comment on attachment 8836090 [details] [diff] [review]

Approval Request Comment
[Feature/Bug causing the regression]: bug 1004061
[User impact if declined]: possibly confusing state of permission prompt panels (and especially the screen sharing one with a preview) after clicking the anchor icon. Potential for leaking a video stream if there was an active screensharing preview at the time the anchor icon was clicked.
[Is this code covered by automated tests?]: Yes
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: Not required but would be nice, steps are in comment 0.
[List of other uplifts needed for the feature/fix]: none.
[Is the change risky?]: Low.
[Why is the change risky/not risky?]: One-line code change, and covered by automated test, which seem green on the try push from comment 10.
[String changes made/needed]: none.
Flags: needinfo?(florian)
Attachment #8836090 - Flags: approval-mozilla-aurora?
Comment on attachment 8836090 [details] [diff] [review]

Fix a screensharing regression and was verified. Aurora53+.
Attachment #8836090 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+

Comment 13

5 months ago
status-firefox53: affected → fixed
Flags: in-testsuite+

Comment 14

5 months ago
Build ID: 20170221004019
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0

Verified as fixed on Aurora 53.0a2 (20170221004019) on Windows 10 x 64, Mac OS X 10.10 and Ubuntu 16.04 x64.
status-firefox53: fixed → verified
You need to log in before you can comment on or make changes to this bug.