js/xpconnect/crashtests/117307-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/crashtests/117307-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<!--/*
     1.5 +Crash in error handler on invalid JavaScript
     1.6 +http://bugzilla.mozilla.org/show_bug.cgi?id=117307
     1.7 +*/-->
     1.8 +
     1.9 +<HTML><HEAD><TITLE>Bug 117307</title><SCRIPT>
    1.10 +
    1.11 +window.onerror=f;
    1.12 +function f() {f.caller;}
    1.13 +
    1.14 +</script></head><BODY><SCRIPT>
    1.15 +
    1.16 +function syntaxError() {1=2;}
    1.17 +
    1.18 +</script><SCRIPT>
    1.19 +
    1.20 +runtimeError();
    1.21 +function runtimeError() {d.d.d;}
    1.22 +
    1.23 +</script></body></html>

mercurial