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

yoavweiss commented on this pull request.



> @@ -1427,6 +1413,21 @@ is a <a>filtered response</a> whose
  <li><p>Return <var>newResponse</var>.
 </ol>
 
+<h4 id=miscellaneous>Miscellaneous</h4>
+
+<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> <code>potentialDestination</code>, run these steps:
+
+<ol>
+ <li><p>If <code>potentialDestination</code> is "<code>fetch</code>", then return the empty string.
+
+ <li><p>Assert: <code>potentialDestination</code> is a <a for=request>destination</a>.
+
+ <li><p>Return <code>potentialDestination</code>.
+

removed

-- 
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_r117970014

Received on Tuesday, 23 May 2017 11:54:29 UTC