summaryrefslogtreecommitdiff
path: root/js/xpconnect/tests/chrome/file_discardSystemSource.html
blob: 9f264ffe5d1f53fb0ead079a0e84a63693db7b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<script>
  function canary() {
    var someBitOfSource = 42;
  }
  function inner() {
    throw new Error("some error");
  }
  function throwSomething() {
    inner();
  }
</script>
</head>
<body onload="someBitOfSource = 42">
</body>
</html>