You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: File a new issue against the Fetch Standard.
3
+
body:
4
+
- type: markdown
5
+
attributes:
6
+
value: |
7
+
Before filling out this form, please familiarize yourself with the [Code of Conduct](https://whatwg.org/code-of-conduct). You might also find the [FAQ](https://whatwg.org/faq) and [Working Mode](https://whatwg.org/working-mode) useful.
8
+
9
+
If at any point you have questions, please reach out to us on [Chat](https://whatwg.org/chat).
10
+
- type: textarea
11
+
attributes:
12
+
label: "What is the issue with the Fetch Standard?"
13
+
validations:
14
+
required: true
15
+
- type: markdown
16
+
attributes:
17
+
value: "Thank you for taking the time to improve the Fetch Standard!"
Before filling out this form, please familiarize yourself with the [Code of Conduct](https://whatwg.org/code-of-conduct), [FAQ](https://whatwg.org/faq), and [Working Mode](https://whatwg.org/working-mode). They help with setting expectations and making sure you know what is required. The FAQ ["How should I go about proposing new features to WHATWG standards?"](https://whatwg.org/faq#adding-new-features) is especially relevant.
9
+
10
+
If at any point you have questions, please reach out to us on [Chat](https://whatwg.org/chat).
11
+
- type: textarea
12
+
attributes:
13
+
label: "What problem are you trying to solve?"
14
+
validations:
15
+
required: true
16
+
- type: textarea
17
+
attributes:
18
+
label: "What solutions exist today?"
19
+
- type: textarea
20
+
attributes:
21
+
label: "How would you solve it?"
22
+
- type: textarea
23
+
attributes:
24
+
label: "Anything else?"
25
+
- type: markdown
26
+
attributes:
27
+
value: "Thank you for taking the time to improve the Fetch Standard!"
Thank you for contributing to the Fetch Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
3
+
When editing this comment after the PR is created, check that PR-Preview doesn't overwrite your changes.
4
+
If you think your PR is ready to land, please double-check that the build is passing and the checklist is complete before pinging.
3
5
-->
4
6
5
7
-[ ] At least two implementers are interested (and none opposed):
6
8
* …
7
9
* …
8
10
-[ ][Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
9
-
* …
11
+
* …<!-- If these tests are tentative, link a PR to make them non-tentative. -->
10
12
-[ ][Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
11
13
* Chromium: …
12
14
* Gecko: …
13
15
* WebKit: …
14
16
* Deno (not for CORS changes): …
15
17
-[ ][MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
18
+
-[ ] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. <!-- If you created this PR from a single commit, Github copied its message. Otherwise, you need to add a commit message yourself. -->
16
19
17
20
(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)
Copy file name to clipboardexpand all lines: README.md
+34-47
Original file line number
Diff line number
Diff line change
@@ -2,53 +2,55 @@ This repository hosts the [Fetch Standard](https://fetch.spec.whatwg.org/).
2
2
3
3
## Code of conduct
4
4
5
-
We are committed to providing a friendly, safe, and welcoming environment for all. Please read and
6
-
respect the [WHATWG Code of Conduct](https://whatwg.org/code-of-conduct).
5
+
We are committed to providing a friendly, safe, and welcoming environment for all. Please read and respect the [Code of Conduct](https://whatwg.org/code-of-conduct).
7
6
8
7
## Contribution opportunities
9
8
10
-
Folks notice minor and larger issues with the Fetch Standard all the time and we'd love your help
11
-
fixing those. Pull requests for typographical and grammar errors are also most welcome.
9
+
Folks notice minor and larger issues with the Fetch Standard all the time and we'd love your help fixing those. Pull requests for typographical and grammar errors are also most welcome.
12
10
13
-
We'd be happy to mentor you through this process. If you're interested and need help getting
14
-
started, leave a comment on the issue or ask around [on IRC](https://whatwg.org/irc).
11
+
Issues labeled ["good first issue"](https://github.com/whatwg/fetch/labels/good%20first%20issue) are a good place to get a taste for editing the Fetch Standard. Note that we don't assign issues and there's no reason to ask for availability either, just provide a pull request.
12
+
13
+
If you are thinking of suggesting a new feature, read through the [FAQ](https://whatwg.org/faq) and [Working Mode](https://whatwg.org/working-mode) documents to get yourself familiarized with the process.
14
+
15
+
We'd be happy to help you with all of this [on Chat](https://whatwg.org/chat).
15
16
16
17
## Pull requests
17
18
18
-
In short, change `fetch.bs` and submit your patch, with a
reading through the [WHATWG FAQ](https://whatwg.org/faq) if you are new here.
19
+
In short, change `fetch.bs` and submit your patch, with a [good commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md).
20
+
21
+
Please add your name to the Acknowledgments section in your first pull request, even for trivial fixes. The names are sorted lexicographically.
22
+
23
+
To ensure your patch meets all the necessary requirements, please also see the [Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md). Editors of the Fetch Standard are expected to follow the [Maintainer Guidelines](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md).
21
24
22
-
Please add your name to the Acknowledgments section in your first pull request, even for trivial
23
-
fixes. The names are sorted lexicographically.
25
+
## Tests
26
+
27
+
Tests are an essential part of the standardization process and will need to be created or adjusted as changes to the standard are made. Tests for the Fetch Standard can be found in the `fetch/` directory of [`web-platform-tests/wpt`](https://github.com/web-platform-tests/wpt).
28
+
29
+
A dashboard showing the tests running against browser engines can be seen at [wpt.fyi/results/fetch](https://wpt.fyi/results/fetch).
24
30
25
31
## Building "locally"
26
32
27
-
For quick local iteration, run `make`. To verify your changes locally, run `make deploy`. See more
For quick local iteration, run `make`; this will use a web service to build the standard, so that you don't have to install anything. See more in the [Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md#building).
30
34
31
35
## Formatting
32
36
33
37
Use a column width of 100 characters.
34
38
35
-
Do not use newlines inside "inline" elements, even if that means exceeding the column width
36
-
requirement.
39
+
Do not use newlines inside "inline" elements, even if that means exceeding the column width requirement.
<li><p>For each <var>token</var> in <var>tokens</var>, in given order, that is not in
71
+
<a>tokens</a>, append <var>token</var> to <a>tokens</a>.
70
72
```
71
73
is not indented, but
72
74
```html
75
+
<ol>
73
76
<li>
74
-
<p>Run these substeps <spandata-anolis-spec=html>in parallel</span>:
77
+
<p>For each <var>token</var> in <var>tokens</var>, run these substeps:
75
78
76
79
<ol>
80
+
<li><p>If <var>token</var> is the empty string, <a>throw</a> a {{SyntaxError}} exception.
77
81
```
78
82
is.
79
83
80
-
End tags must be omitted when possible and attribute values must not be quoted (if necessary, use
81
-
double quotes).
82
-
83
-
Place one newline between paragraphs (including list elements). Place three newlines before `<h2>`,
84
-
and two newlines before other headings. This does not apply when a nested heading follows the parent
85
-
heading.
84
+
End tags may be included (if done consistently) and attributes may be quoted (using double quotes), though the prevalent theme is to omit end tags and not quote attributes (unless they contain a space).
86
85
86
+
Place one newline between paragraphs (including list elements). Place three newlines before `<h2>`, and two newlines before other headings. This does not apply when a nested heading follows the parent heading.
87
87
```html
88
88
<ul>
89
89
<li><p>Do not place a newline above.
@@ -101,24 +101,11 @@ heading.
101
101
102
102
<h4>Place two newlines above.</h4>
103
103
```
104
-
105
-
Use camel case for variable names and sentence case use spaced names for definitions, algorithms,
106
-
etc.
107
-
104
+
Use camel-case for variable names and "spaced" names for definitions, algorithms, etc.
0 commit comments