commit | 8312a922fb04c23d17a64f38982542c385b76caf | [log] [tgz] |
---|---|---|
author | Henrik Grunell <grunell@chromium.org> | Mon Feb 04 08:45:13 2019 |
committer | Henrik Grunell <grunell@chromium.org> | Mon Feb 04 08:45:13 2019 |
tree | cd6bae63809292a7afcecb3c92109c544bed0097 | |
parent | 8802216148fdb9c3b6b09cebaf11231efa079e6d [diff] |
Check system permission for video capture and fail with correct error on Mac. * Fail with NotAllowedError, this consolidates with audio capture error. * Trigger system dialog explicitly when authorization is not determined. This is needed so that the system gives the correct information when checking the authorization state later. Otherwise it incorrectly keeps returning "not determined" until browser restart. Bug: 885184 Change-Id: I5c984e24877942f5924b172584d88974e5b9dd50 Reviewed-on: https://chromium-review.googlesource.com/c/1447732 Commit-Queue: Henrik Grunell <grunell@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Reviewed-by: Tommi <tommi@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by: Christian Fremerey <chfremer@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#628301}(cherry picked from commit f8fb175c085c0b523ea429204c759c427411a8bc) Reviewed-on: https://chromium-review.googlesource.com/c/1451916 Reviewed-by: Henrik Grunell <grunell@chromium.org> Cr-Commit-Position: refs/branch-heads/3683@{#153} Cr-Branched-From: e51029943e0a38dd794b73caaf6373d5496ae783-refs/heads/master@{#625896}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .