blob: 1774ef36756834da4fa151e49a72f7a8e4cda090 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<html>
<head>
<title>css-module-import-cross-domain-parse-error-WithCORS</title>
<script src="../../module/crossorigin-common.js"></script>
</head>
<body>
<h1>css-module-import-cross-domain-parse-error-WithCORS</h1>
<script type="module" crossorigin>
import styleSheet from "http://{{domains[www2]}}:{{ports[http][0]}}/html/semantics/scripting-1/the-script-element/css-module/resources/parse-error.css?pipe=header(Access-Control-Allow-Origin,*)" assert { type: "css" };
// Push an event to the log indicating that the script was executed.
document._log.push(`imported CSS rules count: ${styleSheet.rules.length}`);
</script>
</body>
</html>
|