Update web-platform-tests to revision 7ec633bbfbc01de4972e65f81f593983d9cdc17d

This commit is contained in:
WPT Sync Bot 2020-01-23 08:22:35 +00:00
parent 24674687ac
commit 36e52003a7
107 changed files with 1452 additions and 646 deletions

View file

@ -35,7 +35,7 @@ test(function() {
}, "Passing undefined to Headers constructor");
test(function() {
assert_throws(new TypeError, function() {
assert_throws_js(TypeError, function() {
var h = new Headers(null);
});
}, "Passing null to Headers constructor");
@ -126,7 +126,7 @@ test(function() {
this.add_cleanup(clearLog);
var record = { a: "b", "\uFFFF": "d" };
var proxy = new Proxy(record, loggingHandler);
assert_throws(new TypeError, function() {
assert_throws_js(TypeError, function() {
var h = new Headers(proxy);
});
@ -151,7 +151,7 @@ test(function() {
this.add_cleanup(clearLog);
var record = { a: "\uFFFF", c: "d" }
var proxy = new Proxy(record, loggingHandler);
assert_throws(new TypeError, function() {
assert_throws_js(TypeError, function() {
var h = new Headers(proxy);
});