[w3c/push-api] Define and use the p256dh/auth internal slots (PR #414)

Closes #396.

The current spec assumes random kinds of keys may exist, even though there has been only two kinds of keys, which is unlikely to change. Given that adds more prose for no use, this patch defines separate internal slots for each key.

Technically this change can be done without the dictionary change. I can split it if desired.

The following tasks have been completed:

 * [x] Modified Web platform tests (N/A)

Implementation commitment:
 
 * [ ] Chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=) - [currently does not use dictionaries at all but returns an `object`](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/push_messaging/push_subscription.idl;l=24;drc=047c7dc4ee1ce908d7fea38ca063fa2f80f92c77)
 * [x] Gecko (since 2015)
 * [ ] WebKit (https://bugs.webkit.org/show_bug.cgi?id=)


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/push-api/pull/414.html" title="Last updated on Nov 24, 2025, 4:23 PM UTC (fdf5147)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/push-api/414/ebd170f...fdf5147.html" title="Last updated on Nov 24, 2025, 4:23 PM UTC (fdf5147)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/push-api/pull/414

-- Commit Summary --

  * Define and use the p256dh/auth internal slots

-- File Changes --

    M index.html (89)

-- Patch Links --

https://github.com/w3c/push-api/pull/414.patch
https://github.com/w3c/push-api/pull/414.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/414
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/push-api/pull/414@github.com>

Received on Monday, 24 November 2025 16:24:08 UTC