Closed Bug 1447150 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10101 - [Blobs] Correctly set mimetype of blob in FetchDataLoader.

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10101 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10101
Details from upstream follow.

Marijn Kruisselbrink <mek@chromium.org> wrote:
>  [Blobs] Correctly set mimetype of blob in FetchDataLoader.
>  
>  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
>  WPT-Export-Revision: dde865ad7924ba1a094a9f043b4f328fd687c24d
Component: web-platform-tests → DOM
Product: Testing → Core
P4 is unused to setting priority to P3.
Priority: P4 → P3
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/16ff4c621513
[wpt PR 10101] - [Blobs] Correctly set mimetype of blob in FetchDataLoader., a=testonly
https://hg.mozilla.org/mozilla-central/rev/16ff4c621513
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.