New issue
Advanced search Search tips

Issue 832989 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

DOMException when removing a video tag before it starts playing

Reported by tejesh.m...@gmail.com, Apr 14 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6

Steps to reproduce the problem:
https://codepen.io/tjmehta/pen/WzqNLe?editors=0011

What is the expected behavior?
No exception should be thrown.

What went wrong?
An unexpected exception was thrown by Chrome

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 65.0.3325.181 (Official Build) (64-bit)  Channel: stable
OS Version: OS X 10.13.3
Flash Version: 29.0.0.140 /Users/tjmehta/Library/Application Support/Google/Chrome/PepperFlash/29.0.0.140/PepperFlashPlayer.plugin

It appears that Chrome is calling "pause" internally when the video tag is removed from the DOM.
 
video-dom-exception.js
347 bytes View Download
Labels: Needs-Triage-M65
Components: Blink
Labels: M-68 Triaged-ET FoundIn-68 Target-68 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on reported version 65.0.3325.181 and latest canary 68.0.3397.0 using Windows 10, Mac 10.12.6 and Ubuntu 14.04. As this issue is seen from M-60(60.0.3112.0). Hence considering this issue as Non-Regression and marking as Untriaged.

Thanks!
Components: -Blink Blink>Media>Video
Status: WontFix (was: Untriaged)
This is working as intended: when the video is removed from the DOM, it is paused. The play() promise will reject if playback did not start, it includes if the playback did not start because it was paused.

Sign in to add a comment