-
johnme authored
Requests for notifications (and hence push messaging) permissions in incognito will be auto-denied after a random 1-2 second delay. This prevents websites from detecting incognito mode, by observing that notifications are available in incognito but push messaging is not (until https://crbug.com/401439 is implemented). Depends on: - https://codereview.chromium.org/1442083002 Known caveat: Prevents legitimate use of notifications in incognito :( BUG=479679,542081 Review URL: https://codereview.chromium.org/1575623002 Cr-Commit-Position: refs/heads/master@{#369644}
9ed9388c