[webkit-changes] [WebKit/WebKit] a10ee6: Add API test coverage for 283722 at main

Aditya Keerthi noreply at github.com
Tue Oct 22 22:59:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a10ee6a9b1ee5949ced6cfdab1a393243e65a9b3
      https://github.com/WebKit/WebKit/commit/a10ee6a9b1ee5949ced6cfdab1a393243e65a9b3
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-10-22 (Tue, 22 Oct 2024)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WritingTools.mm

  Log Message:
  -----------
  Add API test coverage for 283722 at main
https://bugs.webkit.org/show_bug.cgi?id=281935
rdar://138440875

Reviewed by Abrar Rahman Protyasha and Richard Robinson.

283722 at main landed without any test coverage. Add an API test to help avoid
future regressions.

Verified that the test passes on main, and fails (times out) when reverting
283722 at main and 283725 at main (which also fixed the same issue in a different way).

* Tools/TestWebKitAPI/Tests/WebKitCocoa/WritingTools.mm:
(TEST(WritingTools, CompositionWithRestart)):

Web content crashes were encountered when performing two successive rewrites.

Add a test that makes Writing Tools API calls to match the system behavior when
performing two successive rewrites. Allow time for the animations to run to
completion.

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