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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/encoding/api-replacement-encodings.html

Issue 1899623002: Import latest web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle new failures Created 4 years, 8 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: 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);
});

Powered by Google App Engine
This is Rietveld 408576698