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

Unified Diff: LayoutTests/svg/custom/getSubStringLength-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/svg/custom/getSubStringLength-expected.txt
diff --git a/LayoutTests/svg/custom/getSubStringLength-expected.txt b/LayoutTests/svg/custom/getSubStringLength-expected.txt
index 821a644c01f5e136dc7c4b9b9f01f2ef8f5205cc..ac70e9e7f741e097b09d6d548750076be3e24bd0 100644
--- a/LayoutTests/svg/custom/getSubStringLength-expected.txt
+++ b/LayoutTests/svg/custom/getSubStringLength-expected.txt
@@ -1,18 +1,18 @@
-PASS svgText.getSubStringLength(-1, 2) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS svgText.getSubStringLength(-1, 0) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS svgText.getSubStringLength(-1, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS svgText.getSubStringLength(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS svgText.getSubStringLength(1, 3) is 40
PASS svgText.getSubStringLength(0, 4) is 60
-PASS svgText.getSubStringLength(3, 0) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS svgText.getSubStringLength(3, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS svgText.getSubStringLength(0, 0) is 0
PASS svgText.getSubStringLength(2, 0) is 0
PASS svgText.getSubStringLength(0, 1) is 20
PASS svgText.getSubStringLength(1, 1) is 20
PASS svgText.getSubStringLength(2, 1) is 20
PASS svgText.getSubStringLength(0, 3) is 60
-PASS svgText.getSubStringLength(1, -1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS svgText.getSubStringLength(2, -1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS svgText.getSubStringLength(3, -1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS svgText.getSubStringLength(3, -3) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS svgText.getSubStringLength(1, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS svgText.getSubStringLength(2, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS svgText.getSubStringLength(3, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS svgText.getSubStringLength(3, -3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698