Bug 1590479 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

[Tracking Requested - why for this release]: Broke screen-sharing in cross-origin iframes. Broke screen-sharing in private-browsing mode.

This is a bug in the prompt where the [Allow] button is ghosted when it shouldn't be. Only shows up on beta and release, due to a nightly-only pref.

STR (cross-origin):
 1. In about:config, set `dom.security.featurePolicy.enabled` to `false`
 2. Open https://jan-ivar.github.io/dummy/iframe_gum_cross.html
 3. Click [Screen] button (If you see `NotAllowedError` you didn't do step 1).
 4. Pick a window or screen in the screen-sharing prompt.

STR (private browsing):
 1. In about:config, set `dom.security.featurePolicy.enabled` to `false`
 2. Open https://jan-ivar.github.io/dummy/gdm.html
 3. Pick a window or screen in the screen-sharing prompt.

Expected result:
* [Allow] button is enabled and clickable. Clicking it shares the chosen window or screen.

Actual result:
* [Allow] button is disabled (not clickable). There is no way to enable the button or proceed.

Regression range:
12:49.61 INFO: Last good revision: 281a303a0616bf69a275432008e7b55205a6efc1
12:49.61 INFO: First bad revision: 09bdee778e59a390205a1d5f2e0926130d1d0966
12:49.61 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=281a303a0616bf69a275432008e7b55205a6efc1&tochange=09bdee778e59a390205a1d5f2e0926130d1d0966
-> Bug 1580319
[Tracking Requested - why for this release]: Broke screen-sharing in cross-origin iframes. Broke screen-sharing in private-browsing mode.

This is a bug in the prompt where the [Allow] button is ghosted when it shouldn't be. Shows up in release, beta and nightly.

STR (cross-origin):
 1. Open https://jan-ivar.github.io/dummy/iframe_gdm_cross.html
 2. Click [Screen] button.
 3. Pick a window or screen in the screen-sharing prompt.

STR (private browsing):
 1. In about:config, set `dom.security.featurePolicy.enabled` to `false`
 2. Open https://jan-ivar.github.io/dummy/gdm.html
 3. Pick a window or screen in the screen-sharing prompt.

Expected result:
* [Allow] button is enabled and clickable. Clicking it shares the chosen window or screen.

Actual result:
* [Allow] button is disabled (not clickable). There is no way to enable the button or proceed.

Regression range:
12:49.61 INFO: Last good revision: 281a303a0616bf69a275432008e7b55205a6efc1
12:49.61 INFO: First bad revision: 09bdee778e59a390205a1d5f2e0926130d1d0966
12:49.61 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=281a303a0616bf69a275432008e7b55205a6efc1&tochange=09bdee778e59a390205a1d5f2e0926130d1d0966
-> Bug 1580319
[Tracking Requested - why for this release]: Broke screen-sharing in cross-origin iframes. Broke screen-sharing in private-browsing mode.

This is a bug in the prompt where the [Allow] button is ghosted when it shouldn't be. Shows up in release, beta and nightly.

STR (cross-origin):
 1. Open https://jan-ivar.github.io/dummy/iframe_gdm_cross.html
 2. Click [Screen] button.
 3. Pick a window or screen in the screen-sharing prompt.

STR (private browsing):
 1. Open https://jan-ivar.github.io/dummy/gdm.html
 2. Pick a window or screen in the screen-sharing prompt.

Expected result:
* [Allow] button is enabled and clickable. Clicking it shares the chosen window or screen.

Actual result:
* [Allow] button is disabled (not clickable). There is no way to enable the button or proceed.

Regression range:
12:49.61 INFO: Last good revision: 281a303a0616bf69a275432008e7b55205a6efc1
12:49.61 INFO: First bad revision: 09bdee778e59a390205a1d5f2e0926130d1d0966
12:49.61 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=281a303a0616bf69a275432008e7b55205a6efc1&tochange=09bdee778e59a390205a1d5f2e0926130d1d0966
-> Bug 1580319

Back to Bug 1590479 Comment 1