Chromium Code Reviews
DescriptionFix webview-accessible resource checks in AllowCrossRendererResourceLoadHelper
AllowCrossRendererResourceLoadHelper is supposed to check whether a
resource that a webview guest tries to load is webview-accessible [1],
and denies the load if it isn't. However, it currently has an
exception for all web-triggerable page transitions, blindly allowing
them through. This allows a webview to happily navigate itself to
non-webview-accessible resources.
The page transition exception seems wrong, and rob@robwu.nl made a
detailed analysis of how we ended up with it in
https://crbug.com/633963#c14. This CL removes it. The fix was
originally proposed by Rob in https://crbug.com/640072.
[1] https://developer.chrome.com/apps/tags/webview#local_resources
BUG=640072, 691941
Review-Url: https://codereview.chromium.org/2768863003
Cr-Commit-Position: refs/heads/master@{#459326}
Committed: https://chromium.googlesource.com/chromium/src/+/a7d08ae5f1e081b95ae6f4e1f163cbd0be6dc075
Patch Set 1 #Patch Set 2 : Cleanup #
Total comments: 2
Depends on Patchset: Messages
Total messages: 22 (15 generated)
|
|||||||||||||||||||||||||||||||||||||