Wrong screen sharing preview (regression)
Categories
(Core :: WebRTC: Audio/Video, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | + | verified |
firefox71 | + | verified |
People
(Reporter: jib, Assigned: pehrsons)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
The screen sharing preview always shows the first window in the list.
STRs:
- Open https://jan-ivar.github.io/dummy/gdm.html
- In the popup, select a window that is not the first entry and not "Entire screen".
Expected result:
- Preview of the window selected
Actual result:
- Preview of the first window in the list
Regression range:
0:54.08 INFO: Narrowed inbound regression window from [546d1fd4, c8b9ae70] (3 builds) to [546d1fd4, 73353f37] (2 builds) (~1 steps left)
0:54.08 INFO: No more inbound revisions, bisection finished.
0:54.08 INFO: Last good revision: 546d1fd47c9a48b6919848b2c6f28359460731eb
0:54.08 INFO: First bad revision: 73353f375d1dda3d4ff434da2a4f7bdfd39d3422
0:54.08 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=546d1fd47c9a48b6919848b2c6f28359460731eb&tochange=73353f375d1dda3d4ff434da2a4f7bdfd39d3422
Reporter | ||
Comment 1•6 years ago
|
||
[Tracking Requested - why for this release]: Regressed behavior
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Do we secretly use a deviceId constraint internally to signal which screen or window is desired? Because I can see how that would be a regression from bug 1571667.
That is a bit ugly. Device ids follow the spec, and the spec simply doesn't allow device id constraints for display media.
I guess we need to deviceId constraints allowed for display media when the request is from chrome.
Assignee | ||
Comment 3•6 years ago
|
||
That is indeed what we are doing.
Assignee | ||
Comment 4•6 years ago
|
||
Comment 7•6 years ago
|
||
bugherder |
Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 9091403 [details]
Bug 1579526 - Allow deviceId and groupId constraints for privileged getDisplayMedia callers. r?jib
Beta/Release Uplift Approval Request
- User impact if declined: Users will see the wrong screen/window share preview in most cases of requesting screen/window sharing.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment 0.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Trivial change.
- String changes made/needed:
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 9•6 years ago
|
||
Reproduced the bug on 70.0b5 20190909162732 (where fix hasn't been uplifted yet), confirmed that it works as expected on 69.0 20190827005903, which is unaffected by the bug and verified the landed fix on:
71.0a1 2019-09-12 on Windows 7, Mac 10.14.6 and Ubuntu 16.04
Comment 10•6 years ago
|
||
Comment on attachment 9091403 [details]
Bug 1579526 - Allow deviceId and groupId constraints for privileged getDisplayMedia callers. r?jib
Fix for new regression in 70, verified in nightly. OK for uplift for beta 7.
Comment 11•6 years ago
|
||
bugherder uplift |
Comment 12•6 years ago
|
||
Reproduced the issue using an old beta build 70.0b5 (Build id: 20190909162732).
Verified - fixed in Beta 70.0b7 (Build id: 20190916074538) and latest Nightly 75.0a1 (2020-02-11). Based on this I will update the flags accordingly.
Thanks.
Updated•4 years ago
|
Description
•