Resolve monkey-patched JS constructors better in Dartium #24776
Labels
P2
A bug or feature request we're likely to work on
web-dart2js
web-js-interop
Issues that impact all js interop
Milestone
zones.js replaces MutationObserver with an unnamed constructor. wrap_jso uses the name to look up the wrapper, so it fails in that case. We should handle that case more robustly. I think we have some logic for that already, it just needs to be extended to non-custom elements. We should also probably take a look at how dart2js looks up interceptors and make sure we're compatible with that. Justin mentioned that Stephen had at one point talked about pulling that logic out.
@rakudrama @justinfagnani
The text was updated successfully, but these errors were encountered: