xmldomparser.html (384B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>XML Dom Parse readyState Test</title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script> 7 test(function () { 8 assert_equals( 9 (new DOMParser()).parseFromString("<html></html>", "text/xml").readyState, 10 "complete" 11 ); 12 }); 13 </script>