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

Side by Side Diff: LayoutTests/fast/events/window-onerror-07.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 window.isOnErrorTest = true; 5 window.isOnErrorTest = true;
6 </script> 6 </script>
7 <script src="../js/resources/js-test-pre.js"></script> 7 <script src="../js/resources/js-test-pre.js"></script>
8 <script src="resources/onerror-test.js"></script> 8 <script src="resources/onerror-test.js"></script>
9 </head> 9 </head>
10 <body> 10 <body>
11 <script> 11 <script>
12 description("This tests that 'window.onerror' is called on the window ob ject."); 12 description("This tests that 'window.onerror' is called on the window ob ject.");
13 var thisInsideOnerror = null; 13 var thisInsideOnerror = null;
14 window.onerror = function (message) { 14 window.onerror = function (message) {
15 thisInsideOnerror = this; 15 thisInsideOnerror = this;
16 shouldBe('thisInsideOnerror', 'window'); 16 shouldBe('thisInsideOnerror', 'window');
17 }; 17 };
18 18
19 throwException() 19 throwException()
20 </script> 20 </script>
21 <script src="../js/resources/js-test-post.js"></script>
22 </body> 21 </body>
23 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/window-onerror-06.html ('k') | LayoutTests/fast/events/window-onerror-08.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698