Re: [w3c/ServiceWorker] (WIP) Navigation preload (#983)

jakearchibald commented on this pull request.



> @@ -1714,6 +1837,7 @@ spec: webidl; urlPrefix: https://heycam.github.io/webidl/
       [Constructor(DOMString type, FetchEventInit eventInitDict), Exposed=ServiceWorker]
       interface FetchEvent : ExtendableEvent {
         [SameObject] readonly attribute Request request;
+        readonly attribute Promise<Response?> preloadResponse;

I'm trying to show that `preloadResponse` is a promise that resolves with a response or undefined. What's the right IDL in this case? "any" seems less informative.

-- 
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/983

Received on Monday, 31 October 2016 11:11:41 UTC