| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <title>idlharness test: Encoding Living Standard API</title> | 3 <title>idlharness test: Encoding Living Standard API</title> |
| 4 <link rel="author" title="Joshua Bell" href="mailto:jsbell@google.com" /> | 4 <link rel="author" title="Joshua Bell" href="mailto:jsbell@google.com" /> |
| 5 <link rel="help" href="https://encoding.spec.whatwg.org/#api"/> | 5 <link rel="help" href="https://encoding.spec.whatwg.org/#api"/> |
| 6 <script src="/resources/testharness.js"></script> | 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> | 7 <script src="/resources/testharnessreport.js"></script> |
| 8 <script src="../../../resources/WebIDLParser.js"></script> | 8 <script src="/resources/WebIDLParser.js"></script> |
| 9 <script src="../../../resources/idlharness.js"></script> | 9 <script src="/resources/idlharness.js"></script> |
| 10 | 10 |
| 11 <h1>idlharness test</h1> | 11 <h1>idlharness test</h1> |
| 12 <p>This test validates the WebIDL included in the Encoding Living Standard.</p> | 12 <p>This test validates the WebIDL included in the Encoding Living Standard.</p> |
| 13 | 13 |
| 14 <script type="text/plain" class="untested-idl"> | 14 <script type="text/plain" class="untested-idl"> |
| 15 interface Window {}; | 15 interface Window {}; |
| 16 </script> | 16 </script> |
| 17 | 17 |
| 18 <script type="text/plain" class="idl"> | 18 <script type="text/plain" class="idl"> |
| 19 // 8.1 Interface TextDecoder | 19 // 8.1 Interface TextDecoder |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 var untested = select('.untested-idl'); | 57 var untested = select('.untested-idl'); |
| 58 var idl_array = new IdlArray(); | 58 var idl_array = new IdlArray(); |
| 59 idl_array.add_untested_idls(untested); | 59 idl_array.add_untested_idls(untested); |
| 60 idl_array.add_idls(idl); | 60 idl_array.add_idls(idl); |
| 61 idl_array.add_objects({ | 61 idl_array.add_objects({ |
| 62 TextEncoder: ['new TextEncoder()'], | 62 TextEncoder: ['new TextEncoder()'], |
| 63 TextDecoder: ['new TextDecoder()'] | 63 TextDecoder: ['new TextDecoder()'] |
| 64 }); | 64 }); |
| 65 idl_array.test(); | 65 idl_array.test(); |
| 66 </script> | 66 </script> |
| OLD | NEW |