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

Unified Diff: LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-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-multiple-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt
index d5f70265a611a365d43dec025d0a4d938209bc79..63cdfae3aacde4ddbbe54200a889454379631a6e 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-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 0
2) setting length to a larger length
@@ -57,7 +57,7 @@ PASS mySelect.selectedIndex is 0
PASS mySelect.options.length is 10
PASS mySelect.selectedIndex is 0
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 0
20) trying to set a option element using an invalid index: negative infinity

Powered by Google App Engine
This is Rietveld 408576698