[w3c/ServiceWorker] Make the promise settlement type of WindowClient.navigate() nullable (#1253)

The navigate() can be resolved as null if If browsingContext’s Window
object’s environment settings object’s creation URL’s origin is not
the same as the service worker's origin[1].

[1] https://w3c.github.io/ServiceWorker/#ref-for-dom-windowclient-navigate
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Make the promise settlement type of WindowClient.navigate() nullable

-- File Changes --

    M docs/index.bs (2)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1253.patch
https://github.com/w3c/ServiceWorker/pull/1253.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/1253

Received on Thursday, 21 December 2017 01:50:36 UTC