[w3c/ServiceWorker] Add client.type (#1018)

This adds a type attribute to Client interface. Before this, we could
only differentiate the WindowClient objects from Client objects. With
the type attribute, a client can be identified as one of window,
dedicated worker, and shared worker.

Fixes #1005.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1018

-- Commit Summary --

  * Add client.type

-- File Changes --

    M docs/index.bs (11)
    M docs/index.html (197)
    M docs/v1/index.bs (11)
    M docs/v1/index.html (197)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1018.patch
https://github.com/w3c/ServiceWorker/pull/1018.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1018

Received on Friday, 2 December 2016 05:56:55 UTC