Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07f15d65f45445b3710ed3d67e7d2a8e5c52efe5
      
https://github.com/WebKit/WebKit/commit/07f15d65f45445b3710ed3d67e7d2a8e5c52efe5
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M Source/WebCore/loader/TextResourceDecoder.cpp

  Log Message:
  -----------
  TextResourceDecoder's find() skips the last candidate
https://bugs.webkit.org/show_bug.cgi?id=316836
rdar://179277332

Reviewed by Alex Christensen.

The loop compared i against sizeDifference with `<` instead of `<=`, so it 
never reached the final
position WTF already provides the identical function, use that instead.

* Source/WebCore/loader/TextResourceDecoder.cpp:
(WebCore::find):

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



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

Reply via email to