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 DOMException polyfill #37

Merged
merged 2 commits into from
Oct 7, 2019
Merged

Add DOMException polyfill #37

merged 2 commits into from
Oct 7, 2019

Conversation

MattiasBuelens
Copy link
Owner

@MattiasBuelens MattiasBuelens commented Oct 7, 2019

As noted earlier, we need to polyfill DOMException in order to support non-DOM environments such as Node. We also need it on Internet Explorer 11, where DOMException is not constructable from user code.

This PR does just that, enabling the streams polyfill to run without a browser.

In the future, we should add tests to verify that Node is still supported.

@MattiasBuelens MattiasBuelens merged commit 79249c0 into master Oct 7, 2019
@MattiasBuelens MattiasBuelens deleted the dom-exception-polyfill branch October 7, 2019 21:55
@MattiasBuelens MattiasBuelens added this to the v2.0.5 milestone Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant