<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<script src="../../resources/testharness.js"></script> | |
<script src="../../resources/testharnessreport.js"></script> | |
<script> | |
test(() => { | |
var parser = new DOMParser(); | |
parser.test = "test"; | |
}, "This creates a DOMParser object and tries to assign it to a variable. If the test is successful, it should not crash"); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |