summaryrefslogtreecommitdiffstats
path: root/security/manager/ssl/tests/mochitest/mixedcontent/bug329869.js
blob: 9d67ba1f927e4cf50b40f3c602da46c75251e12d (plain)
1
2
3
4
5
6
7
8
9
10
11
/* import-globals-from mixedContentTest.js */
"use strict";

document.open();
// eslint-disable-next-line no-unsanitized/method
document.write("This is insecure XSS script " + document.cookie);
isSecurityState(
  "broken",
  "security broken after document write from unsecure script"
);
finish();