Closed Bug 2092930 Opened 17 days ago Closed 13 days ago

[wpt-sync] Sync PR 64651 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=316939

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64651 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64651
Details from upstream follow.

Simon Fraser <simon.fraser@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=316939

WebKit export from bug: REGRESSION(<!---->6/<!---->11/<!---->2026)<!---->?<!---->:<!----> [<!---->macOS iOS]<!----> imported/<!---->w3c/<!---->web-<!---->platform-<!---->tests/<!---->largest-<!---->contentful-<!---->paint/<!---->image-<!---->TAO.<!---->sub.<!---->html is a flaky text failure

<pre>
REGRESSION(6/11/2026)?: [macOS iOS] largest-contentful-paint/image-TAO.sub.html is a flaky text failure

The test was failing with values like "expected a number greater than or equal to 36.00000000000001 but got 36".
This happens because performance.now() is coarsened with a resolution of 1ms, and entry.renderTime with 4ms.
Floating point rounding can cause the reduced-resolution "now" time to be fractionally less than the renderTime.

Fix with an epsilon of 0.1ms.

Upstream has changed this file since WebKit last imported it, so this applies the change to upstream's current version.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=316939">https://bugs.webkit.org/show_bug.cgi?id=316939</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/315230@main">https://commits.webkit.org/315230@main</a>
</pre>

Component: web-platform-tests → DOM: Performance APIs
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 75 tests and 1 subtests

Status Summary

Firefox

OK : 44[GitHub] 71[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 72[Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
PASS : 59[GitHub] 110[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 111[Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
FAIL : 5[GitHub] 10[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2

Chrome

OK : 45
PASS : 62
FAIL : 3

Safari

OK : 41
PASS : 49
FAIL : 3
TIMEOUT: 8
NOTRUN : 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.