Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ab068e54b5cca59fd696c0b733b54af749ee9f3
      
https://github.com/WebKit/WebKit/commit/4ab068e54b5cca59fd696c0b733b54af749ee9f3
  Author: Simon Fraser <[email protected]>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/largest-contentful-paint/resources/largest-contentful-paint-helpers.js

  Log Message:
  -----------
  REGRESSION(6/11/2026)?: [macOS iOS] 
imported/w3c/web-platform-tests/largest-contentful-paint/image-TAO.sub.html is 
a flaky text failure
https://bugs.webkit.org/show_bug.cgi?id=316939
rdar://179406190

Reviewed by Anne van Kesteren.

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.

* 
LayoutTests/imported/w3c/web-platform-tests/largest-contentful-paint/resources/largest-contentful-paint-helpers.js:
(checkImage):

Canonical link: https://commits.webkit.org/315230@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to