gecko-dev/dom/security/test/csp/file_sandbox_pass.js

5 строки
181 B
JavaScript

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