[bfcache] Disable bfcache for NativeFileSystem
NativeFileSystem uses RenderFrameHost::IsCurrent which is problematic for bfcache, as it means that for some frames the permissions might be requested while the frame is in back-forward cache (IsCurrent is true for iframes) and for some the requests will be denied and will not be resumed after restoring from back-forward cache. Disable back-forward cache as soon as we make a request for now. Some background on why we sometimes need to disable bfcache: https://docs.google.com/document/d/1NjZeusdS1kyEkZyfLggndU1A6qVt0Y1sa-LRUxnMoK8 R=mek@chromium.org CC=bfcache-bugs@chromium.org BUG=1001087 Change-Id: I6a1f0153df4c13fbaba900af049e0c852d340513 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1837813Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#704457}
Showing
Please register or sign in to comment