summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/errorhandling-parseerror-dependent.html
blob: 3a00f62f00f0da5c653d63f84d5538e8a10eb453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<html>
<head>
    <title>html-script-module-errorHandling-parseError-Dependent</title>
    <script src="errorhandling-parseerror-common.js"></script>
</head>
<body>
    <script type="module" onerror="errorHandler(event);">

        // No parse errors in the root module, just in the dependent module
        import test from "./errorhandling-parseerror-dependent.js";
        document._errorReported = "shouldn't have run dependent module";

    </script>
</body>
</html>