summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_sandbox_pass.js
blob: c06341a08210eec9dc595bae51c1e7cbe1bc334c (plain)
1
2
3
4
5
6
7
function ok(result, desc) {
  window.parent.postMessage({ ok: result, desc }, "*");
}
ok(
  true,
  "documents sandboxed with allow-scripts should be able to run <script src=...>"
);