Skip to content

Commit b507ff6

Browse files
authored
WIP: Editorial: adjust to fetch refactor (w3c#7355)
See whatwg/fetch#1413 Fetch now reports timing automatically if initiator is passed.
1 parent 76810b3 commit b507ff6

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

css-values-4/Overview.bs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,16 +1035,14 @@ URL Processing Model</h4>
10351035
[=request/destination=] is |destination|, [=request/mode=] is |corsMode|,
10361036
[=request/origin=] is |environmentSettings|'s [=environment settings object/origin=],
10371037
[=request/credentials mode=] is "same-origin", [=request/use-url-credentials flag=] is
1038-
set, and whose [=request/referrer=] is |referrer|.
1038+
set, [=request/client=] is |environmentSettings|, and whose [=request/referrer=] is
1039+
|referrer|.
10391040

1040-
10. Let |controller| be the result of [=/Fetch|fetching=] |req|, with <var ignore>taskDestination</var>
1041-
set to |global|, and <var ignore>processResponseConsumeBody</var> set to the following steps given
1042-
[=/response=] |res| and Null, failure or byte stream |byteStream|:
1043-
1. If |sheet|'s <a spec=cssom>origin-clean flag</a> is set,
1044-
[=fetch-controller/conclude=] |controller|, with <var ignore>initiatorType</var> set
1045-
to <code>"css"</code>. [[CSSOM]]
1041+
10. If |sheet|'s <a spec=cssom>origin-clean flag</a> is set, set |req|'s
1042+
[=request/initiator=] to "css". [[CSSOM]]
10461043

1047-
2. Call |processResponse| with |res| and |byteStream|.
1044+
11. [=/Fetch|fetching=] |req|, with [=fetch/processresponseconsumebody=] set to
1045+
|processResponse|.
10481046

10491047
</div>
10501048

0 commit comments

Comments
 (0)