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

Unified Diff: LayoutTests/fast/encoding/api/ascii-supersets-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/ascii-supersets-expected.txt
diff --git a/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt b/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt
index d6ee54e24e019c75d430411940ba634f3b8e7c1f..f27ac86bc408a45643ec114147d8f18008700254 100644
--- a/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt
+++ b/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt
@@ -4,7 +4,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
decoder = new TextDecoder("ibm866")
-FAIL decoder = new TextDecoder("ibm866") threw exception TypeError: Type error
+FAIL decoder = new TextDecoder("ibm866") threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('ibm866') is invalid.
decoder = new TextDecoder("iso-8859-2")
decoded = decoder.decode(new Uint8Array(bytes))
PASS encodeURIComponent(string) is encodeURIComponent(decoded)
« no previous file with comments | « no previous file | LayoutTests/fast/encoding/api/encoding-labels-expected.txt » ('j') | Source/modules/encoding/TextEncoder.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698