WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
293642
REGRESSION(
295342@main
): [iOS] imported/w3c/web-platform-tests/css/cssom/stylesheet-same-origin.sub.html is constant failure (flaky failure in EWS)
https://bugs.webkit.org/show_bug.cgi?id=293642
Summary
REGRESSION(295342@main): [iOS] imported/w3c/web-platform-tests/css/cssom/styl...
Marta Darbinyan
Reported
2025-05-27 14:31:49 PDT
The following test is constantly failing on iOS on main and also appear as flaky test in EWS. Suspecting this failure started from
295342@main
. imported/w3c/web-platform-tests/css/cssom/stylesheet-same-origin.sub.html FAIL Origin-clean check in cross-origin CSSOM Stylesheets assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" threw object "TypeError: null is not an object (evaluating 'sheet.cssRules')" that is not a DOMException SecurityError: property "code" is equal to undefined, expected 18 -FAIL Origin-clean check in cross-origin CSSOM Stylesheets (redirect from same-origin to cross-origin) assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { - sheet.cssRules; - }" did not throw +PASS Origin-clean check in cross-origin CSSOM Stylesheets (redirect from same-origin to cross-origin) FAIL Origin-clean check in cross-origin CSSOM Stylesheets (redirect from cross-origin to same-origin) assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" threw object "TypeError: null is not an object (evaluating 'sheet.cssRules')" that is not a DOMException SecurityError: property "code" is equal to undefined, expected 18 -FAIL Origin-clean check in loading error CSSOM Stylesheets assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { - sheet.cssRules; - }" did not throw +PASS Origin-clean check in loading error CSSOM Stylesheets PASS Origin-clean check in same-origin CSSOM Stylesheets -FAIL Origin-clean check in data:css CSSOM Stylesheets Not allowed to access cross-origin stylesheet +PASS Origin-clean check in data:css CSSOM Stylesheets Test history:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom%2Fstylesheet-same-origin.sub.html
Test result:
https://ews-build.webkit.org/#/builders/133/builds/19194
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-05-27 14:39:09 PDT
<
rdar://problem/152111622
>
EWS
Comment 2
2025-05-27 15:11:41 PDT
Test gardening commit
295472@main
(6806868e1c8d): <
https://commits.webkit.org/295472@main
> Reviewed commits have been landed. Closing PR #45967 and removing active labels.
Kiet Ho
Comment 3
2025-05-28 13:09:28 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/46009
EWS
Comment 4
2025-06-03 21:47:09 PDT
Committed
295793@main
(46083abd0d17): <
https://commits.webkit.org/295793@main
> Reviewed commits have been landed. Closing PR #46009 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug