js/xpconnect/tests/chrome/file_discardSystemSource.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/tests/chrome/file_discardSystemSource.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script>
     1.8 +  function canary() {
     1.9 +    var someBitOfSource = 42;
    1.10 +  }
    1.11 +  function inner() {
    1.12 +    throw new Error("some error");
    1.13 +  }
    1.14 +  function throwSomething() {
    1.15 +    inner();
    1.16 +  }
    1.17 +</script>
    1.18 +</head>
    1.19 +<body onload="someBitOfSource = 42">
    1.20 +</body>
    1.21 +</html>

mercurial