Bug 227836 - When you close the full-screen video, the browser causes you to go to the previous page
Summary: When you close the full-screen video, the browser causes you to go to the pre...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad iOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-09 06:40 PDT by Sergiy Taran
Modified: 2021-07-16 11:11 PDT (History)
4 users (show)

See Also:


Attachments
Video with reproduced error (3.19 MB, video/mp4)
2021-07-16 06:23 PDT, Sergiy Taran
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergiy Taran 2021-07-09 06:40:14 PDT
I have iframe and i insert video (mp4) in iframe. After that i open this video in full screen after that i close full screen mode and after close full screen mode browser trigger go back history
Comment 1 Alexey Proskuryakov 2021-07-12 19:49:00 PDT
Could you please provide a complete test (either attached here or hosted somewhere)?
Comment 2 Sergiy Taran 2021-07-16 06:23:14 PDT
Created attachment 433672 [details]
Video with reproduced error
Comment 3 Radar WebKit Bug Importer 2021-07-16 06:41:15 PDT
<rdar://problem/80682841>
Comment 4 Jer Noble 2021-07-16 11:11:56 PDT
This behavior is intentional, though it sounds like it's buggy. The intent is that, when a user clicks a link to a media file, it opens in fullscreen mode, and closing the fullscreen presentation will take them back to the original page.

This _should_ only occur in a top-level document navigation, not an iframe.