diff --git a/source b/source index 6da2c48a675..6a7cc32f3b8 100644 --- a/source +++ b/source @@ -3791,6 +3791,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • ServiceWorkerContainer interface
  • ServiceWorkerGlobalScope interface
  • use cache
  • +
  • update via cache mode
  • @@ -12909,7 +12910,7 @@ interface HTMLBaseElement : HTMLElement {
    sizes
    as
    scope
    -
    usecache
    +
    updateviacache
    workertype
    color
    Also, the title attribute has special semantics on this element.
    @@ -12931,7 +12932,7 @@ interface HTMLLinkElement : HTMLElement { [CEReactions] attribute DOMString referrerPolicy; [CEReactions] attribute USVString scope; [CEReactions] attribute WorkerType workerType; - [CEReactions] attribute boolean useCache; + [CEReactions] attribute DOMString updateViaCache; }; HTMLLinkElement implements LinkStyle; @@ -13138,11 +13139,13 @@ interface HTMLLinkElement : HTMLElement { specified on 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 @@ -13202,8 +13205,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 @@ -24072,13 +24076,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.

    + and update via cache mode.

    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. +

    Link type "stylesheet"
    @@ -118512,10 +118517,10 @@ interface External { Whether the type attribute and the Content-Type value need to match for the resource to be used Boolean attribute - usecache - link - Whether to set use cache to true for a service worker registration (for rel="serviceworker") - Boolean attribute + updateviacache + link + Update via cache mode for a service worker registration (for rel="serviceworker") + Update via cache mode usemap img;