Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /html/links/stylesheet/quirk-origin-check-recursive-import.html - WPT Dashboard Interop Dashboard
<!-- quirks -->
<title>Origin check for stylesheet with non-CSS MIME type quirk: recursive @import</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
setup({ single_test: true });
let errors = 0;
onload = () => {
assert_equals(errors, 1);
done();
};
</script>
<link rel="stylesheet" href="data:/,@import url('x/');" onerror="errors++">