[WebPush] Fix silent push exception for Android Messages for Web
The ShouldSkipUserVisibleOnlyRequirements method compares messages app url against the origin. This breaks the whitelisting since the app is now hosted at non-root path. Fixed this by comparing the origin of the app url. Bug: 936285 Change-Id: I5f71017148ec34cfbb45ae0c74aeffff96b88614 Reviewed-on: https://chromium-review.googlesource.com/c/1490755Reviewed-by:Peter Beverloo <peter@chromium.org> Reviewed-by:
Jeremy Klein <jlklein@chromium.org> Commit-Queue: Azeem Arshad <azeemarshad@chromium.org> Cr-Commit-Position: refs/heads/master@{#636108}
Showing
Please register or sign in to comment