From bbf124af944e8f8d75aa46b27678cf74efaa3590 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 14 Jul 2017 13:17:27 +0200 Subject: [PATCH] replacement is an encoding label now See https://github.com/whatwg/encoding/pull/117 for the corresponding Encoding Standard change. --- encoding/api-invalid-label.html | 4 +--- encoding/api-replacement-encodings.html | 4 ---- encoding/resources/encodings.js | 3 ++- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/encoding/api-invalid-label.html b/encoding/api-invalid-label.html index f15c184aa8973a..3c7486fa0fa19c 100644 --- a/encoding/api-invalid-label.html +++ b/encoding/api-invalid-label.html @@ -8,9 +8,7 @@ var tests = ["invalid-invalidLabel"]; setup(function() { encodings_table.forEach(function(section) { - section.encodings.filter(function(encoding) { - return encoding.name !== 'replacement'; - }).forEach(function(encoding) { + section.encodings.forEach(function(encoding) { encoding.labels.forEach(function(label) { ["\u0000", "\u000b", "\u00a0", "\u2028", "\u2029"].forEach(function(ws) { tests.push(ws + label); diff --git a/encoding/api-replacement-encodings.html b/encoding/api-replacement-encodings.html index 2dffd72e7b4806..63402636fa7cca 100644 --- a/encoding/api-replacement-encodings.html +++ b/encoding/api-replacement-encodings.html @@ -5,10 +5,6 @@