3 document
.addEventListener("DOMContentLoaded", function() {
5 document
.write("<!DOCTYPE html>New Document here");
7 // Notify parent via postMessage, since otherwise exceptions will not get
8 // caught by its onerror handler.
9 parent
.postMessage("doTest", "*");