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

Unified Diff: LayoutTests/fast/speech/scripted/speechrecognition-basics.html

Issue 22208002: Drop [IsIndex] IDL extended attribute from Speech types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stop using window.event Created 7 years, 4 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
Index: LayoutTests/fast/speech/scripted/speechrecognition-basics.html
diff --git a/LayoutTests/fast/speech/scripted/speechrecognition-basics.html b/LayoutTests/fast/speech/scripted/speechrecognition-basics.html
index c0c816f1973092bf92552d7a9b58410db876a058..ab4a6052f18cd59fba831252fba80db5c9f38b8a 100644
--- a/LayoutTests/fast/speech/scripted/speechrecognition-basics.html
+++ b/LayoutTests/fast/speech/scripted/speechrecognition-basics.html
@@ -32,10 +32,12 @@ function oneMatchTest() {
shouldBeNull('event.emma');
shouldBeNull('event.interpretation');
shouldBe('event.results.length', '1');
+ shouldBeNull('event.results.item(-1)');
shouldBe('event.results[0].length', '1');
shouldBe('event.results[0].isFinal', 'true');
shouldBeEqualToString('event.results[0].item(0).transcript', 'hello, world');
shouldBeCloseTo('event.results[0].item(0).confidence', 0.42, 1e-3);
+ shouldBeNull('event.results[0].item(-1)');
}
r.onspeechend = function() { debug('onspeechend'); shouldBe('count', '5'); ++count; }

Powered by Google App Engine
This is Rietveld 408576698