Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / worker-nested-importScripts-error.html
blob49cdacc4ca674dad11e1e755b0567e09eca97d94
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("This tests that errors from nested importScripts have the expected provenance.");
10 self.jsTestIsAsync = true;
12 var worker = startWorker("resources/importScripts-1.js");
13 var event;
14 worker.onerror = function (e) {
15 event = e;
16 shouldBeEqualToString("event.type", "error");
17 shouldBeTrue("event.filename.indexOf('invalidScript.js') >= 0");
18 finishJSTest();
20 </script>
21 </body>
22 </html>