Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: LayoutTests/fast/events/set-attribute-listener-window-onerror-crash.html

Issue 10909084: Merge 127117 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/events/set-attribute-listener-window-onerror-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 Test passes if it does not crash. 4 Test passes if it does not crash.
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 8
9 function errorHandler() { 9 function errorHandler() {
10 document.body.setAttribute("onclick", "var x=;"); 10 document.body.setAttribute("onclick", "var x=;");
11 } 11 }
12 12
13 window.onerror = errorHandler; 13 window.onerror = errorHandler;
14 document.body.setAttribute("onclick", "var x=;"); 14 document.body.setAttribute("onclick", "var x=;");
15 document.body.onclick; 15 document.body.onclick;
16 </script> 16 </script>
17 </html> 17 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/set-attribute-listener-window-onerror-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698