mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Update web-platform-tests to revision b'7af9d6ec48ab04043a2bea85a3599904a1a19efa'
This commit is contained in:
parent
8050c95e31
commit
87be1008de
2742 changed files with 142451 additions and 40667 deletions
|
@ -53,27 +53,6 @@ test(t => {
|
|||
});
|
||||
}, 'Verify cloning a closed frame throws.');
|
||||
|
||||
async_test(t => {
|
||||
let localFrame = createDefaultVideoFrame();
|
||||
|
||||
let channel = new MessageChannel();
|
||||
let localPort = channel.port1;
|
||||
let externalPort = channel.port2;
|
||||
|
||||
externalPort.onmessage = t.step_func((e) => {
|
||||
let externalFrame = e.data;
|
||||
externalFrame.close();
|
||||
externalPort.postMessage("Done");
|
||||
})
|
||||
|
||||
localPort.onmessage = t.step_func_done((e) => {
|
||||
assert_not_equals(localFrame.timestamp, defaultInit.timestamp);
|
||||
})
|
||||
|
||||
localPort.postMessage(localFrame);
|
||||
|
||||
}, 'Verify closing frames propagates accross contexts.');
|
||||
|
||||
async_test(t => {
|
||||
let localFrame = createDefaultVideoFrame();
|
||||
|
||||
|
@ -92,9 +71,9 @@ async_test(t => {
|
|||
localFrame.close();
|
||||
})
|
||||
|
||||
localPort.postMessage(localFrame.clone());
|
||||
localPort.postMessage(localFrame);
|
||||
|
||||
}, 'Verify closing cloned frames doesn\'t propagate accross contexts.');
|
||||
}, 'Verify closing frames does not propagate accross contexts.');
|
||||
|
||||
async_test(t => {
|
||||
let localFrame = createDefaultVideoFrame();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue