Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5130287b20850befa7eab7d9e7da3dcbf8071b1b
      
https://github.com/WebKit/WebKit/commit/5130287b20850befa7eab7d9e7da3dcbf8071b1b
  Author: Rupin Mittal <[email protected]>
  Date:   2025-06-14 (Sat, 14 Jun 2025)

  Changed paths:
    M Source/WebCore/Modules/permissions/Permissions.cpp

  Log Message:
  -----------
  StabilityTracer - Permissions::query - ensure permission state null check 
comes first in worker case
https://bugs.webkit.org/show_bug.cgi?id=294478
rdar://153191930

Reviewed by Chris Dumez.

The logic in the worker case should follow the same order
as in the document case.

1. Check if a valid permission state was returned
   (if not, it means the Permissions API doesn't support
   getting the permission for the requested API).
2. Special handling for Geolocation if needed.
3. Resolve the promise with the permission state.

* Source/WebCore/Modules/permissions/Permissions.cpp:
(WebCore::Permissions::query):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to