summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_bug1312272.js
blob: 450013bec15623328fb79ce53fc4032bbe53f385 (plain)
1
2
3
4
5
6
7
8
var m = document.getElementById("m");
m.addEventListener("click", function () {
  // this will trigger after onstart, obviously.
  parent.postMessage("finish", "*");
});
console.log("finish-handler setup");
m.click();
console.log("clicked");