-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to reference HTML for link rel=serviceworker #1073
Comments
I can put time into creating a PR for this if nobody else has the cycles at the moment. |
I'm OOO until 1st of March. PR would be appreciated! |
Note that this needs a resolution on the following question from @domenic:
That step 8 is this:
|
I’m creating a patch/PR for this at the moment and am at the point of realizing the spec doesn’t yet actually define what syntax a service-worker So it seems like as part of this PR I also need to add an ABNF for I now wonder what other specs we might have that contain something I could use as a model—I mean an existing spec that defines the syntax of the value of the |
* Add new section “Declaring a "serviceworker" Link header” * Drop normative requirement to fire an error and abort if link[workertype] value is not a valid worker type. * Drop the partial interface IDL for the HTMLLinkElement interface (the definitions for the IDL attributes have already been merged directly into the HTMLLinkElement interface IDL definition in the HTML spec). Fixes #1073
* Add new section “Declaring a "serviceworker" Link header” * Drop normative requirement to fire an error and abort if link[workertype] value is not a valid worker type. * Drop the partial interface IDL for the HTMLLinkElement interface (the definitions for the IDL attributes have already been merged directly into the HTMLLinkElement interface IDL definition in the HTML spec). Fixes #1073
* Add new section “Declaring a "serviceworker" Link header” * Drop normative requirement to fire an error and abort if link[workertype] value is not a valid worker type. * Drop the partial interface IDL for the HTMLLinkElement interface (the definitions for the IDL attributes have already been merged directly into the HTMLLinkElement interface IDL definition in the HTML spec). Fixes #1073
* Add new section “Declaring a "serviceworker" Link header” * Drop normative requirement to fire an error if link[workertype] value isn’t a valid worker type; instead just abort. * Drop the partial interface IDL for the HTMLLinkElement interface (the definitions for the IDL attributes have already been merged directly into the HTMLLinkElement interface IDL definition in the HTML spec). Fixes #1073
* Add new section “Declaring a "serviceworker" Link header” * Drop normative requirement to fire an error if link[workertype] value isn’t a valid worker type; instead just abort. * Drop the partial interface IDL for the HTMLLinkElement interface (the definitions for the IDL attributes have already been merged directly into the HTMLLinkElement interface IDL definition in the HTML spec). Fixes #1073
@sideshowbarker added formal definitions for link rel=serviceworker to HTML, containing e.g. authoring conformance requirements, in whatwg/html#2356. The processing model of course stays in this spec. But there are some small tweaks that can be done for integration purposes.
Link
header or a HTML<{link}>
element with<{link/rel}>
equal to"serviceworker"
. Ideally that last should link to https://html.spec.whatwg.org/multipage/semantics.html#link-type-serviceworker.<{link/workertype}>
attribute". HTML now takes care of the missing and invalid value default.The text was updated successfully, but these errors were encountered: