Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee

This commit is contained in:
WPT Sync Bot 2018-04-23 21:13:37 -04:00
parent c5f7c9ccf3
commit e891345f26
1328 changed files with 36632 additions and 20588 deletions

View file

@ -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;