Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PushManager.supportedContentEncodings updates #36962

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hamishwillee
Copy link
Collaborator

FF134 supports PushManager/supportedContentEncodings() in https://bugzilla.mozilla.org/show_bug.cgi?id=1497430

This attempts to provide a little more information on the usage of the API. I mean it is easy to see how this API is used, but not what you'd do with the returned information. I'm querying in https://bugzilla.mozilla.org/show_bug.cgi?id=1497430#c12

Related docs work can be tracked in #36922

@github-actions github-actions bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Nov 25, 2024
can be used to encrypt the payload of a push message.
The **`supportedContentEncodings`** read-only static property of the {{domxref("PushManager")}} interface returns an array of supported content codings that can be used to encrypt the payload of a push message.

<!-- The content coding is indicated using the {{httpheader("Content-Encoding")}} HTTP header field when requesting the sending of a push message from the push service. -->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is from the spec. But I don't understand what actor does this, when, and how. So asking.

Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant