From 0715ef25409996525ba07141ac2d8f50e208fbca Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Wed, 17 May 2023 13:47:52 +0000 Subject: [PATCH] Bug 1831932 [wpt PR 39892] - LoAF: fix regression in collecting source locations, a=testonly Automatic update from web-platform-tests LoAF: fix regression in collecting source locations Previous fix made it so that we only collect bound-function script. Added a regression test to make sure we collect all source locations, including ones for setTimeout (which has an optimziation to eagerly garbage collect). Bug: 1392685 Change-Id: I1d9ecd7e5bad0163b0ba492aa9dc238102158ec5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4514697 Reviewed-by: Yoav Weiss Commit-Queue: Noam Rosenthal Cr-Commit-Position: refs/heads/main@{#1141242} -- wpt-commits: 9f1eb59407694a404eff232c643d28b74c535692 wpt-pr: 39892 --- .../tentative/loaf-source-location-bound.html | 24 ------------ .../tentative/loaf-source-location.html | 43 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 24 deletions(-) delete mode 100644 testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location-bound.html create mode 100644 testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location.html diff --git a/testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location-bound.html b/testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location-bound.html deleted file mode 100644 index 8e8019104af2..000000000000 --- a/testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location-bound.html +++ /dev/null @@ -1,24 +0,0 @@ - - -Long Animation Frame Timing: source location extraction - - - - - - -

Long Animation Frame: source location extraction

-
- - diff --git a/testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location.html b/testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location.html new file mode 100644 index 000000000000..ffda00020717 --- /dev/null +++ b/testing/web-platform/tests/long-animation-frame/tentative/loaf-source-location.html @@ -0,0 +1,43 @@ + + +Long Animation Frame Timing: source location extraction + + + + + + +

Long Animation Frame: source location extraction

+
+ + -- 2.11.4.GIT