Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9dbb511485aa820314629ec7475abfa1373abd1a
      
https://github.com/WebKit/WebKit/commit/9dbb511485aa820314629ec7475abfa1373abd1a
  Author: Diego De La Toba <[email protected]>
  Date:   2026-02-27 (Fri, 27 Feb 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-pseudo-class.html
    M LayoutTests/platform/mac-wk2/TestExpectations

  Log Message:
  -----------
  [macOS] 
imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-pseudo-class.html
 is a flaky text failure
rdar://171112681
https://bugs.webkit.org/show_bug.cgi?id=308586

Reviewed by Tim Nguyen.

The test was intermittently timing out because the fullscreenchange
event listener was registered after the event had already fired.

The sequential awaits:
    await trusted_request(outer);
    await fullScreenChange();
caused the fullscreenchange event to fire while waiting for
requestFullscreen() to resolve, before the listener in
fullScreenChange() was registered.

Using Promise.all() ensures the listener is registered synchronously
before the fullscreen transition completes:
await Promise.all([trusted_request(outer), fullScreenChange()]);

* 
LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-pseudo-class.html:
* LayoutTests/platform/mac-wk2/TestExpectations:

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



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

Reply via email to