RESOLVED FIXED 263334
Web Inspector: Worker Info not Visible In Most Timeline Profile Views like JavaScript & Events
https://bugs.webkit.org/show_bug.cgi?id=263334
Summary Web Inspector: Worker Info not Visible In Most Timeline Profile Views like Ja...
Joseph Martinsen
Reported 2023-10-18 13:04:22 PDT
Created attachment 468263 [details] Timeline recording missing worker events Worker thread info does not appear to show up in any Timeline views other than CPU usage. Some initial discussion in the slack WebKit#web-inspector-help and initial findings and basic repro case from Razvan Caliman : https://webkit.slack.com/archives/CU80T42P9/p1696870632997349 Repro case: 1. Navigate to https://mdn.github.io/dom-examples/web-workers/fibonacci-worker/ (source code: https://github.com/mdn/dom-examples/tree/3e75d616aba9c98c2b31c269e7e28089ffe43529/web-workers/fibonacci-worker) 2. Open Web Inspector>Timelines and start recording a profile. 3. Enter a number in the input field and click submit (worker thread will execute the calculation via fibonacci.js). 4. End recording Expected: JavaScript & Events should show that the fibonacci function (or worker onmessage) ran. Actual: JavaScript & Events only originating from the UI thread show up. Timeline recording going through the above steps is attached. Safari Version 17.0 (19616.1.27.211.1)
Attachments
Timeline recording missing worker events (4.36 MB, application/json)
2023-10-18 13:04 PDT, Joseph Martinsen
no flags
Radar WebKit Bug Importer
Comment 1 2023-10-25 13:05:19 PDT
Devin Rousso
Comment 2 2025-02-09 19:06:09 PST
EWS
Comment 3 2025-02-14 17:16:22 PST
Committed 290430@main (783a08ad6950): <https://commits.webkit.org/290430@main> Reviewed commits have been landed. Closing PR #40337 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.