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
certs
ci
gitignore
html5lib
lint
manifest
pywebsocket
runner
scripts
serve
six
sslutils
third_party
webdriver
wpt
wptrunner
wptserve
.coveragerc -rw-r--r-- 333 bytes
.gitattributes -rw-r--r-- 26 bytes
.gitignore -rw-r--r-- 120 bytes
.gitmodules -rw-r--r-- 371 bytes
OWNERS -rw-r--r-- 20 bytes
__init__.py -rw-r--r-- 40 bytes
appveyor.yml -rw-r--r-- 770 bytes
conftest.py -rw-r--r-- 841 bytes
localpaths.py -rw-r--r-- 802 bytes
pytest.ini -rw-r--r-- 110 bytes
tox.ini -rw-r--r-- 1.9 KB

back to top