Bug 159360

Summary: Blob content type not preserved when retrieving blobs from IndexedDB
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, bfulgham, commit-queue, jsbell
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 149117    
Attachments:
Description Flags
Patch achristensen: review+, beidson: commit-queue-

Brady Eidson
Reported 2016-07-01 11:27:10 PDT
Blob content type not preserved when retrieving blobs from IndexedDB Noticed this when storing an image/svg+xml blob, then trying to assign the blob to an <img> element and having that fail. Since we didn't preserve content type coming out, we created a BitmapImage backing store instead of an SVGImage.
Attachments
Patch (28.94 KB, patch)
2016-07-01 11:32 PDT, Brady Eidson
achristensen: review+
beidson: commit-queue-
Brady Eidson
Comment 1 2016-07-01 11:27:25 PDT
Brady Eidson
Comment 2 2016-07-01 11:32:25 PDT
Brady Eidson
Comment 3 2016-07-01 11:54:13 PDT
WHOOPS - Forgot to include the test expectations!
Brady Eidson
Comment 4 2016-07-01 12:11:21 PDT
Note You need to log in before you can comment on or make changes to this bug.