Bug 246860 - imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes tests time out
Summary: imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes tests t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-21 08:58 PDT by Ryan Reno
Modified: 2024-03-14 00:29 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Reno 2022-10-21 08:58:55 PDT
We're failing a number of these tests due to timeouts. These tests rely on opening anchor links to javascript URLs without a user gesture. We require user gestures in certain circumstances (such as target="_blank" frames) in order to load the URL.

The tests pass when run through our WKTR infrastructure so maybe there's an issue with the Safari Driver?

Here's the list of tests which time out on WPT:

imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript-src-allowed-href_blank.html
imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript-src-allowed-href_blank-srcipt-src-attr.html
imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript-src-allowed-href_blank-script-src-elem.html


imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank.html
imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-attr.html
imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-elem.html

imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank.html
imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-attr.html
imported/w3c/web-platform-tests/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-elem.html
Comment 1 Radar WebKit Bug Importer 2022-10-21 08:59:17 PDT
<rdar://problem/101428946>