summaryrefslogtreecommitdiff
path: root/js/xpconnect/crashtests/117307-1.html
blob: 427ab165593355197205c19fb849ed17fcec5862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!--/*
Crash in error handler on invalid JavaScript
http://bugzilla.mozilla.org/show_bug.cgi?id=117307
*/-->

<HTML><HEAD><TITLE>Bug 117307</title><SCRIPT>

window.onerror=f;
function f() {f.caller;}

</script></head><BODY><SCRIPT>

function syntaxError() {1=2;}

</script><SCRIPT>

runtimeError();
function runtimeError() {d.d.d;}

</script></body></html>