Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add caveat for IE use of createObjectUrl #5498

Merged
merged 1 commit into from Jan 16, 2020
Merged

Conversation

DanielHeath
Copy link
Contributor

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.

I have confirmed this behavior on IE11 in virtualbox, using the free image from Microsoft.

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.
@ghost ghost added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jan 15, 2020
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you for this PR and welcome to the BCD project, @DanielHeath! 🎉

@ddbeck ddbeck merged commit 55486ef into mdn:master Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants