Add code so that the Permissions::query function can return the true permission state of the Notifications API
Pull request: https://github.com/WebKit/WebKit/pull/2471
Committed 252706@main (0e4995e19c78): <https://commits.webkit.org/252706@main> Reviewed commits have been landed. Closing PR #2471 and removing active labels.
<rdar://problem/97399333>