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