Infobar on iOS Chrome freezes inline video playing on webpage
Reported by
lawre...@newbit.io,
Mar 3 2017
|
|||||||||||||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. Open the attached html file, or visit https://videotest.neocities.org/test1.html The page contains an auto playing video which is using video tag. The language of the webpage is set to "zh-TW" so it may trigger the Google Translate prompt. 2. Close the Google Translate prompt by clicking the close button. 3. Refresh the page by using the refresh button and repeat step 2. What is the expected behavior? The video should be played normally for every refresh. What went wrong? The video starts lagging and eventually the picture freezes. The audio is not affected. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 56.0.2924.79 Channel: stable OS Version: 10.2.1 Flash Version: You will not see this issue if you open the page https://videotest.neocities.org/test1.html in Safari and refresh it for a number of times. You can use this URL https://videotest.neocities.org/test2.html for comparison in Chrome. Since no language is specified the page it will not trigger the Google Translate. Refresh this page any number of times will not freeze the video playing.
,
Mar 3 2017
Issue can be reproduced test on the build 56.0.2924.79 stable 57.0.2987.88 dev tested on iPhone7+(iOS 10). Video freezes and never plays on closing the translate pop up and refreshing the page. Video : https://drive.google.com/a/google.com/file/d/0B--UpU2GW2EpR0t0d2I1bTNnbzQ/view?usp=sharing
,
Mar 3 2017
,
Mar 17 2017
I tested it on stable after disabling translations on the site (By clicking on 'Never translate this site') and the video still won't play. Could this be an autoplay issue and have nothing to do with translate?
,
Apr 4 2017
Adding mardini@ for triage to the write iOS team.
,
Apr 5 2017
Hi Pramod, Could you please verify if this is reproducible when translate is disabled?
,
Apr 5 2017
,
Apr 7 2017
Verified the issue on 57.0.2987.137 tested on iPhone7+ iOS 10.3. Video plays fine with any frame rate issues or freeze on disabling translate from settings.
,
Apr 7 2017
,
Apr 17 2017
,
Apr 18 2017
,
Apr 27 2017
,
May 28 2017
,
May 31 2017
,
Jun 9 2017
,
Jun 9 2017
It seems it is the infobar base class (or infobar container) which causes this bug. I could reproduce this bug with a "save password" infobar. Steps: 1. Visit http://martiwong.com/t/form.html The page contains an auto playing video and a login/password form. 2. Type anything on the login and password field then click on submit. the page will be reloaded. 3. A infobar will pop up asking "Do you want to save password". click on the "cross" to close the infobar (don't click on "save" or "never") repeat step 2, 3 and the video will be freezed. (in iphone6 iOS 9.3.5, I need to repeat 10~12 times) If I didn't type any thing at login/password at step 2, no infobar will show up. And the bug will not happen even I repeat step2,3 for >40 times. I suspect the creating or releasing (or showing/hiding) of the infobar causing this bug.
,
Jun 9 2017
Hi jif@, It seems this is a bug of infobar or infobar_container. Would you look into this or assign it to the best person. Thanks!
,
Jun 12 2017
,
Jun 12 2017
I thought it could have been a UIView lingering in the view hierarchy, but diffing the output of "po [[UIWindow keyWindow] recursiveDescription]" before and after the infobars appeared revealed no difference. I did find a leak of a bunch of infobar objects ( crbug.com/732384 ), but fixing that leak does not fix this bug. On an iPhone 6, after a couple (~3) page reloads the video's playback FPS drops. After one additional page reload, the video playback actually stops. I thought that maybe we were doing more and more work, but profiling does not reveal anything (see attached screenshot, second reload is at 1 min). Maybe the profiling does not log what is happening in the WKWebView; I'll try logging what we run in there.
,
Jun 13 2017
Took a look at what we were injecting in the WKWebview, and used at the (very minimalist) Safari Webview inspector, but did not find anything out of the ordinary. Will now remove functionalities of the infobars one by one until I find what exactly is causing the slow down.
,
Jun 13 2017
This bug is actually impacting all video playback, marking as RBS M60/P1. Steps to reproduce: -load http://foo.jp. A translate infobar will show up. -refresh the page a couple of times without dismissing the infobar. -visit youtube.com and try to play a video. The video will appear to not play.
,
Jun 13 2017
Has been occurring since (at least) M57.
,
Jun 13 2017
Removing RBS as this issue has been present for several releases, but still a P1.
,
Sep 29 2017
,
Sep 29 2017
Issue 761750 has been merged into this issue.
,
Oct 10 2017
Hi, This is listed as a P1 for M62. Are there any updates for this? Thanks,
,
Oct 18 2017
I investigated, but failed to find any source of the problem.
,
Oct 19 2017
Ok, marking as a P2 for going forward. Feel free to change prio if desired. Also Jif if you aren't actively working on it anymore feel free to mark as just assigned to you or you can remove it from your queue and just change it to Available.
,
Oct 20 2017
,
Dec 4 2017
jif@ is no longer on team. Marking Untraiged so it will be re-assigned.
,
Dec 4 2017
Looks like gchatz@ is the new Infobars owner
,
Dec 21 2017
Not going to have time to look at this. Assigning to pkl@ for retriage.
,
Apr 12 2018
srikanthg: Low priority, but can you verify to see if this is still an issue with M65 from App Store?
,
Apr 12 2018
Whoever on tester team has bandwidth to get to this first is a-ok, thanks!
,
Oct 26
,
Oct 26
,
Oct 30
|
|||||||||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||||||||
Comment 1 by lawre...@newbit.io
, Mar 3 2017