function ok(result, desc) { window.parent.postMessage({ ok: result, desc }, "*"); } ok( true, "documents sandboxed with allow-scripts should be able to run