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

domprops missing definitions for MutationObserverInit #327

Open
syranide opened this Issue Apr 8, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@syranide
Copy link
Contributor

syranide commented Apr 8, 2019

Bug report or Feature request?
BUG

Version (complete output of terser -V)
terser 3.14.1

Description
The domprops definitions for property mangling is incomplete with respect to MutationObserver. The properties of its options object is not defined in domprops.

See: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserverInit

I'm assuming this file is automatically generated today, sadly the MutationObserverInit interface does not seem to be available in the DOM and its properties must be hardcoded?

PS. I can put up a PR for this, I just need to know what would be the right approach for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.