DescriptionUse array<uint8> rather than string to pass BroadcastChannel messages.
Even though SerializedScriptValue normally serializes values to a WTF::String,
the string isn't actually a valid unicode string. Because of that it can't
be safely passed over mojo as a string (invalid strings get silently converted
to null). This changes the mojo interface to use array<uint8> instead, thereby
making sure arbitrary values get passed across correctly.
BUG=630203
Committed: https://crrev.com/af71dd08b3a335dd78e541e03c379e99a83f57a7
Cr-Commit-Position: refs/heads/master@{#407048}
Patch Set 1 #
Total comments: 4
Messages
Total messages: 21 (8 generated)
|