DescriptionSeparate push event data from the rest of the W3C Push API flag.
Supporting payloads for incoming push messages is blocked on resolving
a number of security concerns, key in which is enforcing encryption as
part of the W3C Push API. Not exposing the "data" attribute and the
PushMessageData object for PushEvents is the best option for now, which
allows developers to feature detect support for payloads.
Availability of the payloads will be toggled by the embedder.
This is part of a three-sided patch:
[1] This patch.
[2] https://codereview.chromium.org/874613002
[3] https://codereview.chromium.org/869303002
BUG=449184
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188932
Patch Set 1 #Patch Set 2 : expose the ability to toggle the flag #
Messages
Total messages: 7 (2 generated)
|