File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -709,6 +709,24 @@ this flag set are subject to additional processing requirements.
709709"<code> foreign</code> ", or "<code> none</code> ". Unless stated otherwise it is
710710"<code> all</code> ".
711711
712+ <div class=note>
713+ This determines which service workers will receive a {{fetch!!event}} event for this fetch.
714+
715+ <dl>
716+ <dt> "<code> all</code> "
717+ <dd> Relevant local and foreign service workers will get a {{fetch!!event}} or
718+ {{foreignfetch!!event}} event for this fetch.
719+
720+ <dt> "<code> foreign</code> "
721+ <dd> Only relevant foreign service workers will get a {{foreignfetch!!event}} event for this fetch.
722+ {{fetch(input)!!method}} uses this to bypass the current service worker if the global is a
723+ {{ServiceWorkerGlobalScope}} .
724+
725+ <dt> "<code> none</code> "
726+ <dd> Neither local nor foreign service workers will get events for this fetch.
727+ </dd>
728+ </div>
729+
712730<p> A <a for=/>request</a> has an associated
713731<dfn export for=request id=concept-request-initiator>initiator</dfn> , which is
714732the empty string,
You can’t perform that action at this time.
0 commit comments