Bug 278756

Summary: [css-view-transitions-2] skip-outbound-vt-before-reveal.html fails
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: DOMAssignee: Matt Woodrow <mattwoodrow>
Status: NEW    
Severity: Normal CC: ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/47972
Bug Depends on:    
Bug Blocks: 278247    

Matt Woodrow
Reported 2024-08-27 20:13:17 PDT
This test has a render blocking element that prevents pagereveal from being fired, and then navigates to a new page. The test is expecting the navigation to happen without the pagereveal event being sent, so no cross-document view transition happens. With WebKit, initiating the navigation results in any pending fetch requests being cancelled, which removes the render blocking. Pagereveal then happens before we commit the navigation (and fire pageswap), so we get a VT and the test fails.
Attachments
Matt Woodrow
Comment 1 2024-08-27 20:14:21 PDT
My reading of this spec makes me think this is expected: https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-global-task
Radar WebKit Bug Importer
Comment 3 2024-08-29 14:10:42 PDT
Matt Woodrow
Comment 4 2024-09-04 14:55:56 PDT
Note You need to log in before you can comment on or make changes to this bug.