commit | 36299bc62c0d5d99c6c3bfecf9db2495d9d2e666 | [log] [tgz] |
---|---|---|
author | Andrey Lushnikov <lushnikov@chromium.org> | Thu Aug 23 22:09:54 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 23 22:09:54 2018 |
tree | 6387059953d159c668ec5e1c3c04b6797de94798 | |
parent | 2cbf3d5eb1562a624ad862654ec3cdec24c953fd [diff] |
DevTools: introduce Browser.grantPermissions This patch adds permission management over DevTools protocol: - Browser.grantPermissions to grant permissions to origin - Browser.resetPermissions to reset devtools permissions to defaults Testing overview: - content_shell's devtools manager delegate is updated to resolve the default browser context. This way functionality can be tested in layout_tests - a new browser-grant-permissions.js test is added to test added methods - geolocation test is rewritten to use protocol instead of PermissionsUtil layout_test hook to verify that protocol permissions work with geolocation overrides. BUG=631464 R=dgozman Change-Id: I6d9451339c319781c47c7db9db02c9cd08115c26 Reviewed-on: https://chromium-review.googlesource.com/1185877 Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#585630}
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 .