Skip to content

Commit

Permalink
Add caveat for IE use of createObjectUrl
Browse files Browse the repository at this point in the history
For instance: mozilla/pdf.js#3977 

When reading a image out of a pdf, the resulting Blob does not have its readonly `type` property set.

As a result, IE11 will only sometimes display the image. I'm as yet unclear why it does not behave predictably; I have had the same file fail or succeed on different runs.
  • Loading branch information
DanielHeath authored Jan 15, 2020
1 parent 56a573c commit 7e89961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/URL.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@
"notes": "<code>createObjectURL()</code> is no longer available within the context of a <code>ServiceWorker</code>."
},
"ie": {
"version_added": "10"
"version_added": "10",
"notes": "If the underlying object does not have a content type set, using this URL as the <code>src</code> of an <code>img</code> tag fails intermittently with error DOM7009."
},
"nodejs": {
"version_added": false
Expand Down

0 comments on commit 7e89961

Please sign in to comment.