Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert generateCertificate argument to DOMHighResTimeStamp #2700

Merged
merged 3 commits into from
Dec 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -7049,8 +7049,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 @@ -7235,21 +7235,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