Index: third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak.html |
diff --git a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak.html b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak.html |
index eff9d7d92d49930578f674a62c88996a637adf7f..47b13003ec30ddc88d7ad27e07b48d6560b135d5 100644 |
--- a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak.html |
+++ b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak.html |
@@ -23,11 +23,13 @@ |
var u = new SpeechSynthesisUtterance(" "); |
u.onstart = function(event) { |
- shouldBeTrue("event.elapsedTime > 0"); |
+ shouldBeTrue("event.elapsedTime >= 0"); |
+ shouldBeTrue("event.elapsedTime < 1000"); |
shouldBeTrue("speechSynthesis.speaking"); |
} |
u.onend = function(event) { |
shouldBeTrue("event.elapsedTime > 0"); |
+ shouldBeTrue("event.elapsedTime < 10000"); |
shouldBeFalse("speechSynthesis.speaking"); |
finishJSTest(); |
} |