Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 79c4ba33192d1bc67cc3c5e4d04f86e3c9792579
      
https://github.com/WebKit/WebKit/commit/79c4ba33192d1bc67cc3c5e4d04f86e3c9792579
  Author: Chris Dumez <[email protected]>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M Source/WebCore/platform/cocoa/LowPowerModeNotifier.mm

  Log Message:
  -----------
  REGRESSION(285883@main): 
TestWebKitAPI.CopyHTML.SanitizationPreservesCharacterSet triggers assertions
https://bugs.webkit.org/show_bug.cgi?id=282991
rdar://139727732

Reviewed by Sihui Liu.

The test is using WK1 and a WebThread on iOS. Our assertions were
using `isMainRunLoop()` instead of `isMainThread()`, which is not
correct in WebCore/ because of the WebThread. Fix those assertions
accordingly.

* Source/WebCore/platform/cocoa/LowPowerModeNotifier.mm:
(-[WebLowPowerModeObserver detach]):
(WebCore::LowPowerModeNotifier::LowPowerModeNotifier):
(WebCore::LowPowerModeNotifier::~LowPowerModeNotifier):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to