OOR-CORS: Manage per-profile access list even for NetworkService
This patch makes BrowserContext manages per-profile CORS access lists even if NetworkService is enabled, and use it to setup initial access lists for the non-primary NetworkContext. It will also work for restoring per-profile CORS settings on network service restarts. This patch makes following tests work even with --enable-features=OutOfBlinkCors,NetworkService. - CrossOriginReadBlockingExtensionTest.ProgrammaticContentScriptVsAppCache - CrossOriginReadBlockingExtensionTest.WebViewContentScript - ExtensionWebRequestApiTest.ExtensionRequests - PlatformAppBrowserTest.Isolation Bug: 908324, 891891 Change-Id: Ib0cfc2f5633f25187366a4d7d63168d60ea51f71 Reviewed-on: https://chromium-review.googlesource.com/c/1351208Reviewed-by:Matt Menke <mmenke@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#612567}
Showing
Please register or sign in to comment