New issue
Advanced search Search tips

Issue 597166 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-12-14
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

video element leaks connection if it was removed while playing content with 206 partial content

Reported by pan...@gmail.com, Mar 23 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

Example URL:
http://www.rayclass.com/oedweb/Assets/video/index.html

Steps to reproduce the problem:
1. Open developer console.
2. Click on the Toggle Video button and wait until the video starts play
3. Click on the Toggle Video button to remove the video
4. Repeat step 2,3 to 8 times.
5. click Test Ajax

What is the expected behavior?
There should be a request send to http://www.rayclass.com/oedweb/Assets/version_oedweb.txt?{timestamp}
and it should got the response in a short time.

What went wrong?
The request was stalled and can't complete after a long time.

Did this work before? N/A 

Chrome version: 49.0.2623.87  Channel: stable
OS Version: OS X 10.11.3
Flash Version: Shockwave Flash 20.0 r0

Connection leaks if the video element was removed while playing.
 
connection-leak.png
131 KB View Download

Comment 1 Deleted

Comment 2 by pan...@gmail.com, Mar 23 2016

The workaround is uncomment line #5 in app.js (videos.attr('src', '')) before removeing the video element. 

But this workaround is dirty for angular based applications.
Components: -Internals>Network Blink>Media>Video
Seems like the loader for the video isn't being killed when the element disappears.
Cc: phil...@opera.com mlamouri@chromium.org
The test page is returning a 404. Could you share a page on which we can test the issue?

Comment 5 Deleted

Comment 6 by pan...@gmail.com, Apr 26 2016

The test page is available now. Please take a look.
Labels: Needs-Feedback
http://www.rayclass.com/oedweb/Assets/video/index.html still returns a 404.

Comment 8 by pan...@gmail.com, Apr 26 2016

Really Sorry!
Please use: http://www.rayclass.com/download/video/index.html 

Our building tool keeps deletes the previous directory on every build.
Project Member

Comment 9 by sheriffbot@chromium.org, Apr 26 2016

Labels: -Needs-Feedback Needs-Review
Owner: mlamouri@chromium.org
Thank you for providing more feedback. Adding requester "mlamouri@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Review
Labels: -OS-Mac OS-All
Status: Available (was: Unconfirmed)
Seems like we didn't properly handle the MediaElement state when removing it from the document.

When video is playing, video.pause() stops the request.
While document.body.xxx.removeChild(video) pauses the player, but the request is still alive.

Confirmed as a bug. Thanks for the report.
Labels: Needs-BlinkMediaTriage
Cc: foolip@chromium.org
Cc: -phil...@opera.com
Project Member

Comment 15 by sheriffbot@chromium.org, Nov 13 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -foolip@chromium.org
NextAction: 2017-12-14
pangwa@, I tried this again and it seems to work fine. Do you confirm the bug is fixed?
Labels: -Needs-BlinkMediaTriage Needs-Feedback

Comment 19 by pan...@gmail.com, Dec 7 2017

Confirmed, it doesn't happen on version  62.0.3202.94(OSX). Please help close it, thanks!
Status: WontFix (was: Untriaged)
Thanks for confirming.
The NextAction date has arrived: 2017-12-14

Sign in to add a comment