Re: [slightlyoff/ServiceWorker] Specify serviceworker link type for link element and link header. (#828)

> +      <pre class="lang-js">
> +        navigator.serviceworker.register("/js/sw.js", { scope: "/" });
> +      </pre>
> +    </div>
> +  </section>
> +
> +  <section>
> +    <h3 id="link-element-interface-section">Link element interface extensions</h3>
> +
> +    <pre class="idl">
> +      partial interface HTMLLinkElement {
> +        attribute USVString scope;
> +      };
> +    </pre>
> +
> +    <p>The <dfn id="link-scope-attribute">scope</dfn> attribute returns the value of this element's <dfn element-attr for="link">scope</dfn> attribute.</p>

This should use reflection instead: https://html.spec.whatwg.org/multipage/infrastructure.html#reflect

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/pull/828/files/21aac244c26b81d49bd1337fa1eb924c176d2f5a#r60477062

Received on Wednesday, 20 April 2016 20:01:07 UTC