Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6ab66278347f7271f63a749a62ebcf846fa9f7a3
      
https://github.com/WebKit/WebKit/commit/6ab66278347f7271f63a749a62ebcf846fa9f7a3
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-04-23 (Thu, 23 Apr 2026)

  Changed paths:
    M 
LayoutTests/http/tests/cache/willsendrequest-returns-null-for-memory-cache-load-expected.txt
    M 
LayoutTests/http/tests/cache/willsendrequest-returns-null-for-memory-cache-load.html
    M LayoutTests/platform/mac/TestExpectations

  Log Message:
  -----------
  [Site Isolation] 
http/tests/cache/willsendrequest-returns-null-for-memory-cache-load.html fails
https://bugs.webkit.org/show_bug.cgi?id=313111

Reviewed by Sihui Liu.

The test failure was caused by didFinishLoading for the subframe getting logged 
when site isolation
is enabled as testRunner.notifyDone does not synchronously end the test under 
site isolation.

Made the test output identical with or without site isolation by adding 0s 
delay before calling
testRunner.notifyDone so that didFinishLoading gets logged consistently.

Also made the test more reliable by clearing the memory cache at the beginning 
of the test and
rebaselined the test results with the latest macOS results and removed the 
flaky test expectation.

* 
LayoutTests/http/tests/cache/willsendrequest-returns-null-for-memory-cache-load-expected.txt:
* 
LayoutTests/http/tests/cache/willsendrequest-returns-null-for-memory-cache-load.html:
* LayoutTests/platform/mac/TestExpectations:

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



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

Reply via email to