Intent for Reverse Origin Trial: Media Previews opt-out

653 views
Skip to first unread message

mark a. foltz

unread,
Mar 26, 2024, 4:33:27 PMMar 26
to blink-dev, bryantc...@chromium.org

Contact emails

mfo...@chromium.orgbryantc...@chromium.org

Explainer

None

Specification

https://docs.google.com/document/d/1ZnX2JROjr9l4y2_OPMpfVlLOo-A5cQzD4mWarj9kXQ0/edit

Design docs


https://docs.google.com/document/d/1ZnX2JROjr9l4y2_OPMpfVlLOo-A5cQzD4mWarj9kXQ0/edit

Summary

Allow coordination between sites using Page Embedded Permissions Controls and concurrent experiments with the camera and microphone permissions UI in Chrome.



Blink component

Blink>MediaStream

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None as this feature concerns the functionality of Chrome's permissions UI, and does not change the behavior of the APIs that are gated by it: navigator.mediaDevices.enumerateDevices and navigator.mediaDevices.getUserMedia Other browsers implement their own permissions UIs independently of Chrome.



Gecko: N/A

WebKit: N/A

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

--enable-features=camera-mic-preview

Finch feature name

CameraMicPreview

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/330762482

Launch bug

https://launch.corp.google.com/launch/4304480

Estimated milestones

Origin trial desktop first124
Origin trial desktop last135


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5100528783851520?gate=5076768018137088

This intent message was generated by Chrome Platform Status.

Yoav Weiss (@Shopify)

unread,
Mar 27, 2024, 11:28:12 AMMar 27
to mark a. foltz, Jason Robbins, blink-dev, bryantc...@chromium.org
As a heads up, this wasn't caught in the API owner tooling, probably due to the unconventional title.


--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CALgg%2BHG8dcBFh%2Bw4WbVwVbYvTJ8y5DzrhaxkU%3D2vWMyB0ixUeQ%40mail.gmail.com.

mark a. foltz

unread,
Mar 29, 2024, 1:04:40 PMMar 29
to Yoav Weiss (@Shopify), mark a. foltz, Jason Robbins, blink-dev, bryantc...@chromium.org
The automatically generated subject wasn't appropriate for this intent, so I edited it by hand.  I think Jason is aware of it as I was conversing with him on a GitHub issue about it.

mark a. foltz

unread,
Apr 2, 2024, 1:17:04 PMApr 2
to mark a. foltz, Yoav Weiss (@Shopify), Jason Robbins, blink-dev, bryantc...@chromium.org
FYI, this request has been shifted one milestone forward (from 124 => 135, to 125 => 136) because of some UI changes that will require additional eng work to address.

Yoav Weiss (@Shopify)

unread,
Apr 3, 2024, 6:02:24 AMApr 3
to mark a. foltz, Jason Robbins, blink-dev, bryantc...@chromium.org
Do I understand correctly that this intent only concerns the permission UI itself and is not web exposed in any way?

mark a. foltz

unread,
Apr 3, 2024, 1:25:34 PMApr 3
to Yoav Weiss (@Shopify), mark a. foltz, Jason Robbins, blink-dev, bryantc...@chromium.org
That's correct.  This will impact Chrome's permission UI but not the behavior of the gated web APIs (navigator.mediaDevices.getUserMedia / navigator.mediaDevices.enumerateDevices).

Yoav Weiss (@Shopify)

unread,
Apr 3, 2024, 3:18:27 PMApr 3
to mark a. foltz, Jason Robbins, blink-dev, bryantc...@chromium.org
Another question - do you want this browser UI feature to be controlled with an Origin Trial? If so, can you expand on the reasoning?

mark a. foltz

unread,
Apr 4, 2024, 2:21:42 PMApr 4
to Yoav Weiss (@Shopify), Chris Harrelson, Rick Byers, mark a. foltz, Jason Robbins, blink-dev, bryantc...@chromium.org
Yes, the intention is to allow coordination of experimentation with another origin trial for Page-Embedded Permissions Controls.  I am CCing +Chris Harrelson and +Rick Byers who I've discussed the background for this request.
 
More detailed reasoning is covered in the "motivation" part of the chromestatus, which for some reason the tool does not include in the generated email (is that a bug?)  I've copied it below for convenience.

m.

Motivation

This is not a traditional deprecation trial as we are not changing Web-facing behavior. Instead we are using a reverse origin trial to coordinate a Chrome launch with the launch of Page Embedded Permissions controls. This origin trial will exclude sites from the launch of Media Previews. Design Doc for Media Previews: iconChrome Camera and Mic Previews  Excerpts from the above document: Chrome will provide real-time previews of camera and microphone input at the time camera and microphone permissions are requested by websites. These will also be available from the site’s pageinfo. In addition, users with multiple devices will be able to select a camera and microphone at the time permissions are requested, unless the site has requested a specific device through getUserMedia(). This feature is in concurrent development with another permissions-related project, Page-Embedded Permissions Controls. Users will be exposed to PEPC under an independent launch process involving a separate origin trial and/or site-specific experiments. To allow the media previews and PEPC launches to proceed in parallel without exposing users to multiple experimental conditions, we will be providing a reverse origin trial to allow sites that plan to adopt PEPC to opt out of media previews.


mark a. foltz

unread,
Apr 8, 2024, 5:35:40 PMApr 8
to mark a. foltz, Yoav Weiss (@Shopify), Chris Harrelson, Rick Byers, Jason Robbins, blink-dev, bryantc...@chromium.org
Hello, any more information or context I can provide to move this forward?

Chris Harrelson

unread,
Apr 8, 2024, 5:40:25 PMApr 8
to mark a. foltz, Yoav Weiss (@Shopify), Rick Byers, Jason Robbins, blink-dev, bryantc...@chromium.org
Reply all
Reply to author
Forward
0 new messages