Commit 4948358
test(browser): Allow profile frames without abs_path for clearTimeout
Adds `clearTimeout` to the list of built-in browser functions that may
appear in JSSelfProfiler-sampled frames without `abs_path`/`lineno`/
`colno`, alongside `fetch` and `setTimeout`. The chunk-timer cleanup
inside the profiler's stop path can sample a `clearTimeout` frame that
trips `validateProfile`'s assertion.
Fixes #20957
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b9f9ae4 commit 4948358
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments