Safari iPadOS 18.3.2 freezes when looping video elements
Bug Summary:
Safari freezes on iPad Pro 13" M4 (iPadOS 18.3.2) when looping <video> elements play through once.
Steps to Reproduce:
- Open any website with an autoplay looping <video> element
- Scroll to looping video
- After one playthrough, Safari and iPadOS become unresponsive
- Lock/unlock is required to recover, unless experimental flags are disabled (see below) in addition to Prevent Cross-Site Tracking being disabled
Tested Workarounds:
- Disabling all 5 of the following plus Prevent Cross-Site Tracking resolves full lockup, but still causes a UI freeze (several seconds) which then resolves itself:
- WebCodecs HEVC codec
- WebCodecs Video API
- WebRTC HEVC codec
- WebRTC VP9 profile 2 codec
- Media Source in a Worker
- Disabling only some does not prevent freezing (have not tested every possible combination - only individual and all on/all off)
- Disabling ITP ("Prevent Cross-Site Tracking") alone does not solve it unless combined with all 5 flags being off
- Issue is new as of iPadOS 18.3.2 update, M4 13" iPad pro
Tested with safari cache/history cleared
Default settings on all other WebKit Feature Flags
All extensions disabled
Force close safari and re-open + page refresh for each setting configuration tested
iPad Pro, iPadOS 18