summaryrefslogtreecommitdiffstats
path: root/net/http/bidirectional_stream.h
diff options
context:
space:
mode:
authorjsbell <jsbell@chromium.org>2016-03-22 09:42:19 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-22 16:44:26 +0000
commit5721760f19e829770503b2aa4e51ff76848f2270 (patch)
treeac501c0b69085a0857be5d19dd6310522ac90261 /net/http/bidirectional_stream.h
parentbeefd98f2517bf00a43ba7e52290418495ef846a (diff)
downloadchromium_src-5721760f19e829770503b2aa4e51ff76848f2270.zip
chromium_src-5721760f19e829770503b2aa4e51ff76848f2270.tar.gz
chromium_src-5721760f19e829770503b2aa4e51ff76848f2270.tar.bz2
Fix effective Origin URLs for IDB + Cache for file:/// pages
This is a terrible, horrible, no good, very bad hack. Previously, storage APIs (notable, Indexed DB, Cache Storage) would pass the origins they operated on from Blink to Chromium's content/browser as a serialization done through SecurityOrigin->DatabaseIdentifier->String->IPC->String->GURL. That was simplified to SecurityOrigin->String->GURL->IPC. A side effect of this was that pages browsed as file:// URLs would end up as invalid GURLs due to stricter checks in the SecurityOrigin->String step. Special case that conversion to restore the previous behavior. R=michaeln@chromium.org,mkwst@chromium.org BUG=595840 Review URL: https://codereview.chromium.org/1810193002 Cr-Commit-Position: refs/heads/master@{#382587}
Diffstat (limited to 'net/http/bidirectional_stream.h')
0 files changed, 0 insertions, 0 deletions