From 89690d4b50616f617bd280385d6b493f17d5287f Mon Sep 17 00:00:00 2001
From: Jake Archibald
Date: Mon, 10 Apr 2017 17:23:24 +0100
Subject: [PATCH] Corrections following feedback
---
source | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
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