https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 712be3d5b3524706be3dedfc653752afe41d05c8 authored by James Graham on 12 April 2018, 13:01:19 UTC
Improve handling of harness-level errors in wptrunner
Tip revision: 712be3d
xmldomparser.html
<!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>
back to top