Re: [whatwg/fetch] Add potential destination. (#547)

yoavweiss commented on this pull request.



> @@ -810,6 +810,20 @@ the empty string,
 "<code>worker</code>", or
 "<code>xslt</code>". Unless stated otherwise it is the empty string.
 
+<p>A <dfn export id=concept-potential-destination>potential destination</dfn> is "<code>fetch</code>" or a <a for=request>destination</a>.
+
+<p>To <dfn export for=destination id=concept-potential-destination-translate>translate</dfn> a
+<a for=/>potential destination</a> into a <a for=request>destination</a>, run these steps:
+
+<ol>
+ <li><p>If <a for=/>potential destination</a> is "<code>fetch</code>", return the empty string.
+
+ <li><p>Assert: <a for=/>potential destination</a> is a valid <a for=request>destination</a>.
+
+ <li><p>If <a for=/>potential destination</a> is a valid <a for=request>destination</a>, return its value.

yup. changed

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/547#discussion_r117952686

Received on Tuesday, 23 May 2017 10:15:46 UTC