Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9fe6e62598e4062f19e4e6db6f7907a4c9a7fba8
      
https://github.com/WebKit/WebKit/commit/9fe6e62598e4062f19e4e6db6f7907a4c9a7fba8
  Author: Jean Haberer <[email protected]>
  Date:   2026-07-23 (Thu, 23 Jul 2026)

  Changed paths:
    M LayoutTests/model-element/immersive/model-element-immersive-basic.html
    M LayoutTests/model-element/immersive/model-element-immersive-bfcache.html
    M 
LayoutTests/model-element/immersive/model-element-immersive-state-consistency.html

  Log Message:
  -----------
  model-element-immersive-state-consistency.html test is flaky
https://bugs.webkit.org/show_bug.cgi?id=319989
rdar://177935542

Reviewed by Etienne Segonzac.

Fire concurrent requestImmersive() calls synchronously via
internals.withUserGesture instead of test_driver.bless, so that races are
deterministic. Await document.exitImmersive() at the end of each test that 
entered immersive mode,
so cleanup doesn't tear down an active immersive element asynchronously and 
race the next test.
Attach promise_rejects_dom's rejection handler synchronously right after
removing the element, instead of after an intervening await, to avoid an
unhandled promise rejection.

* 
LayoutTests/model-element/immersive/model-element-immersive-state-consistency.html:
* LayoutTests/model-element/immersive/model-element-immersive-basic.html:
* LayoutTests/model-element/immersive/model-element-immersive-bfcache.html:

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



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

Reply via email to