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

Side by Side Diff: LayoutTests/fast/workers/worker-onerror-08.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 <!-- This script's body will be used to build a Blob URL to use as a Worker. --> 11 <!-- This script's body will be used to build a Blob URL to use as a Worker. -->
12 <script id="workerCode" type="text/plain"> 12 <script id="workerCode" type="text/plain">
13 setTimeout(function() { 13 setTimeout(function() {
14 throw new Error("Exception in setTimeout callback"); 14 throw new Error("Exception in setTimeout callback");
15 }, 0); 15 }, 0);
16 </script> 16 </script>
17 <script> 17 <script>
18 description("This tests that exceptions in setTimeout triggers 'worker.o nerror'."); 18 description("This tests that exceptions in setTimeout triggers 'worker.o nerror'.");
19 19
20 checkErrorEventInHandler({ 20 checkErrorEventInHandler({
21 message: "Uncaught Error: Exception in setTimeout callback", 21 message: "Uncaught Error: Exception in setTimeout callback",
22 filename: "[blob: URL]", 22 filename: "[blob: URL]",
23 lineno: 3, 23 lineno: 3,
24 colno: 19, 24 colno: 19,
25 }); 25 });
26 </script> 26 </script>
27 <script src="../js/resources/js-test-post.js"></script>
28 </body> 27 </body>
29 </html> 28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/workers/worker-onerror-07.html ('k') | LayoutTests/fast/workers/worker-onerror-09.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698