Open Bug 1959381 Opened 15 days ago Updated 8 days ago

Wrong process name in EvaluationContextSelector in browser console

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: tschuster, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

What were you doing?

  1. Open the Browser Console
  2. Go to the console tab
  3. Open cnn.com in a new tab
  4. Open the EvaluationContextSelector dropdown

What happened?

The list of contexts includes something like

(pid 1333) prealloc
Breaking News | CNN

What should have happened?

It should have been displayed like (not prealloc)

(pid 1333) https://cnn.com
Breaking News | CNN

Anything else we should know?

This doesn't always reproduce. For example on my screenshot it show it working for example.org but not cnn.com. about:process always shows the correct process type.

Attached image Screenshot

We're using Services.appinfo.remoteType (https://searchfox.org/mozilla-central/rev/6cc05c6620814bf3eb05278ccf3b1f49690b7740/devtools/server/actors/targets/content-process.js#172), but we only set it when we create the target, where we might still be in this "prealloc" state.

We could do polling in case we see prealloc and wait until we can get a proper value and update this.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: