Bug 213893 - WIP: Maintain a stack of executing scripts to attribute webpage execution events
Summary: WIP: Maintain a stack of executing scripts to attribute webpage execution events
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-02 12:02 PDT by Umar Iqbal
Modified: 2020-07-06 12:12 PDT (History)
14 users (show)

See Also:


Attachments
Patch (34.00 KB, patch)
2020-07-02 12:13 PDT, Umar Iqbal
no flags Details | Formatted Diff | Diff
Patch (28.73 KB, patch)
2020-07-06 12:12 PDT, Umar Iqbal
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Umar Iqbal 2020-07-02 12:02:43 PDT
WIP: Maintain an stack of executing scripts to attribute webpage execution events
Comment 1 Umar Iqbal 2020-07-02 12:13:08 PDT
Created attachment 403385 [details]
Patch
Comment 2 Umar Iqbal 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.
Comment 3 Keith Miller 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.
Comment 4 Umar Iqbal 2020-07-06 12:12:44 PDT
Created attachment 403604 [details]
Patch