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

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

Issue 1932173002: RTCCertificate equals method for testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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..39288af97a23826bd8c048c6806cf3b9ab8264cc 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl
+++ b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl
@@ -33,4 +33,8 @@
] 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