Return a wrong Error when camera permission is denied
Reported by
leix1.w...@intel.com,
Jul 20 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce the problem: 1. A depth camera is plugged into the PC 2. Access to https://01org.github.io/web-test-suite/chromium/mediacapture-depth/GUM-deny-manual.https.html 3. When prompted, please deny access to the video stream What is the expected behavior? Return a promise rejected with a DOMException object whose name attribute has the value SecurityError when permission is denied. What went wrong? Return "PermissionDeniedError" when permission is denied. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 61.0.3159.0 Channel: canary OS Version: 10 Flash Version: Shockwave Flash 26.0 r0
,
Jul 20 2017
,
Jul 31 2017
,
Aug 14 2017
Shall we bump this to M62?
,
Aug 29 2017
According to the spec https://w3c.github.io/mediacapture-main/, the permission failure error changed to NotAllowedError. So update the test case, and the current result is "expected NotAllowedError, but got PermissionDeniedError". And I think it has been included in https://bugs.chromium.org/p/chromium/issues/detail?id=721412.
,
Aug 29 2017
,
Oct 16 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by kkaluri@chromium.org
, Jul 20 2017Components: Blink>Media>Video
Labels: M-61 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
131 KB
131 KB View Download
112 KB
112 KB View Download