gecko-dev/dom/security/test/csp/file_sandbox_fail.js
2019-09-02 11:22:27 +00:00

8 lines
188 B
JavaScript

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