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

Unified Diff: LayoutTests/fast/forms/setrangetext-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/forms/setrangetext-expected.txt
diff --git a/LayoutTests/fast/forms/setrangetext-expected.txt b/LayoutTests/fast/forms/setrangetext-expected.txt
index 6400ddb669a52ffb68c981d3d6e5113b2a683a72..04f1a49e82c4fb032b3731da82159b1ab1eaeac1 100644
--- a/LayoutTests/fast/forms/setrangetext-expected.txt
+++ b/LayoutTests/fast/forms/setrangetext-expected.txt
@@ -120,7 +120,7 @@ PASS element.value is "01234567A"
PASS element.selectionStart is 8
PASS element.selectionEnd is 9
element.value = '0123456789'
-PASS element.setRangeText('A', 7, 3) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Running tests on input with attributes: {"type":"tel"}
@@ -238,7 +238,7 @@ PASS element.value is "01234567A"
PASS element.selectionStart is 8
PASS element.selectionEnd is 9
element.value = '0123456789'
-PASS element.setRangeText('A', 7, 3) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Running tests on input with attributes: {"type":"text"}
@@ -356,7 +356,7 @@ PASS element.value is "01234567A"
PASS element.selectionStart is 8
PASS element.selectionEnd is 9
element.value = '0123456789'
-PASS element.setRangeText('A', 7, 3) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Running tests on input with attributes: {"type":"text","dir":"rtl"}
@@ -474,7 +474,7 @@ PASS element.value is "01234567A"
PASS element.selectionStart is 8
PASS element.selectionEnd is 9
element.value = '0123456789'
-PASS element.setRangeText('A', 7, 3) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Running tests on input with attributes: {"type":"url"}
@@ -592,7 +592,7 @@ PASS element.value is "01234567A"
PASS element.selectionStart is 8
PASS element.selectionEnd is 9
element.value = '0123456789'
-PASS element.setRangeText('A', 7, 3) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Check that setRangeText() on disconnected elements doesn't crash and has proper values.
element.value = '0123456789'
@@ -602,37 +602,37 @@ FAIL element.value should be ABC0123456789. Was 0123456789.
Running tests on input with attributes: {"type":"button"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"checkbox"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"email"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"radio"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"reset"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"submit"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS element.value is "0123456789XYZ"
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/forms/selection-wrongtype-expected.txt ('k') | LayoutTests/fast/forms/textarea-maxlength.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698