Open Bug 1839702 Opened 2 years ago Updated 2 years ago

Make ContentParent MOZ_LOG messages more consistent (pointer vs. ChildID)

Categories

(Core :: DOM: Content Processes, task, P5)

task

Tracking

()

People

(Reporter: jstutte, Unassigned)

Details

(Keywords: good-first-bug)

We have several variants of MOZ_LOG messages in ContentParent:

  • only with %p showing the pointer value
  • only with GetChildID() showing the PID
  • both

We probably want mostly the PID.

Furthermore the correct way of printing uint64_t is to use:

"Text %" PRIu64 " more text", this->GetChildID()

without any casts.

Severity: -- → S4
Keywords: good-first-bug
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.