summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/domparsing/xmldomparser.html
blob: 9dac65d3053a6f5e531888a7b470051389840f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html>
<meta charset="utf-8">
<title>XML Dom Parse readyState Test</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
    test(function () {
        assert_equals(
            (new DOMParser()).parseFromString("<html></html>", "text/xml").readyState,
            "complete"
        );
    });
</script>