1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../../resources/js-test.js"></script>
8 <div id="console"></div>
12 description("This tests that cancelling an utterance a second time after garbage collection doesn't crash under ASAN.");
15 window.internals.enableMockSpeechSynthesizer(document);
17 speechSynthesis.speak(new SpeechSynthesisUtterance("Hello"));
18 speechSynthesis.cancel();
20 speechSynthesis.cancel();