mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
Update web-platform-tests to revision 55351d32dd26ea3ad42a8f5973e943ba0342c812
This commit is contained in:
parent
1b7223a284
commit
81d0cdbb2c
159 changed files with 2809 additions and 967 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue