On Mon Jul 24 14:52:37 2023 +0000, Yuxuan Shui wrote:
How do I make sure `MutationObserver` is only exposed for compat mode IE11?
You can either write a new interface or use the hook method I mentioned previously. What it does is basically it "hooks" MutationObserver so that it's NULL/unavailable in IE10, since the interface is added for IE10+. I think it's simpler than adding an entirely new interface (with all the forwarding boilerplate), but that's up to how Jacek feels in the end.