new permission/api to support a prompt-less desktopCapture
Reported by
dart.j...@gmail.com,
May 10 2016
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36 Platform: 7978.66.0 Steps to reproduce the problem: 1. Create extension that needs to take a high number of primary-screen full-desktop images daily. Be sure picker has been filtered down to a single option 2. Deploy extension from Chrome Management Console 3. See how users have to be consistently interrupted to request for access (particularly confusing since there is only one option) What is the expected behavior? This is working as designed, however, our users are unhappy about this scenario, particularly since there is little perceived benefit to them for the extra security (we are highly trusted in this scenario). It would be better if there was a way to specify a prompt-less desktopCapture source. What went wrong? The api currently is working as designed. New api/permission request. WebStore page: Did this work before? N/A Chrome version: 50.0.2661.86 Channel: stable OS Version: 50.0.2661.91 Flash Version: Shockwave Flash 21.0 r0 This is based on http://crbug.com/478735 but making the feature request for the new api that was discussed. To clarify our use case, we produce classroom management software for schools on various operating systems (very similar to Apple's Classroom app). We have an extension that only runs on Chromebook (we noop out on the other OSes) and our customers deploy the extension out through the Chrome management console. A major component of this space (classroom management) is the ability for teacher machines to request an image of student machines. The apis available for this are: chrome.tabs.captureVisibleTab: we use this in fallback scenarios and it covers the majority of cases, but the visible tab fails to capture work done in platform apps. chrome.desktopCapture.chooseDesktopMedia: using the desktopCapture api to establish the capture source allows us to create the source early in the day and reuse it. I don't prefer that we keep the stream open when we don't need it, but we are told that requesting access is very jarring and disruptive (and confusing as there's not really a choice that we're offering, given we want one specific screen). Also, it's not ideal to keep the stream open 24/7 since our software only should be getting screenshots at school. The request is for an api or permission that would let us get the capture source without always requiring the prompt. To reduce exposure to security risk, if this was restricted to extensions installed from the management console, that would fit our desired use case. |
|
►
Sign in to add a comment |
|
Comment 1 by sheriffbot@chromium.org
, May 11 2017