firefox-devtools / profiler

Firefox Profiler — Web app for Firefox performance analysis
https://profiler.firefox.com
Mozilla Public License 2.0
1.21k stars 393 forks source link

Profiler capturing occasionally leads to a blank page #2342

Open digitarald opened 4 years ago

digitarald commented 4 years ago

No relevant Console logs. Maybe related to the Service Worker and the new architecture that is behind dom.serviceWorkers.parent_intercept (cc @asutherland).

Refresh also doesn't work in this case, but it works the next time capture is clicked. The first profile is gone.

┆Issue is synchronized with this Jira Task

asutherland commented 4 years ago

@digitarald How often would you say this happens? I've been noticing a very low incidence rate of problems like this, say every other day, but it also seems to happen for URLs that don't have a ServiceWorker at all. (Like, I've seen it on {www.}google.com, neither of which have a ServiceWorker registered on that scope. Unless it's trying to install one and then fails and gives up? That might actually be expected to produce weird breakage, but I'm not seeing it.)

This might also be a DocumentChannel thing or other recent network related changes... but either way we should be trying to reproduce and determine what happens. If you're seeing it more frequently, it might be worth turning on about:networking#logging or seeing if you can derive an STR.

cc @perryjiang

digitarald commented 4 years ago

I see it more often when opening my lean profile that I use for Nightly profiling; usually breaks my first profile capture.

Next time I hit it I'll open about:networking#logging

asutherland commented 4 years ago

To be clear, you need to enable the logging ahead of time. There's no magic circular buffer that I'm aware of.

julienw commented 4 years ago

No relevant Console logs.

Have you looked at the browser console logs too?

digitarald commented 4 years ago

Have you looked at the browser console logs too?

Yes