Firefox hangs when clicking linkedin.com links from Slack comment
Categories
(Core :: Layout, defect, P1)
Tracking
()
Performance Impact | high |
People
(Reporter: cpeterson, Unassigned)
Details
(Keywords: perf:responsiveness)
Steps to reproduce
-
Open the following mozilla.slack.com comment:
https://mozilla.slack.com/archives/C01AFKCLWBF/p1603723350120100 -
Click the "Nicole Bjelica" or "Mike Heavers" linkedin.com link.
Expected result
A linkedin.com page should open in a new tab, like in Chrome.
Actual result
Firefox hangs for at least a minute. Sometimes just the Slack tab hangs. Sometimes the browser chrome hangs, too. Firefox will show the yellow busy tab infobar a few times. If you click the "Stop" button, then the new linkedin.com tab will open as expected.
Here is a profile of the hang:
https://share.firefox.dev/2TtgRO0
Looks like the web content process is spending a lot of time in Ion and Layout code.
The hang only seems to happen when clicking the links from the main Slack channel history view. If you click "Replies / View thread" and then click the links from the Slack Thread side bar, Firefox doesn't hang.
This is not a regression because I can reproduce on ESR 68 and 78 and Firefox 82/83/84.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
I can reproduce this locally on macOS, but not every time. The second time I click the link it opens immediately. But if I refresh Slack and try again it's back to the slowness. I do see the MutationObserver callbacks in my local profiles as well.
Cameron: Can you reproduce and poke at it a bit?
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Emilio, you fixed this issue, right? (Or got the Slack folks to back out some change?)
Comment 3•4 years ago
|
||
Yeah, this was bug 1640441 wasn't it?
Updated•4 years ago
|
Updated•3 years ago
|
Description
•