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

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: Addressed guidou's comments 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..aa5fde1dc3b4895e2aea46ee58c212128359d575 100644
--- a/Source/modules/mediastream/RTCPeerConnection.idl
+++ b/Source/modules/mediastream/RTCPeerConnection.idl
@@ -48,8 +48,11 @@
readonly attribute DOMString signalingState;
+ // FIXME: Latest WebRTC specifications renames this to setConfiguration
[RaisesException] void updateIce(optional Dictionary configuration, optional Dictionary mediaConstraints);
+ [RuntimeEnabled=RTCCertificate, RaisesException, CallWith=ScriptState] static Promise<RTCCertificate> generateCertificate(Dictionary keygenAlgorithm);
jochen (gone - plz use gerrit) 2015/09/15 08:04:19 this should be AlgorithmIdentifier, not Dictionary
hbos_chromium 2015/09/21 16:12:22 You're right. It should be a WebCryptoAPI Algorith
+
// DEPRECATED
[RaisesException] void addIceCandidate(RTCIceCandidate candidate);

Powered by Google App Engine
This is Rietveld 408576698