Bug 1466079 [wpt PR 11292] - Fix bugs in split-up encoding tests, a=testonly
[gecko.git] / testing / web-platform / tests / encoding / legacy-mb-korean / euc-kr / euckr-encode-form-iso-ir-149.html
blob6ba92bb2f3ea9fec155bdfbb4d6ca515bd998eb4
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="iso-ir-149"> <!-- test breaks if the server overrides this -->
5 <title>iso-ir-149 encoding (form)</title>
6 <meta name="timeout" content="long">
7 <meta name="variant" content="?1-1000">
8 <meta name="variant" content="?1001-2000">
9 <meta name="variant" content="?2001-3000">
10 <meta name="variant" content="?3001-4000">
11 <meta name="variant" content="?4001-5000">
12 <meta name="variant" content="?5001-6000">
13 <meta name="variant" content="?6001-7000">
14 <meta name="variant" content="?7001-8000">
15 <meta name="variant" content="?8001-9000">
16 <meta name="variant" content="?9001-10000">
17 <meta name="variant" content="?10001-11000">
18 <meta name="variant" content="?11001-12000">
19 <meta name="variant" content="?12001-13000">
20 <meta name="variant" content="?13001-14000">
21 <meta name="variant" content="?14001-15000">
22 <meta name="variant" content="?15001-16000">
23 <meta name="variant" content="?16001-17000">
24 <meta name="variant" content="?17001-last">
25 <script src="/resources/testharness.js"></script>
26 <script src="/resources/testharnessreport.js"></script>
27 <script src="/common/subset-tests.js"></script>
28 <script src="euckr_index.js"></script>
29 <script src="euckr-encoder.js"></script>
30 <link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
31 <link rel="help" href="https://encoding.spec.whatwg.org/#names-and-labels">
32 <meta name="assert" content="The browser produces the same encoding behavior for a document labeled 'iso-ir-149' as for a document labeled 'euc-kr'.">
33 <style>
34 iframe { display:none }
35 form { display:none }
36 </style>
37 </head>
38 <body>
39 <div id="log"></div>
40 <script src="../../resources/ranges.js"></script>
41 <script>
42 var errors = false;
43 var encoder = euckrEncoder;
44 var ranges = rangesAll;
45 var separator = ",";
46 function expect(result) {
47 return "%" + result.replace(/ /g, "%");
49 </script>
50 <script src="../../resources/encode-form-common.js"></script>
51 </body>
52 </html>