Re: [w3c/push-api] Migrate the serializer to a toJSON method. (#267)

tobie commented on this pull request.



>          <a>user agent</a> MUST use a serialization method that does not contain input-dependent
         branchs (that is, one that is constant time). Note that a URL - as ASCII text - will not
         ordinarily require special treatment.
         </li>
-        <li>Add an entry to <var>map</var> whose key name is <code>expirationTime</code> and whose
-        value is the result of converting the <code>expirationTime</code> attribute to a serialized
-        value.
-        </li>
-        <li>Let <var>keys</var> be an empty map.
+        <li>Set the <code>expirationTime</code> property of <var>json</var> to the result of
+        converting the <a data-link-for="PushSubscription">expirationTime</a> attribute to a
+        serialized value.
         </li>

Heh! :)

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

Received on Thursday, 22 June 2017 16:21:44 UTC