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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl

Issue 1909923002: Making RTCCertificate cloneable (WIP). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Derp! Created 4 years, 7 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: third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl
index 424bbe7c6ac5e1858279ad2a9bfc754599b72356..8c7bea0353857c4434871299fee5caae4951fb27 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl
+++ b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl
@@ -33,4 +33,9 @@
] interface RTCCertificate {
// The expiration time in ms relative to epoch, 1970-01-01T00:00:00Z.
readonly attribute DOMTimeStamp expires;
+
+ // Checks if the two certificate objects represent the same certificate value,
+ // as should be the case for a clone and the original.
+ // [RuntimeEnabled=RTCCertificateTesting]
+ boolean equals(RTCCertificate other);
};

Powered by Google App Engine
This is Rietveld 408576698