fune/dom/security/test/csp/file_sandbox_pass.js
2019-09-02 11:22:27 +00:00

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=...>"
);