Index: LayoutTests/fast/speech/scripted/speechgrammar-basics.html |
diff --git a/LayoutTests/fast/speech/scripted/speechgrammar-basics.html b/LayoutTests/fast/speech/scripted/speechgrammar-basics.html |
index fe898066f1a7032d9a0a91b7ea3bc10d46901695..887c0d67f4c34e40cbab0f9508aabb166de43932 100644 |
--- a/LayoutTests/fast/speech/scripted/speechgrammar-basics.html |
+++ b/LayoutTests/fast/speech/scripted/speechgrammar-basics.html |
@@ -38,14 +38,14 @@ function run() { |
shouldBe("gs.length", "0"); |
shouldBeTrue("gs.item(0) == null"); |
shouldBeTrue("gs[0] == undefined"); |
- shouldThrow("gs.item(-1)"); |
+ shouldBeNull("gs.item(-1)"); |
shouldBeTrue("gs[-1] == undefined"); |
evalAndLog("gs.addFromUri('grammar', 2)"); |
shouldBe("gs.length", "1"); |
shouldBeTrue("gs.item(1) == null"); |
shouldBeTrue("gs[1] == undefined"); |
- shouldThrow("gs.item(-1)"); |
+ shouldBeNull("gs.item(-1)"); |
shouldBeTrue("gs[-1] == undefined"); |
shouldBe("gs[0]", "gs.item(0)"); |
shouldBe("gs.item(0).src", "base + 'grammar'"); |