Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e6308a9db7e02636d48d2c7febcdede1441eeb0d
      
https://github.com/WebKit/WebKit/commit/e6308a9db7e02636d48d2c7febcdede1441eeb0d
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebViewEditActions.mm

  Log Message:
  -----------
  WKWebViewEditActions.CopyMenuItemDisabledInCopyDisallowedPDF test does not 
load any PDF content
https://bugs.webkit.org/show_bug.cgi?id=323801
rdar://187047306

Reviewed by Aditya Keerthi and Wenson Hsieh.

This is a follow-up to 320534@main, where we introduced the test. Thes
test initialized a NSURLRequest pointing to the copying-disabled.pdf
resource, but it did not actually _load_ this request, and so the test
was being performed on a blank web view and was passing for the wrong
reasons.

To fix this, we add the missing `-synchronouslyLoadRequest:` call.

* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebViewEditActions.mm:
(TestWebKitAPI::TEST(WKWebViewEditActions, 
CopyMenuItemDisabledInCopyDisallowedPDF)):

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



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

Reply via email to