Dactyloidae/dom/security/test/csp/file_sandbox_fail.js

4 lines
186 B
JavaScript

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