mirror of
https://github.com/servo/servo.git
synced 2025-08-21 13:25:34 +01:00
Update web-platform-tests to revision 3564c21f260aeb6862ceaa56bee9c39b74db3440
This commit is contained in:
parent
78438113d4
commit
555167ffdb
141 changed files with 3095 additions and 1280 deletions
|
@ -68,11 +68,12 @@ promise_test(async t => {
|
|||
const iframe = document.createElement('iframe');
|
||||
|
||||
const eventWatcher = new EventWatcher(t, iframe, ['load']);
|
||||
const event_promise = eventWatcher.wait_for('load');
|
||||
|
||||
document.body.appendChild(iframe);
|
||||
t.add_cleanup(() => { document.body.removeChild(iframe); });
|
||||
|
||||
await eventWatcher.wait_for('load');
|
||||
await event_promise;
|
||||
|
||||
const div = createDiv(t, iframe.contentDocument)
|
||||
const effect = new KeyframeEffect(div, null, 100 * MS_PER_SEC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue