summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_bug1312272.js
blob: 01c03e43f0dd01f6fbcd5eaed68eeb45c5d6c5fc (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");