Update web-platform-tests to revision 55351d32dd26ea3ad42a8f5973e943ba0342c812

This commit is contained in:
WPT Sync Bot 2020-01-28 08:23:29 +00:00
parent 1b7223a284
commit 81d0cdbb2c
159 changed files with 2809 additions and 967 deletions

View file

@ -17,10 +17,10 @@ test(function() {
// No promise is passed.
assert_throws_js(TypeError,
function() {
new PromiseRejectionEvent('eventType', { bubbles: false });
},
'Cannot construct PromiseRejectionEventInit without promise');
function() {
new PromiseRejectionEvent('eventType', { bubbles: false });
},
'Cannot construct PromiseRejectionEventInit without promise');
// bubbles is passed.
assert_equals(new PromiseRejectionEvent('eventType', { bubbles: false, promise: p }).bubbles, false);