Index: third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-multiple.html |
diff --git a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-multiple.html b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-multiple.html |
index 37cf969690a650505064ff8ba64f044f6aa69827..af43e8a3ae96ecaccbbd38cea41bd1dfb072226f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-multiple.html |
+++ b/third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-multiple.html |
@@ -21,12 +21,14 @@ |
// Start a very short speaking job that will finish quickly. |
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) { |
shouldBeGreaterThanOrEqual("count", "i"); |
shouldBeTrue("event.elapsedTime > 0"); |
+ shouldBeTrue("event.elapsedTime < 10000"); |
shouldBeTrue("speechSynthesis.speaking"); |
if (++i == count) { |
speechSynthesis.cancel(); |