Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3999)

Unified Diff: Source/modules/mediastream/RTCPeerConnection.idl

Issue 1311853005: RTCCertificate and RTCPeerConnection.generateCertificate added to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merge with master Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/mediastream/RTCPeerConnection.idl
diff --git a/Source/modules/mediastream/RTCPeerConnection.idl b/Source/modules/mediastream/RTCPeerConnection.idl
index fa5494606e720f8f19b2043bc0492e96f623dd77..48b4d65b76fc82bad89a40e19651c81d2aa9acc1 100644
--- a/Source/modules/mediastream/RTCPeerConnection.idl
+++ b/Source/modules/mediastream/RTCPeerConnection.idl
@@ -48,8 +48,12 @@
readonly attribute DOMString signalingState;
+ // FIXME: Latest WebRTC specifications renames this to setConfiguration
[RaisesException] void updateIce(optional Dictionary configuration, optional Dictionary mediaConstraints);
+ // TODO(hbos): Use AlgorithmIdentifier and WebCryptoAPI normalization process after crbug.com/534416 is fixed.
+ [RuntimeEnabled=RTCCertificate, RaisesException, CallWith=ScriptState] static Promise<RTCCertificate> generateCertificate(Dictionary keygenAlgorithm);
+
// DEPRECATED
[RaisesException] void addIceCandidate(RTCIceCandidate candidate);

Powered by Google App Engine
This is Rietveld 408576698