[webkit-changes] [WebKit/WebKit] f87ff4: TestWebKitAPI.FontManagerTests.ChangeTypingAttribu...

Ryosuke Niwa noreply at github.com
Wed Mar 8 10:51:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f87ff411fbe1f1a9b6f478151f2cea2d2fbb5c7b
      https://github.com/WebKit/WebKit/commit/f87ff411fbe1f1a9b6f478151f2cea2d2fbb5c7b
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm

  Log Message:
  -----------
  TestWebKitAPI.FontManagerTests.ChangeTypingAttributesWithInspectorBar fails when enabling GPU process and UI side compositing
https://bugs.webkit.org/show_bug.cgi?id=253541
<rdar://104037176>

Reviewed by Wenson Hsieh.

The test was failing because we were trying to update font name whilst the editor state hasn't been updated yet.
Fixed the test by waiting for the presentation update at the beginning of the test.

* Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm:
(TestWebKitAPI::TEST):

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




More information about the webkit-changes mailing list