- From: Jungkee Song <notifications@github.com>
- Date: Thu, 24 Sep 2015 23:44:50 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Message-ID: <slightlyoff/ServiceWorker/pull/751/r40403425@github.com>
> + <li>Let <var>worker</var> be <var>registration</var>'s <a href="#dfn-active-worker">active worker</a>.</li> > + <li>If <var>worker</var> is null, return null.</li> > + <li>Let <var>requestURLString</var> be the <a href="https://url.spec.whatwg.org/#concept-url-serializer">serialized</a> <var>requestURL</var>.</li> > + <li>For each <a href="https://url.spec.whatwg.org/#concept-url">URL</a> <var>scope</var> in <var>worker</var>'s <a href="#dfn-foreign-fetch-scopes">list of foreign fetch scopes</a>: > + <ol> > + <li>Let <var>scopeString</var> be the <a href="https://url.spec.whatwg.org/#concept-url-serializer">serialized</a> <var>scope</var>.</li> > + <li>If <var>requestString</var> starts with <var>scopeString</var> return <var>worker</var>.</li> > + </ol> > + </li> > + <li>Return null.</li> > + </ol> > + </spec-algorithm> > + </spec-section> > + > + <spec-section id="on-foreign-fetch-request-algorithm"> > + <h1>Handle Foreign Fetch</h1> Let's see how we can sort this out with fetch when we settle on the desirable behavior. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/pull/751/files#r40403425
Received on Friday, 25 September 2015 06:45:17 UTC