DescriptionDo not check for ASCII in WebSecurityOrigin->Origin conversion
Protocols, hosts, and suborigins are guaranteed to be canonicalized to
ASCII. Using WebString::ascii DCHECKs this fact, whereas WebString::utf8
branches on it. Using ascii() prevents a scan-through of each part of
the origin.
BUG=672877
Committed: https://crrev.com/8327037293547a118f463e2e359274b51de1d6d3
Cr-Commit-Position: refs/heads/master@{#438858}
Patch Set 1 #
Messages
Total messages: 16 (9 generated)
|