Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[worklets] Create ability for code to be loaded into worklets declaratively. #47
This is so that script doesn't have to be run to load code into an isolated worker. User agents can also do standard tricks like pre-fetching before html document is parsed.
This probably wants to be done with something like a tag. I.e.
<link href="paint.js" rel="paint-worker" />
referenced this issue
Dec 6, 2015
Service worker has done something similar with a link element. See:
For them they use a link element like:
We'd probably do something similar like:
There was talk in the Sydney F2F that we might want to use the
@upsuper Yup, something in CSS would also be nice