summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/002.html
blob: 5584bf9afbff034f5ea68d769afa648e31fe1aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<title>document.open during parsing</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
 var log = document.getElementById("log");
 assert_equals(document.open(), document);
 assert_equals(document.getElementById("log"), log);
})
</script>