blob: 95b42efe8df3938b907a8c47415147f614332fe6 [file] [log] [blame]
<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
'use strict';
test(() => {
const parser = new DOMParser();
const input = '<?xml version="1.1" encoding="UTF-16"?>';
parser.parseFromString(input, 'application/xhtml+xml');
}, 'Parsing XML w/ invalid ver should not crash');
</script>