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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
charset-2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- UTF-8 BOM should be stripped when decoding CSS module script
- UTF-16BE BOM should be ignored, so CSS module should be UTF-8 decoded
- UTF-16LE BOM should be ignored, so CSS module should be UTF-8 decoded
charset.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- CSS module should be loaded as utf-8 when charset=utf8 is specified
- CSS module should be loaded as utf-8 when charset=shift-jis is specified
- CSS module should be loaded as utf-8 when charset=windows-1252 is specified
- CSS module should be loaded as utf-8 when charset=utf-7 is specified
- 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.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- text/css
- application/css
- text/html+css
- text/css;boundary=something
- text/css;foo=bar
- application/javascript
cors-crossorigin-requests.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Imported CSS module, cross-origin with CORS
- Imported CSS module, cross-origin, missing CORS ACAO header
- Imported CSS module with parse error, cross-origin, with CORS
credentials.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- CSS Modules should be loaded with or without the credentials based on the same-origin-ness and the crossOrigin attribute
css-module-parse-error.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- CSS module with parse errors imports successfully with empty rules.
- Repeated import of parse-error CSS module returns same sheet.
- CSS module with partially malformed CSS imports with valid rules.
css-module-worker-test.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- A static import CSS Module within a web worker should not load and should not attempt to fetch the module.
- A dynamic import CSS Module within a web worker should not load and should not attempt to fetch the module.
- An attempt to load a CSS module as a worker should fail.
import-css-module-basic.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- A CSS Module should load
- A large CSS Module should load
- An @import CSS Module should not load, but should not throw an exception
- A parse error should not prevent subsequent rules from being included in a CSS module
- CSS module without type attribute should result in a fetch error
import-css-module-dynamic.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Load a CSS module with dynamic import()
- Ensure that loading a CSS module with dymnamic import() fails without a type attribute
integrity.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- 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
- 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.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- inline, 200, parser-inserted
- inline, 404, parser-inserted
- src, 200, parser-inserted
- src, 404, parser-inserted
- src, 200, not parser-inserted
- src, 404, not parser-inserted
- inline, 200, not parser-inserted
- inline, 404, not parser-inserted
redirect-relative-urls.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A relative URL in a statically imported CSS module resolves against the URL the request was redirected to
- A relative URL in a dynamically imported CSS module resolves against the URL the request was redirected to
redirect.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- A CSS module fetched through a redirect loads and applies
- Repeated import of a redirecting URL returns the same CSSStyleSheet
- A redirecting URL and its target are distinct module map entries
referrer-policies.sub.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Importing a same-origin top-level script with the default referrer policy.
- Importing a remote-origin top-level script with the default referrer policy.
- Importing a same-origin top-level script with the origin policy.
- Importing a remote-origin top-level script with the origin policy.
- Importing a same-origin top-level script with the no-referrer policy.
- Importing a remote-origin top-level script with the no-referrer policy.
- Importing a same-origin top-level script with the unsafe-url referrer policy.
- Importing a remote-origin top-level script with the unsafe-url referrer policy.
relative-urls.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- CSS Module repeated imports
- CSS Module repeated serial imports
- CSS Module repeated parallel imports
script-element-css-src.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that <script> doesn't load when the src is CSS.