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

Unified Diff: LayoutTests/fast/forms/selection-wrongtype-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/selection-wrongtype-expected.txt
diff --git a/LayoutTests/fast/forms/selection-wrongtype-expected.txt b/LayoutTests/fast/forms/selection-wrongtype-expected.txt
index ee55978ca058bdd6f933cb9ddd537361fc388a45..0e264d631299cdc572773dde32e8d6f1d0558747 100644
--- a/LayoutTests/fast/forms/selection-wrongtype-expected.txt
+++ b/LayoutTests/fast/forms/selection-wrongtype-expected.txt
@@ -3,68 +3,68 @@ Tests to ensure selectionStart, selectionEnd, selectionDirection and selectionRa
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
-PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Exception 11.
-PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM Exception 11.
+PASS test.selectionStart threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement> has no method 'selectionRange'.
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/forms/search/search-setrangetext-expected.txt ('k') | LayoutTests/fast/forms/setrangetext-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698