Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e819c4ec9e878eacac535573df5a24e18e821236
      
https://github.com/WebKit/WebKit/commit/e819c4ec9e878eacac535573df5a24e18e821236
  Author: Timothy Hatcher <timo...@apple.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPITabs.mm

  Log Message:
  -----------
  All extensions are being granted the tabs permission on user gesture.
https://webkit.org/b/267952
rdar://problem/121469546

Reviewed by Brian Weinstein.

* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::permissionState): Add missing activeTab 
permission check.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPITabs.mm:
(TestWebKitAPI::TEST): Added new test.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to