summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/sanitize/frame.html
blob: b4bf7a1ff124a56ab24765f5a898a14340c3e2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<script>
  fetch("intercept-this").then(function(r) {
    if (!r.ok) {
      return "FAIL";
    }
    return r.text();
  }).then(function(body) {
    parent.postMessage(body, '*');
  });
</script>