c5cad990f16c09b276f8830379e3ce7f16576343
[WebKit-https.git] / LayoutTests / fast / events / caller-access-from-event-listener.html
1 <p>This test verifies that WebKit doesn't crash when accessing the 'caller' property
2 from inside an event listener.</p>
3 <hr>
4 <pre>PASS: WebKit didn't crash.</pre>
5 <script src="../js/resources/js-test-pre.js"></script>
6 <script>
7 function crash() {
8     eval('crash.caller');
9 }
10
11 window.onload = crash;
12 </script>