Re: [w3c/push-api] Correct PushMessageData (PR #382)

@saschanaz commented on this pull request.



> @@ -982,31 +982,30 @@ <h2>
         };
       </pre>
       <p>
-        <a>PushMessageData</a> objects have an associated [=byte sequence=] set on creation, which
-        is `null` if there was no data in the <a>push message</a>.
+        <a>PushMessageData</a> objects have an associated <dfn data-dfn-for=PushMessageData>bytes</dfn> (a

Is `data-dfn-for` needed when `<section>` already have it above?

>        </p>
       <p>
-        The <dfn>blob()</dfn> method, when invoked, MUST return a {{Blob}} whose contents are
-        |bytes| and |type| is not provided.
+        The <dfn>blob()</dfn> method steps are to return a new {{Blob}} object whose contents are
+        <a>this</a>'s <a data-dfn-for=PushMessageData>bytes</a>.

```suggestion
        [=this=]'s [=PushMessageData/bytes=].
```

I think this works... same for others.

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

Message ID: <w3c/push-api/pull/382/review/2166664786@github.com>

Received on Tuesday, 9 July 2024 15:28:57 UTC