mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -36,18 +36,6 @@ async_test(t => {
|
|||
c2.port2.postMessage('TEST', [c.port2]);
|
||||
}, 'Message sent to closed port from transferred port should not arrive.');
|
||||
|
||||
async_test(t => {
|
||||
const c = new MessageChannel();
|
||||
c.port1.onmessage = t.unreached_func('Should not have delivered message');
|
||||
c.port2.close();
|
||||
const c2 = new MessageChannel();
|
||||
c2.port1.onmessage = t.step_func(e => {
|
||||
e.ports[0].postMessage('TESTMSG');
|
||||
setTimeout(t.step_func_done(), time_to_wait_for_messages);
|
||||
});
|
||||
c2.port2.postMessage('TEST', [c.port2]);
|
||||
}, 'Message sent from transferred closed port should not arrive.');
|
||||
|
||||
async_test(t => {
|
||||
const c = new MessageChannel();
|
||||
let isClosed = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue