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

Issue 1932173002: RTCCertificate equals method for testing. (Closed)

Created:
4 years, 7 months ago by hbos_chromium
Modified:
4 years, 7 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, feature-media-reviews_chromium.org, haraken, jam, kinuko+watch, mcasas+watch+mediastream_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RTCCertificate equals method for testing. Adds JavaScript layer RTCCertificate.equals(RTCCertificate) that is only exposed to tests (behind RuntimeEnabledFeature RTCCertificateTesting). Blink interface and content implementation updated, the actual comparison operation is defined in the WebRTC repo between rtc::RTCCertificate objects. The test function is not used, but will be used in a follow-up CL that enables saving and loading RTCCertificate objects in IndexedDB. The comparison will be used to make sure a clone is equal to the original certificate. BUG=chromium:581354 Committed: https://crrev.com/8df58e17b49bc21bc4fe681e0f213f092b6de754 Cr-Commit-Position: refs/heads/master@{#391476}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Removed "this->" and rebase with master #

Patch Set 3 : Moved equals test function to internals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -6 lines) Patch
M content/renderer/media/rtc_certificate.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/rtc_certificate.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCCertificate.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/mediastream/testing/InternalsRTCCertificate.h View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/mediastream/testing/InternalsRTCCertificate.cpp View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/mediastream/testing/InternalsRTCCertificate.idl View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebRTCCertificate.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
hbos_chromium
Please take a look, tommi and jochen
4 years, 7 months ago (2016-04-29 10:34:18 UTC) #3
hbos_chromium
On 2016/04/29 10:34:18, hbos_chromium wrote: > Please take a look, tommi and jochen Simple CL ...
4 years, 7 months ago (2016-04-29 10:36:36 UTC) #4
tommi (sloooow) - chröme
https://codereview.chromium.org/1932173002/diff/20001/content/renderer/media/rtc_certificate.cc File content/renderer/media/rtc_certificate.cc (right): https://codereview.chromium.org/1932173002/diff/20001/content/renderer/media/rtc_certificate.cc#newcode36 content/renderer/media/rtc_certificate.cc:36: return *this->certificate_ == remove "this->" https://codereview.chromium.org/1932173002/diff/20001/content/renderer/media/rtc_certificate.h File content/renderer/media/rtc_certificate.h (right): ...
4 years, 7 months ago (2016-04-29 12:50:51 UTC) #5
hbos_chromium
PTAL tommi https://codereview.chromium.org/1932173002/diff/20001/content/renderer/media/rtc_certificate.cc File content/renderer/media/rtc_certificate.cc (right): https://codereview.chromium.org/1932173002/diff/20001/content/renderer/media/rtc_certificate.cc#newcode36 content/renderer/media/rtc_certificate.cc:36: return *this->certificate_ == On 2016/04/29 12:50:51, tommi-chrömium ...
4 years, 7 months ago (2016-04-29 13:05:20 UTC) #6
tommi (sloooow) - chröme
lgtm
4 years, 7 months ago (2016-05-01 07:44:35 UTC) #7
hbos_chromium
PTAL jochen :)
4 years, 7 months ago (2016-05-02 07:55:13 UTC) #8
jochen (gone - plz use gerrit)
On 2016/05/02 at 07:55:13, hbos wrote: > PTAL jochen :) We usually expose such methods ...
4 years, 7 months ago (2016-05-02 16:11:48 UTC) #9
hbos_chromium
PTAL jochen. Thanks, did not know about internals. I moved RTCCertificate.equals to window.internals.rtcCertificateEquals. WebRTCCertificate still ...
4 years, 7 months ago (2016-05-03 12:50:25 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932173002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932173002/60001
4 years, 7 months ago (2016-05-03 12:52:21 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-03 15:36:15 UTC) #14
jochen (gone - plz use gerrit)
lgtm
4 years, 7 months ago (2016-05-04 10:44:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932173002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932173002/60001
4 years, 7 months ago (2016-05-04 10:46:13 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 7 months ago (2016-05-04 10:49:43 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 10:50:53 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8df58e17b49bc21bc4fe681e0f213f092b6de754
Cr-Commit-Position: refs/heads/master@{#391476}

Powered by Google App Engine
This is Rietveld 408576698