Bug 257183

Summary: Some UserActivation tests are incorrect and could use a cleanup
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Marcos Caceres
Reported 2023-05-22 22:07:18 PDT
In particular: * consumption-sameorigin.html - it's same origin, so it doesn't need to use postMessage()! * propagation-crossorigin.sub.html - the current structure is way too hard to follow. It should just use async/await. Further, propagation-crossorigin.sub.html makes a number of incorrect assumptions: it seems to assume that hasBeenActive gets reflected across origins. That's wrong per the HTML spec (or at least my reading of "activation notification"). https://html.spec.whatwg.org/#activation-notification which says it only applies same origin.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-22 22:08:18 PDT
Marcos Caceres
Comment 2 2023-05-22 22:22:04 PDT
Note You need to log in before you can comment on or make changes to this bug.