Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(896)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-mock-no-crash.html

Issue 2618613006: Remove ContextClient from DOMWindowSpeechSynthesis (Closed)
Patch Set: temp Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <script> 6 <script>
7 description("This tests that the mock speech synthesizer is well behaved whe n attempting to pause/resume without first speaking."); 7 description("This tests that the mock speech synthesizer is well behaved whe n attempting to pause/resume without first speaking.");
8 8
9 if (window.internals) 9 if (window.internals)
10 window.internals.enableMockSpeechSynthesizer(document); 10 window.internals.enableMockSpeechSynthesizer(window);
11 11
12 shouldBeUndefined("speechSynthesis.pause()"); 12 shouldBeUndefined("speechSynthesis.pause()");
13 shouldBeUndefined("speechSynthesis.resume()"); 13 shouldBeUndefined("speechSynthesis.resume()");
14 </script> 14 </script>
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698