Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/webappapis/dynamic-markup-insertion/document-write/001.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>document.write</title>
<script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script>
<script>
test(
function() {
document.write("PASS");
assert_equals(document.body.textContent, "PASS");
}
);
</script>
<div id="log"></div>