Open Bug 1924746 Opened 5 months ago Updated 4 months ago

Register the page information of workers with the profiler

Categories

(Core :: Gecko Profiler, defect, P3)

defect

Tracking

()

Tracking Status
firefox133 --- affected

People

(Reporter: canova, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp])

After investigating some missing pages in Bug 1924681, realized that the pages of service workers are not registered properly. We should properly register them. See that bug for more context, but here's the log I got in the end:

Failed to find the tabID of innerWindowID 18446744073709552000 sample: funcName: js::RunScript fileName: null
Failed to find the tabID of innerWindowID 18446744073709552000 sample: funcName: fileName: resource://gre/modules/PageThumbs.worker.js
Failed to find the tabID of innerWindowID 18446744073709552000 sample: funcName: require fileName: resource://gre/modules/workers/require.js
Failed to find the tabID of innerWindowID 18446744073709552000 sample: funcName: anonymous fileName: resource://gre/modules/workers/require.js line 153 > Function
Failed to find the tabID of innerWindowID 18446744073709552000 sample: funcName: (root scope) fileName: resource://gre/modules/workers/require.js line 153 > Function line 3 > eval resource://gre/modules/workers/require.js line 153 > Function line 3 > eval
Failed to find the tabID of innerWindowID 18446744073709552000 sample: funcName: WorkerGlobalScope.importScripts fileName: null
Failed to find the tabID of innerWindowID 6442450947 marker: name: "Largest contentful paint after 0ms"
Failed to find the tabID of innerWindowID 36 marker: name: "Largest contentful paint after 0ms"
Failed to find the tabID of innerWindowID 6106245440 sample: funcName: Yc fileName: https://registry.api.cnn.io/bundles/fave/googlePal-37f8cc7b/googlePal

It looks like the page with 18446744073709552000 innerWindowID belongs to a worker. But it's not properly captured in the profile: https://share.firefox.dev/3ZZvNa1

The severity field is not set for this bug.
:canova, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(canaltinova)
Severity: N/A → S3
Flags: needinfo?(canaltinova)
You need to log in before you can comment on or make changes to this bug.