[w3c/push-api] Skip non-map actions in declarative push messages (PR #437)

Check that each `actions` entry is a map before reading its keys. A payload with `null` followed by a valid action can then skip `null` and keep the valid action.


<!--
    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.w3.org/JinDX/push-api/pull/437.html" title="Last updated on Nov 12, 2026, 10:44 AM UTC (e6878b1)">Preview</a> | <a href="https://pr-preview.w3.org/w3c/push-api/437/59bcb25...JinDX:e6878b1.html" title="Last updated on Nov 12, 2026, 10:44 AM UTC (e6878b1)">Diff</a>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Skip non-map actions in declarative push messages

-- File Changes --

    M index.html (5)

-- Patch Links --

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

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

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

Received on Thursday, 12 November 2026 10:45:24 UTC