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

Side by Side Diff: LayoutTests/fast/dom/error-to-string-stack-overflow.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body onload='load()'> 5 <body onload='load()'>
6 6
7 <script> 7 <script>
8 description("Regression test for https://bugs.webkit.org/show_bug.cgi?id=30774. This test passes if it doesn't crash."); 8 description("Regression test for https://bugs.webkit.org/show_bug.cgi?id=30774. This test passes if it doesn't crash.");
9 9
10 // Force string conversion of error objects to throw exceptions. 10 // Force string conversion of error objects to throw exceptions.
11 Error.prototype.toString = function() { throw 0; } 11 Error.prototype.toString = function() { throw 0; }
12 12
13 // Force a stack-overflow in the onload handler. 13 // Force a stack-overflow in the onload handler.
14 function load() { load(); } 14 function load() { load(); }
15 </script> 15 </script>
16 <script src="../js/resources/js-test-post.js"></script>
17 </body> 16 </body>
18 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698