Bug 243501 - Refactor Notification::permission to follow the same code path as Permissions::query
Summary: Refactor Notification::permission to follow the same code path as Permissions...
Status: RESOLVED DUPLICATE of bug 243502
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-03 10:19 PDT by rupin
Modified: 2022-08-05 15:16 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rupin 2022-08-03 10:19:04 PDT
There are two functions for obtaining the permission state of the Notifications API. We need to provide support for both to ensure compatibility with web standards. This patch ensures that they follow the same code path since having two different paths is unnecessary and hurts maintainability.
Comment 1 Sihui Liu 2022-08-05 15:16:15 PDT

*** This bug has been marked as a duplicate of bug 243502 ***