Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / worker-onerror-08.html
blobe846f3016661adda580fef5ff916ac7492d724e7
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 window.isOnErrorTest = true;
6 </script>
7 <script src="../../resources/js-test.js"></script>
8 <script src="resources/onerror-test.js"></script>
9 </head>
10 <body>
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">
13 setTimeout(function() {
14 throw new Error("Exception in setTimeout callback");
15 }, 0);
16 </script>
17 <script>
18 description("This tests that exceptions in setTimeout triggers 'worker.onerror'.");
20 checkErrorEventInHandler({
21 message: "Uncaught Error: Exception in setTimeout callback",
22 filename: "[blob: URL]",
23 lineno: 3,
24 colno: 19,
25 });
26 </script>
27 </body>
28 </html>