Bug 278756
Summary: | [css-view-transitions-2] skip-outbound-vt-before-reveal.html fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
Component: | DOM | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Matt Woodrow
My reading of this spec makes me think this is expected: https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-global-task
Matt Woodrow
Wrong link, https://html.spec.whatwg.org/multipage/browsing-the-web.html#beginning-navigation:queue-a-global-task-3
Radar WebKit Bug Importer
<rdar://problem/134965723>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/33144