Update web-platform-tests to revision f8941337b646b67942d912db9ce83cd612d2bd60

This commit is contained in:
WPT Sync Bot 2020-10-30 08:20:24 +00:00
parent b15995fcab
commit 6a818ffecf
431 changed files with 14440 additions and 5715 deletions

View file

@ -0,0 +1,18 @@
// META: title=Headers basic
// META: global=window,worker
var headers = new Headers();
var methods = ["append",
"delete",
"get",
"has",
"set",
//Headers is iterable
"entries",
"keys",
"values"
];
for (var idx in methods)
test(function() {
assert_true(methods[idx] in headers, "headers has " + methods[idx] + " method");
}, "Headers has " + methods[idx] + " method");