diff --git a/source b/source index 8fcd43e3fca..2591c5a8a3c 100644 --- a/source +++ b/source @@ -3791,6 +3791,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
ServiceWorkerContainer
interfaceServiceWorkerGlobalScope
interfacesizes
as
scope
usecache
updateviacache
workertype
color
title
attribute has special semantics on this element.link
elements that do not have a rel
attribute that contains the serviceworker
keyword.
- The usecache
attribute is a boolean
- attribute which sets use cache to true for a service worker
- registration. The attribute must not be specified on link
elements that do not
- have a rel
attribute that contains the serviceworker
keyword.
The updateviacache
attribute
+ specifies the update via cache mode for a service worker registration.
+ It is an enumerated attribute. Each update via cache mode is a keyword
+ for this attribute, mapping to a state of the same name. The missing value default is
+ the imports state. The attribute must not be specified on link
elements that
+ do not have a rel
attribute that contains the
+ serviceworker
keyword.
The workertype
attribute is an
enumerated attribute that specifies the service worker type for a
@@ -13200,8 +13203,9 @@ interface HTMLLinkElement : HTMLElement {
The relList
IDL attribute must reflect the rel
content attribute.
The useCache
IDL attribute must
- reflect the usecache
content attribute.
The updateViaCache
IDL attribute must
+ reflect the updateviacache
content
+ attribute, limited to only known values.
The workerType
IDL attribute must
reflect the workertype
content
@@ -24070,13 +24074,14 @@ interface HTMLHyperlinkElementUtils {
link
elements. This keyword creates an external
resource link that is used to declare a service worker registration and its
script url, scope url, type,
- and use cache setting.
User agents must implement the processing model for link
-element
serviceworker links described in Service
Workers, using the href
, scope
, workertype
, and
- usecache
attributes.
updateviacache
attributes.
+
stylesheet
"type
attribute and the Content-Type value need to match for the resource to be used
usecache
- link
- rel
="serviceworker
")
- updateviacache
+ link
+ rel
="serviceworker
")
+ usemap
img
;