mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 20:28:42 +02:00
11 lines
356 B
HTML
11 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>
|