Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LoAF] Set sourceCharPosition for the invoke-type resolve-promise
The script entries of LoAF for the promise-resolve invoker type do not provide sourceCharPosition. This CL enables the provision of the source position. - Introduced CapturePartialSourceLocationFromStack(v8::Isolate*) to retrieve both URL and starting character position of the currently executing script. - Added LongAnimationFrameSourceCharPosition runtime flag. Bug: 381529126 Test: - external/wpt/long-animation-frame/tentative/loaf-source- location.html - external/wpt/long-animation-frame/tentative/loaf-source-location-redirect.html Change-Id: I481a62d8eb4a5649fdddcff5b657d442335e8725 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6060398 Reviewed-by: Noam Rosenthal <[email protected]> Commit-Queue: Joone Hur <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1397921}
- Loading branch information