Bug 227557
Summary: | REGRESSION (r279427) [ Mac ] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/integrity.html is failing | ||
---|---|---|---|
Product: | WebKit | Reporter: | ayumi_kojima |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Mac (Intel) | ||
OS: | Unspecified |
ayumi_kojima
imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/integrity.html
It looks like the test is failing when it is introduced (r279427)
--- /Volumes/Data/worker/bigsur-release-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/integrity-expected.txt
+++ /Volumes/Data/worker/bigsur-release-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/integrity-actual.txt
@@ -1,5 +1,5 @@
CONSOLE MESSAGE: SyntaxError: Unexpected identifier 'assert'. Expected a ';' following a targeted import declaration.
-CONSOLE MESSAGE: TypeError: Cannot load script http://localhost:8800/html/semantics/scripting-1/the-script-element/css-module/resources/integrity-mismatches.js. Failed integrity metadata check. Content length: 147, Expected content length: 147, Expected metadata: sha384-doesnotmatch
+CONSOLE MESSAGE: TypeError: Cannot load script http://localhost:8800/html/semantics/scripting-1/the-script-element/css-module/resources/integrity-mismatches.js. Failed integrity metadata check. Content length: 147, Expected content length: -1, Expected metadata: sha384-doesnotmatch
FAIL 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 assert_array_equals: The module and its dependency must have executed lengths differ, expected array ["integrity-matches,css:#test { background-color: rgb(255, 0, 0); }"] length 1, got [] length 0
PASS 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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/79993241>
Chris Dumez
Committed r279446 (239302@main): <https://commits.webkit.org/239302@main>