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

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

Issue 1196733003: Remove duplicate Encoding API tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/fast/encoding/api/encoding-labels.html ('k') | LayoutTests/fast/encoding/api/end-of-file.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/encoding/api/encoding-names.html
diff --git a/LayoutTests/fast/encoding/api/encoding-names.html b/LayoutTests/fast/encoding/api/encoding-names.html
deleted file mode 100644
index cbc3ff4c34be426e9a13dd520504981e006ba234..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/encoding/api/encoding-names.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<title>Encoding API: Encoding names</title>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
-<script src="resources/shared.js"></script>
-<script>
-
-test(function() {
-
- var encodings = [
- { label: 'utf-8', encoding: 'utf-8' },
- { label: 'utf-16', encoding: 'utf-16le' },
- { label: 'utf-16le', encoding: 'utf-16le' },
- { label: 'utf-16be', encoding: 'utf-16be' },
- { label: 'ascii', encoding: 'windows-1252' },
- { label: 'iso-8859-1', encoding: 'windows-1252' }
- ];
-
- // encoding-labels.html tests the full set of names/labels; this test just
- // exercises some common cases and case-insensitivity.
-
- encodings.forEach(function(t) {
- assert_equals(new TextDecoder(t.label.toLowerCase()).encoding, t.encoding);
- assert_equals(new TextDecoder(t.label.toUpperCase()).encoding, t.encoding);
- });
-
-}, 'Encoding labels are case-insensitive');
-
-</script>
« no previous file with comments | « LayoutTests/fast/encoding/api/encoding-labels.html ('k') | LayoutTests/fast/encoding/api/end-of-file.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698