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; } |