Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / worker-onerror-09.html
blob03609ee814ad24d3ff4c6ae1676dd0770d5d427d
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 var not_a_sequence = 3;
14 postMessage(2, not_a_sequence);
15 </script>
16 <script>
17 description("This tests that unhandled exceptions in postMessage() are delivered to 'worker.onerror'.");
19 checkErrorEventInHandler({
20 message: "Uncaught TypeError: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': The 2nd argument is neither an array, nor does it have indexed properties.",
21 filename: "[blob: URL]",
22 lineno: 3,
23 colno: 9,
24 });
25 </script>
26 </body>
27 </html>