New issue
Advanced search Search tips

Issue 699677 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

'Expand All' in webkit-results pegs 100% cpu and eventually uses up all memory

Project Member Reported by robhogan@chromium.org, Mar 8 2017

Issue description

Google Chrome	58.0.3018.3 (Official Build) dev (64-bit)
Revision	9f90720567a93b798d314c9d4af6bdd092a07767-refs/branch-heads/3018@{#5}
OS	Linux
JavaScript	V8 5.8.244
Flash	25.0.0.119 /home/robert/.config/google-chrome-unstable/PepperFlash/25.0.0.119/libpepflashplayer.so
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3018.3 Safari/537.36
Command Line	/usr/bin/google-chrome-unstable --user-data-dir=/home/robert/.config/google-chrome-unstable --user-data-dir=/home/robert/.config/google-chrome-unstable --flag-switches-begin --flag-switches-end
Executable Path	/opt/google/chrome-unstable/google-chrome-unstable


Go to:

https://storage.googleapis.com/chromium-layout-test-archives/linux_chromium_rel_ng/404315/layout-test-results/results.html

for example, and click 'Expand All'. CPU hammers away and memory gets slowly eaten up. 

I'll add a chrome trace.


 
trace_layout-test-results-race.json.gz
8.5 MB Download
Components: -Blink>Loader Blink>Infra
Status: Untriaged (was: Unconfirmed)
'Expand All' creates +1000 iframes and loads test results inside them.
If you are using Chrome on a corp machine, an extension injects some suboptimal javascript to every frame (see Issue 597924).

Perhaps result.html could be written more nicely?

Status: Available (was: Untriaged)
Relevant part of results.html:
https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/fast/harness/results.html?l=412

It seems like the bug is that visibleExpandLinks() doesn't actually return just the visible expand links, but instead includes a whole bunch of links (1000+) that aren't actually visible.
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 11 2018

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.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by danyao@chromium.org, Apr 13 2018

Status: WontFix (was: Untriaged)
"visibleExpandLinks" is removed in https://chromium-review.googlesource.com/c/chromium/src/+/775973. I don't see an "Expand All" link anymore in the results page from Comment #0. Manually expanding each section seems fast.

Sign in to add a comment