summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/fetch/imagecache/postmortem.html
blob: 53356cd02c8c0a89d5cbd34e8c63913d518b8482 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<script>
onload = function() {
  var width = document.querySelector("img").width;
  window.parent.postMessage({status: "postmortem",
                             width}, "*");
};
</script>
<img src="image-20px.png">