summaryrefslogtreecommitdiffstats
path: root/dom/bindings/crashtests/822340-1.html
blob: 4c8f6ae460e89144baa815945112c39874345808 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<script>
  var xhr = new XMLHttpRequest;
  function f() {
    var x = xhr.getResponseHeader;
    x("abc");
  }
  for (var i = 0; i < 20000; ++i) {
    try { f(); } catch (e) {}
  }
</script>