summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/blink-contrib/resources/inject-script.js
blob: 15537198507a42bc732a71d48f056f811d43600a (plain)
1
2
3
4
5
document.write("<script>alert_assert('Pass 1 of 2');</script>");

var s = document.createElement('script');
s.textContent = "alert_assert('Pass 2 of 2');";
document.body.appendChild(s);