Steps to reproduce
My test case is captured here: http://plnkr.co/edit/IekedoA6Vn2mwwSkUzpO?p=preview
It should set the body text to read "Received QUX". This works in Chrome (65-dev), Safari 11, and Firefox 58.
The issue appears to stem from the import at the top of test.js, if I comment it out then I get errors showing up in the devtools console as expected.
However it doesn’t appear to be the contents on event_target.js that are problematic: if I copy paste its content into test.js and remove the import (and change Foo to extend EventBase), then I get the expected “Recieved QUX” output.
It doesn’t appear to be related to the “EventTarget” name, because changing the export/import to “EventBase” doesn’t work. The bug is caused simply by importing event_target.js.
I’m baffled as to why this particular setup is failing, and why there’s no error message or JS files showing the devtools.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”