commit | 52f24673be967342572224cdcd6f145f6911f226 | [log] [tgz] |
---|---|---|
author | Takashi Toyoshima <toyoshim@chromium.org> | Tue Mar 05 05:36:36 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 05 05:36:36 2019 |
tree | d9eba1f658a4709a2303c779677a306d261d2699 | |
parent | 06db132bb24a2ad3e3a86ada3d6a2460aeb2ca8e [diff] |
OOR-CORS: support DefaultPolicyHostRestrictions updates PermissionsUpdater::SetDefaultPolicyHostRestrictions needs to update cors access lists as well as other permission updating methods do. This patch extends NetworkPermissionsUpdateHelper to support the default policy host restrictions case in addition to permissions update. This makes following tests pass with OOR-CORS. - BackgroundXhrWebstoreTest.PolicyContentScriptXHR - BackgroundXhrWebstoreTest.PolicyUpdateXHR - BackgroundXhrWebstoreTest.PolicyUpdateIndividualXHR - BackgroundXhrWebstoreTest.PolicyUpdateDefaultXHR Bug: 907428 Change-Id: I0ae7777bd87baa1c98dfbefba44b9911eb9c08f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1478661 Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#637600}
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 .