diff --git a/source b/source index 8fcd43e3fca..3dfb9f6f690 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
  • @@ -12907,7 +12908,7 @@ interface HTMLBaseElement : HTMLElement {
    sizes
    as
    scope
    -
    usecache
    +
    updateviacache
    workertype
    color
    Also, the title attribute has special semantics on this element.
    @@ -12929,7 +12930,7 @@ interface HTMLLinkElement : HTMLElement { [CEReactions] attribute DOMString referrerPolicy; [CEReactions] attribute USVString scope; [CEReactions] attribute WorkerType workerType; - [CEReactions] attribute boolean useCache; + [CEReactions] attribute boolean updateViaCache; }; HTMLLinkElement implements LinkStyle; @@ -13136,11 +13137,11 @@ 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 is an + enumerated attribute that specifies the update via cache mode 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 workertype attribute is an enumerated attribute that specifies the service worker type for a @@ -13200,8 +13201,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.

    The workerType IDL attribute must reflect the workertype content @@ -24070,13 +24072,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"
    @@ -118492,10 +118495,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") + "imports"; "all"; "never" usemap img;