Bug 213893

Summary: WIP: Maintain a stack of executing scripts to attribute webpage execution events
Product: WebKit Reporter: Umar Iqbal <uiqbal>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, cdumez, esprehn+autocc, ews-watchlist, japhet, kangil.han, katherine_cheney, keith_miller, mark.lam, msaboff, saam, tzagallo, uiqbal, wilander
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Umar Iqbal
Reported 2020-07-02 12:02:43 PDT
WIP: Maintain an stack of executing scripts to attribute webpage execution events
Attachments
Patch (34.00 KB, patch)
2020-07-02 12:13 PDT, Umar Iqbal
no flags
Patch (28.73 KB, patch)
2020-07-06 12:12 PDT, Umar Iqbal
no flags
Umar Iqbal
Comment 1 2020-07-02 12:13:08 PDT
Umar Iqbal
Comment 2 2020-07-02 12:19:12 PDT
We currently plan to capture classic script execution. Including their callbacks, eval/Function, and promises. This is in no way trying to capture all types (WASM etc) of scripts executing in a Document.
Keith Miller
Comment 3 2020-07-02 12:38:00 PDT
I believe, you also won't be capturing transitive calls with this. I.e. if frame A calls a function exposed by frame B, which then calls into the DOM, you'll only see frame A. Not sure if that matters for now, though.
Umar Iqbal
Comment 4 2020-07-06 12:12:44 PDT
Note You need to log in before you can comment on or make changes to this bug.