blob: 082415ad5030f57698c31ef46e4acf7114fb572f [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
test (function() {
assert_equals((new DOMParser).parseFromString("", "text/html").origin, document.origin);
}, "This test checks that documents created from DOMParser inherit origin");
</script>