[webkit-changes] [WebKit/WebKit] 64ce55: Add unit test for FontCascade::characterRangeCodeP...

Vitor Roriz noreply at github.com
Thu Jul 11 19:22:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 64ce55deb8240e7b2078379961046fd26e490754
      https://github.com/WebKit/WebKit/commit/64ce55deb8240e7b2078379961046fd26e490754
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2024-07-11 (Thu, 11 Jul 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/FontCascade.h
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    A Tools/TestWebKitAPI/Tests/WebCore/FontCascade.cpp

  Log Message:
  -----------
  Add unit test for FontCascade::characterRangeCodePath non surrogated ranges
https://bugs.webkit.org/show_bug.cgi?id=276494
rdar://131478343

Reviewed by Ryan Reno.

Adding unit tests for the non-surrogated ranges of FontCascade::characterRangeCodePath

This was inspired by the following Blink patch:
https://codereview.chromium.org/18949006/

* Source/WebCore/platform/graphics/FontCascade.h:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebCore/FontCascade.cpp: Added.
(TestWebKitAPI::testCodePath):
(TestWebKitAPI::testCodePathRange):
(TestWebKitAPI::TEST(FontCascadeTest, characterRangeCodePath_NonSurrogates)):

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



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


More information about the webkit-changes mailing list