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>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1477672">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1850965">
<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++">