| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/encoding/api-replacement-encodings.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/encoding/api-replacement-encodings.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/encoding/api-replacement-encodings.html
|
| index c5cac4ae676670d47bb9526136b20be48363f32b..1063405991de8268fac4403143dfb6efd341f09b 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/encoding/api-replacement-encodings.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/encoding/api-replacement-encodings.html
|
| @@ -6,7 +6,6 @@
|
| <script>
|
|
|
| test(function() {
|
| - assert_throws(new RangeError(), function() { new TextEncoder('replacement'); });
|
| assert_throws(new RangeError(), function() { new TextDecoder('replacement'); });
|
| }, 'The "replacement" label should not be a known encoding.');
|
|
|
| @@ -16,7 +15,6 @@ encodings_table.forEach(function(section) {
|
| }).forEach(function(encoding) {
|
| encoding.labels.forEach(function(label) {
|
| test(function() {
|
| - assert_throws(new RangeError(), function() { new TextEncoder(label); });
|
| assert_throws(new RangeError(), function() { new TextDecoder(label); });
|
| }, 'Label for "replacement" should be rejected by API: ' + label);
|
| });
|
|
|