Skip to content

Remove assertions on the return type of URL.createObjectURL. NFC #24909

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

Merged
merged 1 commit into from
Aug 12, 2025

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Aug 11, 2025

URL.createObjectURL always returns a string.

These assertions were added way back in 2012 (e1356dc) when perhaps the spec was new and not implemented correctly everywhere.

`URL.createObjectURL` always returns a string.

These assertions were added way back in 2012 (e1356dc) when perhaps
the spec was new and not implemented correctly everywhere.
@sbc100 sbc100 requested a review from kripken August 11, 2025 22:51
@sbc100 sbc100 merged commit 5cfdfaa into emscripten-core:main Aug 12, 2025
30 checks passed
@sbc100 sbc100 deleted the remove_assert branch August 12, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants