#270: HTML General Review: Web Workers
Discussions
Comment by @slightlyoff Jul 24, 2018 (See Github)
Comment by @travisleithead Jul 24, 2018 (See Github)
Workers can be created as module or classic scripts. I noted that there should probably be some way to get the "type" of script (and not just for workers either). It would be wherever script execution meta-data is surfaced (or on the global if nowhere else)..
Comment by @kenchris Jul 24, 2018 (See Github)
@travisleithead meta data similar to import.meta.url and the like, https://github.com/tc39/proposal-import-meta
Today you would have to try/catch a call to importScript
Comment by @cynthia Jul 24, 2018 (See Github)
[1] Blöcks were briefly discussed during the session - we would be happy to see such a mechanism move forward. Another thing that continues to pop up is accessing the DOM from a worker - especially from the aspect of finding elements within the DOM from a worker. (That said, write access to DOM has been brought up too.)
Comment by @travisleithead Jul 24, 2018 (See Github)
As we wrap up this review, we thought it worthwhile to note our findings to some of the implementers working on "workers" from various browsers. These are things to consider when looking to future innovation in this area. @kinu @wanderview @aliams
OpenedApr 17, 2018
Hello TAG!
This issue is part of the TAG's larger effort to review the HTML spec in its entirety--please see the original issue https://github.com/w3ctag/design-reviews/issues/174 for a summary of all the break-out issues.
The "Sections" are all the sections of the WHATWG HTML spec that should be reviewed as part of this issue. Where the spec section has associated Web Platform Tests, the specific WPT path is noted. While the primary focus of the review is the specification text, it can be helpful to review the related tests to help clarify algorithms or see interoperability conformance issues (or find issues with the tests).
The "Features" are just a sample of what you will encounter as part of this spec section, it's not meant to be exhaustive.
Here are some example suggestions for what to look for during the review, but don't limit to only these suggestions!
Please provide feedback as (please select one):