Skip to content

[css-values-4] Editorial: adjust to fetch refactor #7355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions css-values-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1035,16 +1035,14 @@ URL Processing Model</h4>
[=request/destination=] is |destination|, [=request/mode=] is |corsMode|,
[=request/origin=] is |environmentSettings|'s [=environment settings object/origin=],
[=request/credentials mode=] is "same-origin", [=request/use-url-credentials flag=] is
set, and whose [=request/referrer=] is |referrer|.
set, [=request/client=] is |environmentSettings|, and whose [=request/referrer=] is
|referrer|.

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

2. Call |processResponse| with |res| and |byteStream|.
11. [=/Fetch|fetching=] |req|, with [=fetch/processresponseconsumebody=] set to
|processResponse|.

</div>

Expand Down