diff --git a/source b/source index 32bc1ef0b30..ab2304e2169 100644 --- a/source +++ b/source @@ -3771,6 +3771,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • ServiceWorker interface
  • ServiceWorkerContainer interface
  • update via cache mode
  • +
  • ServiceWorkerUpdateViaCache enumeration
  • @@ -12847,7 +12848,7 @@ interface HTMLLinkElement : HTMLElement { [CEReactions] attribute DOMString referrerPolicy; [CEReactions] attribute USVString scope; [CEReactions] attribute WorkerType workerType; - [CEReactions] attribute boolean updateViaCache; + [CEReactions] attribute ServiceWorkerUpdateViaCache updateViaCache; }; HTMLLinkElement implements LinkStyle; @@ -13040,9 +13041,12 @@ interface HTMLLinkElement : HTMLElement {

    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.

    + service worker registration. The attribute's keywords are + "imports", "all", and "never, + which map to the respective states imports, all, and never. 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