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

Unified Diff: LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/dom/HTMLSelectElement/select-selectedIndex-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt
index eef0605caabeee5c0a8567f4099148db2c380d90..f2c979d3279ebd33f266178fde88f61bac65d7a1 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt
@@ -1,6 +1,6 @@
1) setting length to a negative length
-PASS mySelect.options.length = -1; threw exception Error: IndexSizeError: DOM Exception 1.
+PASS mySelect.options.length = -1; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS mySelect.options.length is 2
PASS mySelect.selectedIndex is 1
2) setting length to a larger length
@@ -57,7 +57,7 @@ PASS mySelect.selectedIndex is -1
PASS mySelect.options.length is 10
PASS mySelect.selectedIndex is -1
19) trying to set an element that's not an option: select element
-PASS mySelect.options[10] = mySelect; threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS mySelect.options[10] = mySelect; threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS mySelect.options.length is 10
PASS mySelect.selectedIndex is -1
20) trying to set a option element using an invalid index: negative infinity

Powered by Google App Engine
This is Rietveld 408576698