DOM support should not be loaded in webworkers #7370
Labels
closed-obsolete
Closed as the reported issue is no longer relevant
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
This issue was originally filed by ngeoffray@google.com
Webworkers don't have access to the DOM. Since the dom library is quite big, it would be interesting not to load the full generated javascript into webworkers, but only the part that is DOM unrelated.
This would mean splitting the output into two sections, and loading only the non-DOM javascript file into webworkers.
The text was updated successfully, but these errors were encountered: