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

Unified Diff: third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak.html

Issue 2367693003: Fix SpeechSynthesisEvent.elapsedTime (Closed)
Patch Set: Fix expectation Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/speechsynthesis/speech-synthesis-speak-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698