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

Fetch: remove support for Response's trailer #20720

Merged
merged 2 commits into from
Dec 12, 2019
Merged
Show file tree
Hide file tree
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
15 changes: 15 additions & 0 deletions fetch/api/basic/historical.any.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
test(() => {
assert_false("getAll" in new Headers());
assert_false("getAll" in Headers.prototype);
}, "Headers object no longer has a getAll() method");

test(() => {
assert_false("type" in new Request("about:blank"));
assert_false("type" in Request.prototype);
}, "'type' getter should not exist on Request objects");

// See https://github.com/whatwg/fetch/pull/979 for the removal
test(() => {
assert_false("trailer" in new Response());
assert_false("trailer" in Response.prototype);
}, "Response object no longer has a trailer getter");
4 changes: 0 additions & 4 deletions fetch/api/headers/historical.any.js

This file was deleted.

11 changes: 0 additions & 11 deletions fetch/api/request/request-type-attribute-historical.html

This file was deleted.

24 changes: 0 additions & 24 deletions fetch/api/response/response-trailer.html

This file was deleted.