Correctly serialize empty content_type for blobs.
A BlobDataHandle could not have a content_type set, but that should be treated no different from an empty string, so serialize it as such. Otherwise this will trigger validation failures causing weird behavior when for example a blob without a content type is posted on a MessagePort. Bug: 813146 Change-Id: I0a20a6b91391e9aa490a337b93c74f9ab4316e31 Reviewed-on: https://chromium-review.googlesource.com/924338 Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#537462}
Showing
Please register or sign in to comment