blob: f3733937724f96c5544ef7526372de829e276175 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html>
<head><meta charset=utf-8>
<title></title>
<script type="application/javascript">
function runTest() {
document.write("<body>");
var succeeded = true;
try {
new DOMParser();
} catch(e) {
succeeded = false;
}
window.parent.ok(succeeded, "Creating DOMParser failed!");
window.parent.SimpleTest.finish();
document.close();
}
</script>
</head>
<body onload="runTest()">
</body>
</html>
|