commit | dc004e0d2c6f3d7a6815a0ef7a86bc1185c8adac | [log] [tgz] |
---|---|---|
author | creis <creis@chromium.org> | Fri Nov 20 21:28:47 2015 |
committer | Commit bot <commit-bot@chromium.org> | Fri Nov 20 21:29:31 2015 |
tree | 2218c48d0cb64902e4d6c3cc4d74376f37c6a3d7 | |
parent | 2ea06ac734627962a42f65c573b0ee22c7e3dbc6 [diff] |
Fix in-page logic for allow_universal_access_from_files. The previous approach failed if a file URL did a replaceState to another origin and then back to a file URL. The new approach checks the frame's origin instead, which stays as file:// the whole time. BUG=553418 TEST=See bug comment 11 for repro steps. Review URL: https://codereview.chromium.org/1457053004 Cr-Commit-Position: refs/heads/master@{#360917}