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

Unified Diff: LayoutTests/fast/encoding/api/encoding-labels.html

Issue 145973021: Implement "replacement" text encoding. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Replacement codec should emit U+FFFD Created 6 years, 9 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/encoding/api/encoding-labels.html
diff --git a/LayoutTests/fast/encoding/api/encoding-labels.html b/LayoutTests/fast/encoding/api/encoding-labels.html
index 1958e97902927bb90c2abecd1e44817a05b974ad..5dd30c1326c902dd9942bd2047b93d82d4cb05f4 100644
--- a/LayoutTests/fast/encoding/api/encoding-labels.html
+++ b/LayoutTests/fast/encoding/api/encoding-labels.html
@@ -7,7 +7,9 @@ description("Test the Encoding API's use of encoding names");
encodings_table.forEach(function(section) {
var list = section.encodings;
- list.forEach(function(encoding) {
+ list.filter(function(encoding) {
+ return encoding.name !== 'replacement';
+ }).forEach(function(encoding) {
debug("");
evalAndLog("name = " + JSON.stringify(encoding.name));
encoding.labels.forEach(function(label) {

Powered by Google App Engine
This is Rietveld 408576698