New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 730035 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Oct 2
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 614482



Sign in to add a comment

UseCase gets stuck in LOADING after navigating within Youtube

Project Member Reported by delph...@chromium.org, Jun 6 2017

Issue description

If you go to youtube.com and navigate to any video, the RendererScheduler will stay in UseCase::LOADING indefinitely.

This is because clicking a video on youtube does not actually navigate to a new page but uses window.history.pushState and then modifies the current page. This doesn't reset the FirstMeaningfulPaintDetector which will never fire again because it thinks the network connection for the page is quiescent.

While in theory we could reset the FMPD, this may not give the results we want since the page is now partially painted anyway, so there may not be a more significant paint.

The solution is almost certainly to ignore such navigations and not enter LOADING at all in those cases.
 
Cc: alexclarke@chromium.org
Status: Fixed (was: Started)
Alex fixed this as part of a clean up in crrev/c/522069.
Status: Available (was: Fixed)
According to reports this may have regressed?
I can confirm that this bug is back.
trace_Wed_Jul_05_2017_2.26.53_PM.json.gz
9.3 MB Download
Status: Started (was: Available)
Looks like Alex added the bug back in https://chromium-review.googlesource.com/c/532902/ as part of fixing the perf regressions of his original patch (which only fixed this bug as a side-effect).
I found this using the attached test page, rather than youtube which doesn't seem to be fixed at all by any of the previous changes. It's possible, the original change never fixed it or youtube itself has changed.
Attaching correct version of test page.
test_history.html
1.1 KB View Download
Owner: ----
Status: Available (was: Started)
Labels: -Pri-3 Pri-2
Blocking: 614482
Owner: eseckler@chromium.org
Status: WontFix (was: Available)
Can't repro this anymore on Linux (and I assume all platforms are the same), whether using the test from #7 or on youtube.com.

In the test from #7, the use case never switches to loading again when clicking the buttons.

Sign in to add a comment