mirror of
https://github.com/servo/servo.git
synced 2025-09-03 19:48:21 +01:00
Update web-platform-tests to revision 1aaada4bbc936024441fe7995b77c21a2c554da1
This commit is contained in:
parent
1e1eca07ed
commit
5e9d150c07
140 changed files with 3413 additions and 553 deletions
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/testdriver.js"></script>
|
||||
<script src="/resources/testdriver-vendor.js"></script>
|
||||
<body>
|
||||
<script>
|
||||
async_test(t => {
|
||||
test_driver.bless('speechSynthesis.speak', t.step_func(() => {
|
||||
const utter = new SpeechSynthesisUtterance('test');
|
||||
utter.onerror = t.unreached_func('error event');
|
||||
speechSynthesis.speak(utter);
|
||||
utter.onstart = t.step_func(() => {
|
||||
utter.onend = t.step_func_done();
|
||||
});
|
||||
}));
|
||||
}, 'speechSynthesis.speak() fires start and end events');
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue