DescriptionReject the permissionState promise with NotSupported Exception if userVisibleOnly is false (2/3)
This change starts using the new onError flow and checks if user visible is
supported. It does that by introducing a new method to the PushMessagingService that can be overriden by other vendors if they need to.
1) https://codereview.chromium.org/1130233003/
2) This CL
3) Cleanup CL where the empty onError method is removed and two new Layout tests
are added so the exception is actually tested
BUG=479246
Committed: https://crrev.com/c03ef37c3c9bd8f8d099c42f5b74963d66db53cc
Cr-Commit-Position: refs/heads/master@{#329655}
Patch Set 1 : #
Total comments: 8
Patch Set 2 : #Patch Set 3 : Fix failing test #
Total comments: 1
Messages
Total messages: 31 (10 generated)
|