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

Unified Diff: LayoutTests/fast/speech/scripted/speechgrammar-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/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'");

Powered by Google App Engine
This is Rietveld 408576698