DescriptionFix web_accesible_resources enforcement for Site Isolation.
When --isolate-extensions or --site-per-process modes are enabled, all
extensions frames run in extension processes and are not mixed in regular
web renderers. This causes a problem with security checks for
web_accessible_resources, which allow all navigations to extension pages
when they are performed in extension process. This is no longer true and
this patch addresses this by using a NavigationThrottle to perform the
proper checks on the UI thread (also PlzNavigate compatible).
BUG=616488
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/b9164c43d2900c967f4fdb5ebfc4812f7e914116
Cr-Commit-Position: refs/heads/master@{#398189}
Patch Set 1 #
Total comments: 17
Patch Set 2 : Fix test expectations. #Patch Set 3 : Fixes for code review, removed filter exceptions. #
Total comments: 2
Patch Set 4 : Remove stale comment. #Messages
Total messages: 15 (6 generated)
|