Skip to content
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

Add tests for safelisting simple range headers from preflight #31058

Merged
merged 5 commits into from
Oct 5, 2021

Conversation

rayankans
Copy link
Contributor

Fetch PR: whatwg/fetch#1312

rayankans and others added 2 commits October 4, 2021 12:19
Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add one with bytes  (followed by a space rather than =) as that's a somewhat common source of errors. Maybe also a leading , and whitespace around =.

@rayankans
Copy link
Contributor Author

@annevk I added the test cases you suggested

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@annevk annevk merged commit 902e9dc into web-platform-tests:master Oct 5, 2021
annevk pushed a commit to whatwg/fetch that referenced this pull request Oct 5, 2021
The allowed format aligns with the values the browser uses when requesting media and resuming downloads.

Tests: web-platform-tests/wpt#31058.

Fixes #1310.
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Oct 11, 2021
The Fetch standard now safelists 'simple' range headers from
preflight checks. (whatwg/fetch#1312)

This CL also successfully runs against the new WPT suite
(web-platform-tests/wpt#31058)

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/0f1zQ4hjoyQ

Bug: 1255711

Change-Id: I06ee27fec586950b7d45e3cba416df1b5090fa4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3190330
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Rayan Kanso <rayankans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930108}
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
The Fetch standard now safelists 'simple' range headers from
preflight checks. (whatwg/fetch#1312)

This CL also successfully runs against the new WPT suite
(web-platform-tests/wpt#31058)

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/0f1zQ4hjoyQ

Bug: 1255711

Change-Id: I06ee27fec586950b7d45e3cba416df1b5090fa4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3190330
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Rayan Kanso <rayankans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930108}
NOKEYCHECK=True
GitOrigin-RevId: 7b4dbc8d73cd09187b1501931141871f9d90b30d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants