[webkit-changes] [WebKit/WebKit] 1cb233: Ensure key is valid when accessing m_permissionsMa...

Sihui noreply at github.com
Tue Sep 20 00:22:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1cb2337287dc1898667e45123f89ef918ad98486
      https://github.com/WebKit/WebKit/commit/1cb2337287dc1898667e45123f89ef918ad98486
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M Source/WebKit/WebProcess/Notifications/WebNotificationManager.cpp

  Log Message:
  -----------
  Ensure key is valid when accessing m_permissionsMap in WebNotificationManager
https://bugs.webkit.org/show_bug.cgi?id=245408
<rdar://100155207>

Reviewed by Chris Dumez.

* Source/WebKit/WebProcess/Notifications/WebNotificationManager.cpp:
(WebKit::WebNotificationManager::didUpdateNotificationDecision):
(WebKit::WebNotificationManager::didRemoveNotificationDecisions):
(WebKit::WebNotificationManager::policyForOrigin const):

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




More information about the webkit-changes mailing list