[wpt-sync] Sync PR 62753 - Clamp profiler sample timestamps based on context isolation status
Categories
(Core :: DOM: Performance APIs, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62753 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62753
Details from upstream follow.
Mike Taylor <miketaylr@chromium.org> wrote:
Clamp profiler sample timestamps based on context isolation status
ProfilerTraceBuilder::AddSample() previously converted sample timestamps
using a hardcoded cross_origin_isolated_capability parameter set to
true. Consequently, sample timestamps received fine-resolution clamping
even in contexts that were not cross-origin isolated.This change updates ProfilerTraceBuilder::AddSample() to pass the
builder's is_cross_origin_isolated_ member instead, ensuring timestamp
resolution matches the execution context's actual isolation capability.TAG=agy
Bug: 511325076
Change-Id: I0ac2aa2c63f7ba177db759784ddced0ac96c4433
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8416487
Reviewed-by: Kouhei Ueno \<kouhei@chromium.org>
Commit-Queue: Mike Taylor \<miketaylr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1699494}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=93313
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Details
New Tests That Don't Pass
- /js-self-profiling/time-domain.window.html [wpt.fyi]
- sample timestamps use the current high-resolution time:
FAIL(Chrome:FAIL, Safari:FAIL)
- sample timestamps use the current high-resolution time:
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•