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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/encoding/big5-encoder.html

Issue 1990653002: Move the encoding directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <meta charset=big5> <!-- test breaks if the server overrides this --> 2 <meta charset=big5> <!-- test breaks if the server overrides this -->
3 <script src=../../../resources/testharness.js></script> 3 <script src=../../../resources/testharness.js></script>
4 <script src=../../../resources/testharnessreport.js></script> 4 <script src=../../../resources/testharnessreport.js></script>
5 <div id=log></div> 5 <div id=log></div>
6 <script> 6 <script>
7 function encode(input, output, desc) { 7 function encode(input, output, desc) {
8 test(function() { 8 test(function() {
9 var a = document.createElement("a"); // <a> uses document encoding for URL' s query 9 var a = document.createElement("a"); // <a> uses document encoding for URL' s query
10 // Append and prepend X to test for off-by-one errors 10 // Append and prepend X to test for off-by-one errors
(...skipping 13 matching lines...) Expand all
24 encode("\uFFE2", "%C8%CD", "The lowest-pointer character after the range of 41 unmapped pointers"); 24 encode("\uFFE2", "%C8%CD", "The lowest-pointer character after the range of 41 unmapped pointers");
25 encode("\u79D4", "%FE%FE", "The last character in the index"); 25 encode("\u79D4", "%FE%FE", "The last character in the index");
26 // not in index 26 // not in index
27 encode("\u2603", "%26%239731%3B", "The canonical BMP test character that is not in the index"); 27 encode("\u2603", "%26%239731%3B", "The canonical BMP test character that is not in the index");
28 encode("\uD83D\uDCA9", "%26%23128169%3B", "The canonical astral test character that is not in the index"); 28 encode("\uD83D\uDCA9", "%26%23128169%3B", "The canonical astral test character that is not in the index");
29 // duplicate low bits 29 // duplicate low bits
30 encode("\uD840\uDFB5", "%FDj", "A Plane 2 character whose low 16 bits match a B MP character that has a lower pointer"); 30 encode("\uD840\uDFB5", "%FDj", "A Plane 2 character whose low 16 bits match a B MP character that has a lower pointer");
31 // prefer last 31 // prefer last
32 encode("\u2550", "%F9%F9", "A duplicate-mapped code point that prefers the high est pointer in the encoder"); 32 encode("\u2550", "%F9%F9", "A duplicate-mapped code point that prefers the high est pointer in the encoder");
33 </script> 33 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698