Skip to content

Commit

Permalink
Merge pull request #2700 from w3c/hires-timestamp
Browse files Browse the repository at this point in the history
Convert generateCertificate argument to DOMHighResTimeStamp
  • Loading branch information
alvestrand authored Dec 2, 2021
2 parents 06c466e + 33bcad9 commit 70af77e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -7022,8 +7022,8 @@ <h2>
</li>
<li>
<p>
Let <var>expires</var> be a {{EpochTimeStamp}} value of
2592000000.
Let <var>expires</var> be a value of
2592000000 (30*24*60*60*1000)
</p>
<div class="note">
<p>
Expand Down Expand Up @@ -7208,21 +7208,22 @@ <h2>
{{RTCPeerConnection/generateCertificate}}.
</p>
<pre class="idl">dictionary RTCCertificateExpiration {
[EnforceRange] EpochTimeStamp expires;
[EnforceRange] unsigned long long expires;
};</pre>
<dl data-link-for="RTCCertificateExpiration" data-dfn-for=
"RTCCertificateExpiration" class="methods">
<dt data-tests=
"RTCPeerConnection-generateCertificate.html,RTCCertificate.html">
<dfn>expires</dfn>, of type {{EpochTimeStamp}}
<dfn>expires</dfn>, of type unsigned long long
</dt>
<dd>
<p>
An optional {{expires}} attribute MAY be added to the
definition of the algorithm that is passed to
{{RTCPeerConnection/generateCertificate}}. If this parameter is
present it indicates the maximum time that the
{{RTCCertificate}} is valid for relative to the current time.
present it indicates the maximum time in milliseconds that the
{{RTCCertificate}} is valid for, measured from the time the
certificate is created.
</p>
</dd>
</dl>
Expand Down

0 comments on commit 70af77e

Please sign in to comment.