mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
12 lines
356 B
HTML
12 lines
356 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
document.open();
|
|
document.write("<!DOCTYPE html>New Document here");
|
|
document.close();
|
|
// Notify parent via postMessage, since otherwise exceptions will not get
|
|
// caught by its onerror handler.
|
|
parent.postMessage("doTest", "*");
|
|
});
|
|
</script>
|