WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
200344
HTMLVideoElement play promise never finishes
https://bugs.webkit.org/show_bug.cgi?id=200344
Summary
HTMLVideoElement play promise never finishes
Nicholas
Reported
2019-08-01 07:47:33 PDT
Created
attachment 375311
[details]
3 screenshots of the reproduced bug Overview: Every now and then the promise returned by the HTMLVideoElements "play" method never resolves or rejects. This has happened on Safari iOS and Safari Desktop, but is more easily reproduced in the former. Steps to Reproduce: 1) Visit the following CodePen in an iOS device:
https://codepen.io/nickcujoo/full/YmQRNW
(This is the actual code to test:
https://codepen.io/nickcujoo/pen/YmQRNW?editors=1010
) 2) Refresh multiple times. Actual Results: At some point the text will remain as "Pending...". Expected Results: The promise should either: a) resolve and have the text change to "Success" b) reject and have the text change to "Error: *error message*" Devices: - MacBook Pro 15 inch 2019 with macOS Mojave Version 10.14.6 - iPhone 7 Plus (Model MN4M2ZD/A) with iOS 12.0.1 (16A404) Additional Information: I've attached 3 screenshots (as a PDF) from 1 instance of this happening, to demonstrate that the promise remains without resolution or rejection indefinitely (refer to the time of the device).
Attachments
3 screenshots of the reproduced bug
(457.61 KB, application/pdf)
2019-08-01 07:47 PDT
,
Nicholas
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 3
2019-08-04 11:30:52 PDT
<
rdar://problem/53920022
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug