RESOLVED FIXED 227557
REGRESSION (r279427) [ Mac ] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/integrity.html is failing
https://bugs.webkit.org/show_bug.cgi?id=227557
Summary REGRESSION (r279427) [ Mac ] imported/w3c/web-platform-tests/html/semantics/s...
ayumi_kojima
Reported 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
Attachments
Radar WebKit Bug Importer
Comment 1 2021-06-30 17:06:11 PDT
Chris Dumez
Comment 2 2021-06-30 17:49:12 PDT
Note You need to log in before you can comment on or make changes to this bug.