summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_sandbox_fail.js
blob: 5403ff2180ceb651b3d0098ecef8d4f52ff28a45 (plain)
1
2
3
4
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=...>");