html/semantics/scripting-1/the-script-element/css-module/

60 / 60 WPT subtests passing

Failed
0
Timed out
0
Not run
0
Test files
18
Blocking files
0

Chrome 60 / 60 WPT subtests passing on the same files, none blocking

Tests

18 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
charset-2.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS module should be loaded as utf-8 even if it is encoded in windows-1250 and served with a windows-1250 charset response header, and this document's encoding is windows-1250
charset-bom.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. UTF-8 BOM should be stripped when decoding CSS module script
  2. UTF-16BE BOM should be ignored, so CSS module should be UTF-8 decoded
  3. UTF-16LE BOM should be ignored, so CSS module should be UTF-8 decoded
charset.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. CSS module should be loaded as utf-8 when charset=utf8 is specified
  2. CSS module should be loaded as utf-8 when charset=shift-jis is specified
  3. CSS module should be loaded as utf-8 when charset=windows-1252 is specified
  4. CSS module should be loaded as utf-8 when charset=utf-7 is specified
  5. CSS module should be loaded as utf-8 even if it is encoded in windows-1250 and served with a windows-1250 charset response header
content-type-checking.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. text/css
  2. application/css
  3. text/html+css
  4. text/css;boundary=something
  5. text/css;foo=bar
  6. application/javascript
cors-crossorigin-requests.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Imported CSS module, cross-origin with CORS
  2. Imported CSS module, cross-origin, missing CORS ACAO header
  3. Imported CSS module with parse error, cross-origin, with CORS
credentials.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSS Modules should be loaded with or without the credentials based on the same-origin-ness and the crossOrigin attribute
css-module-parse-error.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. CSS module with parse errors imports successfully with empty rules.
  2. Repeated import of parse-error CSS module returns same sheet.
  3. CSS module with partially malformed CSS imports with valid rules.
css-module-worker-test.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. A static import CSS Module within a web worker should not load and should not attempt to fetch the module.
  2. A dynamic import CSS Module within a web worker should not load and should not attempt to fetch the module.
  3. An attempt to load a CSS module as a worker should fail.
import-css-module-basic.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. A CSS Module should load
  2. A large CSS Module should load
  3. An @import CSS Module should not load, but should not throw an exception
  4. A parse error should not prevent subsequent rules from being included in a CSS module
  5. CSS module without type attribute should result in a fetch error
import-css-module-dynamic.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Load a CSS module with dynamic import()
  2. Ensure that loading a CSS module with dymnamic import() fails without a type attribute
integrity.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. The integrity attribute must be verified on the top-level of a module loading a CSS module and allow it to execute when it matches
  2. The integrity attribute must be verified on the top-level of a module loading a CSS module and not allow it to execute when there's a mismatch
load-error-events.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. inline, 200, parser-inserted
  2. inline, 404, parser-inserted
  3. src, 200, parser-inserted
  4. src, 404, parser-inserted
  5. src, 200, not parser-inserted
  6. src, 404, not parser-inserted
  7. inline, 200, not parser-inserted
  8. inline, 404, not parser-inserted
redirect-relative-urls.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. A relative URL in a statically imported CSS module resolves against the URL the request was redirected to
  2. A relative URL in a dynamically imported CSS module resolves against the URL the request was redirected to
redirect.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. A CSS module fetched through a redirect loads and applies
  2. Repeated import of a redirecting URL returns the same CSSStyleSheet
  3. A redirecting URL and its target are distinct module map entries
referrer-policies.sub.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. Importing a same-origin top-level script with the default referrer policy.
  2. Importing a remote-origin top-level script with the default referrer policy.
  3. Importing a same-origin top-level script with the origin policy.
  4. Importing a remote-origin top-level script with the origin policy.
  5. Importing a same-origin top-level script with the no-referrer policy.
  6. Importing a remote-origin top-level script with the no-referrer policy.
  7. Importing a same-origin top-level script with the unsafe-url referrer policy.
  8. Importing a remote-origin top-level script with the unsafe-url referrer policy.
relative-urls.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. A relative URL in a CSS module should be resolved relative to the CSS file's URL, not the importing document's URL
repeated-import.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. CSS Module repeated imports
  2. CSS Module repeated serial imports
  3. CSS Module repeated parallel imports
script-element-css-src.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that <script> doesn't load when the src is CSS.

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.