Chromium Code Reviews
DescriptionSerialize a SecurityOrigin using effectivePort() rather than port().
Even though the URL spec and blink::SecurityOrigin normalize origins with
default ports to (scheme, host, 0/null), url::Origin instead normalizes them
to (scheme, host, effective_port). This fixes passing such origins over mojo
by always serializing the effective_port.
This fixes a crash when trying to use BroadcastChannel from a page with
a default port origin.
BUG=161070
Committed: https://crrev.com/41e640498f1d4d98ee775f65cea06ff1977c142b
Cr-Commit-Position: refs/heads/master@{#404420}
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|
|||||||||||||||||||