mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a
This commit is contained in:
parent
847115ba04
commit
816185f094
272 changed files with 5766 additions and 2855 deletions
|
@ -59,4 +59,10 @@ async_test(t => {
|
|||
c.port2.postMessage('DONE');
|
||||
}, 'Close in onmessage should not cancel inflight messages.');
|
||||
|
||||
test(() => {
|
||||
const c = new MessageChannel();
|
||||
c.port1.close();
|
||||
assert_throws("DataCloneError", () => self.postMessage(null, "*", [c.port1]));
|
||||
self.postMessage(null, "*", [c.port2]);
|
||||
}, "close() detaches a MessagePort (but not the one its entangled with)");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue