From d9eecce465402f143d3fa3b7a0920ae431528537 Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Wed, 22 Nov 2017 14:42:53 +0000 Subject: [PATCH] Remove for now This is being removed as part of foreign fetch, but we may add it again once we have a better understanding of the use cases. Tests removed in: https://github.com/w3c/web-platform-tests/pull/7762. More context: https://github.com/w3c/ServiceWorker/pull/1207. --- source | 89 +--------------------------------------------------------- 1 file changed, 1 insertion(+), 88 deletions(-) diff --git a/source b/source index d6d946e16d7..2e515bde8b9 100755 --- a/source +++ b/source @@ -3913,17 +3913,11 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • control
  • handle fetch
  • match service worker registration
  • -
  • scope url
  • -
  • script url
  • service worker
  • service worker client
  • -
  • service worker registration
  • -
  • service worker type
  • -
  • serviceworker link
  • ServiceWorker interface
  • ServiceWorkerContainer interface
  • ServiceWorkerGlobalScope interface
  • -
  • update via cache mode
  • @@ -13063,9 +13057,6 @@ interface HTMLBaseElement : HTMLElement {
    referrerpolicy
    sizes
    as
    -
    scope
    -
    updateviacache
    -
    workertype
    color
    Also, the title attribute has special semantics on this element.
    DOM interface:
    @@ -13085,9 +13076,6 @@ interface HTMLLinkElement : HTMLElement { [CEReactions] attribute DOMString type; [SameObject, PutForwards=value] readonly attribute DOMTokenList sizes; [CEReactions] attribute DOMString referrerPolicy; - [CEReactions] attribute USVString scope; - [CEReactions] attribute DOMString workerType; - [CEReactions] attribute DOMString updateViaCache; }; HTMLLinkElement implements LinkStyle; @@ -13130,8 +13118,7 @@ interface HTMLLinkElement : HTMLElement { prefetch, preload, prerender, - search, - serviceworker, and + search, and stylesheet. rel's supported tokens must only include the tokens from this list that the user agent implements the @@ -13289,32 +13276,6 @@ interface HTMLLinkElement : HTMLElement {
    -

    The scope attribute specifies the scope - url for a service worker registration. If the attribute is present, the value - must be a valid URL potentially surrounded by spaces. 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 - service worker registration. The attribute's keywords are classic and module, which map to the respective states - classic and module. The missing value default is the classic - state. There is an additional state, not represented by a keyword: the invalid state. The - invalid value default is the invalid state. The attribute must not be - specified on link elements that do not have a rel - attribute that contains the serviceworker keyword.

    - -
    -

    The color attribute is used with the mask-icon link type. The attribute must not be specified on link elements that do not have a rel attribute that contains the @@ -13339,7 +13300,6 @@ interface HTMLLinkElement : HTMLElement { media, nonce, rel, - scope, sizes, and type each must reflect the respective content attributes of the same name.

    @@ -13362,14 +13322,6 @@ interface HTMLLinkElement : HTMLElement {

    The relList IDL attribute must reflect the rel 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 - attribute, limited to only known values.

    -
    Processing the media attribute

    If the link is a hyperlink then the media @@ -23616,14 +23568,6 @@ interface HTMLHyperlinkElementUtils { Gives a link to a resource that can be used to search through the current document and its related pages. - - serviceworker - Hyperlink - not allowed - · - Declares a service worker registration. - - stylesheet External Resource @@ -24272,22 +24216,6 @@ interface HTMLHyperlinkElementUtils { the search link type to enable user agents to autodiscover search interfaces.

    -
    Link - type "serviceworker"
    - -

    The serviceworker keyword may be used with - 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 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 - updateviacache attributes. -

    -
    Link type "stylesheet"
    @@ -118013,11 +117941,6 @@ interface External { "col"; "rowgroup"; "colgroup" - - scope - link - Scope url for a service worker registration (for rel="serviceworker") - Valid URL potentially surrounded by spaces selected option @@ -118205,11 +118128,6 @@ interface External { object Whether the type attribute and the Content-Type value need to match for the resource to be used Boolean attribute - - updateviacache - link - Update via cache mode for a service worker registration (for rel="serviceworker") - Update via cache mode usemap img; @@ -118259,11 +118177,6 @@ interface External { video Horizontal dimension Valid non-negative integer - - workertype - link - Service worker type for a service worker registration (for rel="serviceworker") - "classic"; "module" wrap textarea