Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2b04e877be40e7f268c62eb025a6253cbbb9e6d3
      
https://github.com/WebKit/WebKit/commit/2b04e877be40e7f268c62eb025a6253cbbb9e6d3
  Author: Brady Eidson <[email protected]>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

  Changed paths:
    M Tools/DumpRenderTree/mac/DumpRenderTree.mm
    M Tools/DumpRenderTree/mac/TestRunnerMac.mm

  Log Message:
  -----------
  REGRESSION(300848@main): DumpRenderTree crashing during warmup
rdar://162141245
https://bugs.webkit.org/show_bug.cgi?id=300339

Reviewed by Basuke Suzuki.

WebBackForwardLists can be empty and have no `currentItem`
In that case, the test was basically doing an `addItem:nil` which has never 
worked.
If there is no current item, nothing else needs to be done to clear the list.

* Tools/DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::clearBackForwardList):
(resetWebViewToConsistentState):

Canonical link: https://commits.webkit.org/301224@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