[Webkit-unassigned] [Bug 263334] New: Web Inspector: Worker Info not Visible In Most Timeline Profile Views like JavaScript & Events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 18 13:04:22 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=263334

            Bug ID: 263334
           Summary: Web Inspector: Worker Info not Visible In Most
                    Timeline Profile Views like JavaScript & Events
           Product: WebKit
           Version: Safari 17
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: josmarti at adobe.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 468263

  --> https://bugs.webkit.org/attachment.cgi?id=468263&action=review

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231018/9cd4bf99/attachment.htm>


More information about the webkit-unassigned mailing list