Bug 257183
| Summary: | Some UserActivation tests are incorrect and could use a cleanup | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcos Caceres <marcosc> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marcos Caceres
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109696805>
Marcos Caceres
Pull request: https://github.com/WebKit/WebKit/pull/14229