Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /fetch/api/basic/historical.any.html - WPT Dashboard Interop Dashboard
- /fetch/api/basic/historical.any.serviceworker.html - WPT Dashboard Interop Dashboard
- /fetch/api/basic/historical.any.sharedworker.html - WPT Dashboard Interop Dashboard
- /fetch/api/basic/historical.any.worker.html - WPT Dashboard Interop Dashboard
// META: global=window,worker
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");
test(() => {
assert_false("trailer" in new Response());
assert_false("trailer" in Response.prototype);
}, "Response object no longer has a trailer getter");