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

Unified Diff: LayoutTests/fast/encoding/api/encoding-labels-expected.txt

Issue 120063002: Improve modules' TypeError exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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/encoding/api/encoding-labels-expected.txt
diff --git a/LayoutTests/fast/encoding/api/encoding-labels-expected.txt b/LayoutTests/fast/encoding/api/encoding-labels-expected.txt
index 5120b342420b7ec0e909e0f08ae28b86e1f48a29..3cabf728e856367fef7eedffcb2a1b2020b12ec8 100644
--- a/LayoutTests/fast/encoding/api/encoding-labels-expected.txt
+++ b/LayoutTests/fast/encoding/api/encoding-labels-expected.txt
@@ -10,10 +10,10 @@ PASS new TextDecoder("utf-8").encoding is "utf-8"
PASS new TextDecoder("utf8").encoding is "utf-8"
name = "ibm866"
-FAIL new TextDecoder("866").encoding should be ibm866. Threw exception TypeError: Type error
-FAIL new TextDecoder("cp866").encoding should be ibm866. Threw exception TypeError: Type error
-FAIL new TextDecoder("csibm866").encoding should be ibm866. Threw exception TypeError: Type error
-FAIL new TextDecoder("ibm866").encoding should be ibm866. Threw exception TypeError: Type error
+FAIL new TextDecoder("866").encoding should be ibm866. Threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('866') is invalid.
+FAIL new TextDecoder("cp866").encoding should be ibm866. Threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('cp866') is invalid.
+FAIL new TextDecoder("csibm866").encoding should be ibm866. Threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('csibm866') is invalid.
+FAIL new TextDecoder("ibm866").encoding should be ibm866. Threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('ibm866') is invalid.
name = "iso-8859-2"
PASS new TextDecoder("csisolatin2").encoding is "iso-8859-2"

Powered by Google App Engine
This is Rietveld 408576698