Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1f96ee93159ffd68d95a4e5a564589694d59a738
https://github.com/WebKit/WebKit/commit/1f96ee93159ffd68d95a4e5a564589694d59a738
Author: Cameron McCormack <[email protected]>
Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths:
M LayoutTests/fast/canvas/canvas-drawImage-detached-leak.html
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac-wk2/TestExpectations
M LayoutTests/platform/win/TestExpectations
Log Message:
-----------
Deflake fast/canvas/canvas-drawImage-detached-leak.html
https://bugs.webkit.org/show_bug.cgi?id=230413
rdar://83247535
Reviewed by Said Abou-Hallawa.
internals.remoteImagesCountForTesting() reports the number of live
NativeImages of the whole page, and WebKitTestRunner reuses one web view
across the tests of a worker, so the count also includes images which
tests that ran earlier left alive. Most of those are only kept alive by
uncollected garbage, but plenty of them survive a garbage collection and
a MemoryCache purge as well, so this test saw a count of zero only when
it happened to run early enough in its worker.
Give the test a web view of its own with runSingly, so that it starts
with an empty RemoteRenderingBackendProxy image cache.
* LayoutTests/fast/canvas/canvas-drawImage-detached-leak.html:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* LayoutTests/platform/win/TestExpectations:
Canonical link: https://commits.webkit.org/321513@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications