[LFC] Adjust computed width value when box sizing is border-box
[WebKit-https.git] / LayoutTests / fast / events / set-attribute-listener-window-onerror-crash.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Test passes if it does not crash.
5 <script>
6 if (window.testRunner)
7     testRunner.dumpAsText();
8
9 function errorHandler() {
10     document.body.setAttribute("onclick", "var x=;");
11 }
12
13 window.onerror = errorHandler;
14 document.body.setAttribute("onclick", "var x=;");
15 document.body.onclick;
16 </script>
17 </html>