Bug 227557 - REGRESSION (r279427) [ Mac ] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/integrity.html is failing
Summary: REGRESSION (r279427) [ Mac ] imported/w3c/web-platform-tests/html/semantics/s...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Intel) Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-30 17:04 PDT by ayumi_kojima
Modified: 2021-06-30 17:49 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-06-30 17:04:42 PDT
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
Comment 1 Radar WebKit Bug Importer 2021-06-30 17:06:11 PDT
<rdar://problem/79993241>
Comment 2 Chris Dumez 2021-06-30 17:49:12 PDT
Committed r279446 (239302@main): <https://commits.webkit.org/239302@main>