trisquel-icecat/icecat/dom/security/test/csp/file_sandbox_pass.js

7 lines
183 B
JavaScript

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