[Webkit-unassigned] [Bug 200344] New: HTMLVideoElement play promise never finishes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 1 07:47:33 PDT 2019


            Bug ID: 200344
           Summary: HTMLVideoElement play promise never finishes
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nick.galea at mycujoo.tv

Created attachment 375311

  --> https://bugs.webkit.org/attachment.cgi?id=375311&action=review

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*"

 - 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).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190801/3e85d33f/attachment.html>

More information about the webkit-unassigned mailing list