Revision 3c0e03dcd57325686f7ce4b660ba0e2cdc3dd35f authored by Marijn Kruisselbrink on 21 March 2018, 22:30:54 UTC, committed by Blink WPT Bot on 21 March 2018, 22:40:16 UTC
Just creating a new BlobDataHandle doesn't actually update the mimetype
of the blob (if later the blob is requested through a blob: URL for
example), so instead actually create a new blob wrapping the existing
blob to properly change the mimetype.

Bug: none
Change-Id: I93b6d584178a02a74d68bdd6fcace1514ca90ec0
Reviewed-on: https://chromium-review.googlesource.com/967271
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544864}
1 parent b1ef882
History
File Mode Size
tests
__init__.py -rw-r--r-- 0 bytes
gitignore.py -rw-r--r-- 3.9 KB

back to top