Chromium Code Reviews
DescriptionPull to refresh: Use new reload type RELOAD_MAIN_RESOURCE
Current implementation for the new behavior is a little tricky, and
should be replaced with a right fix, this change.
This change introduces new reload type RELOAD_MAIN_RESOURCE for content.
We use this type for IPC, and convert it to FrameLoadTypeReloadMainResource
to ask a right kind of reload to Blink.
FrameLoadTypeReloadMainResource was previously known as FrameLoadTypeSame.
The type didn't explain the behavior, but it meant we validate the main
resource and follows protocols for sub resources.
Even with this patch, sub resources will be validated on preloading
for some reasons if DevTools is open. It should be fixed by followup changes.
BUG=558829
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/bada0dc96fe81de27879058e78225e1747b2d57f
Cr-Commit-Position: refs/heads/master@{#394336}
Patch Set 1 #Patch Set 2 : v2 setup #Patch Set 3 : android build fix #
Total comments: 7
Patch Set 4 : Add better comments #
Total comments: 1
Patch Set 5 : improved comments #
Total comments: 13
Patch Set 6 : review #14 and #16 #Messages
Total messages: 24 (10 generated)
|