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

Issue 2828563002: RTCCertificate.getFingerprints added (exposed to the web) (Closed)

Created:
3 years, 8 months ago by hbos_chromium
Modified:
3 years, 6 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, posciak+watch_chromium.org, chfremer+watch_chromium.org, phoglund+watch_chromium.org, feature-media-reviews_chromium.org, dglazkov+blink, darin-cc_chromium.org, mac-reviews_chromium.org, blink-reviews, blink-reviews-api_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 7

Patch Set 2 : Addressed comments and rebased with upstream #

Total comments: 16

Patch Set 3 : Rebase with upstream #

Patch Set 4 : Addressed comments, regex fingerprints, toLowerCase fingerprints #

Patch Set 5 : Remove cached fingerprints and updated expected.txt file #

Total comments: 1

Patch Set 6 : Rebase with upstream #

Patch Set 7 : Changed fingerprints to getFingerprints() as per pull request #

Total comments: 2

Patch Set 8 : Rebase, remove testing that array if frozen, update expected.txt #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -3 lines) Patch
M chrome/browser/media/webrtc/webrtc_browsertest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_browsertest_base.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_browsertest_base.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/webrtc/indexeddb.js View 1 2 3 4 5 6 1 chunk +26 lines, -2 lines 0 comments Download
M chrome/test/data/webrtc/peerconnection.js View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_certificate.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_certificate.cc View 1 2 3 4 5 6 2 chunks +20 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate.html View 1 2 3 4 5 6 7 2 chunks +19 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCCertificate.cpp View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCCertificate.idl View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/peerconnection/RTCDtlsFingerprint.idl View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebRTCCertificate.h View 1 2 3 4 5 6 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (36 generated)
hbos_chromium
Please take a look, foolip. I'll do an Intent to Ship before landing.
3 years, 8 months ago (2017-04-18 18:38:00 UTC) #4
hbos_chromium
PTAL guidou.
3 years, 8 months ago (2017-04-19 08:37:32 UTC) #8
Guido Urdaneta
https://codereview.chromium.org/2828563002/diff/1/content/renderer/media/rtc_certificate.cc File content/renderer/media/rtc_certificate.cc (right): https://codereview.chromium.org/2828563002/diff/1/content/renderer/media/rtc_certificate.cc#newcode44 content/renderer/media/rtc_certificate.cc:44: return blink::WebVector<blink::WebRTCDtlsFingerprint>(fingerprints); Is there a way to know the ...
3 years, 8 months ago (2017-04-19 12:20:42 UTC) #9
hbos_chromium
PTAL guidou https://codereview.chromium.org/2828563002/diff/1/content/renderer/media/rtc_certificate.cc File content/renderer/media/rtc_certificate.cc (right): https://codereview.chromium.org/2828563002/diff/1/content/renderer/media/rtc_certificate.cc#newcode44 content/renderer/media/rtc_certificate.cc:44: return blink::WebVector<blink::WebRTCDtlsFingerprint>(fingerprints); On 2017/04/19 12:20:42, Guido Urdaneta ...
3 years, 8 months ago (2017-04-20 09:07:10 UTC) #12
Guido Urdaneta
To me it looks good, but would like someone more knowledgeable to review the RTCCertificate::fingerprints ...
3 years, 8 months ago (2017-04-20 10:20:03 UTC) #14
haraken
https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h File third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h (right): https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h#newcode77 third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h:77: Vector<v8::Global<v8::Value>> fingerprints_; This strong persistent handle will leak many ...
3 years, 8 months ago (2017-04-20 13:21:54 UTC) #17
foolip
Some comments. As pedantic tests as possible in wpt would be great :) https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.cpp File ...
3 years, 8 months ago (2017-04-21 16:51:54 UTC) #18
haraken
https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h File third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h (right): https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h#newcode70 third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h:70: // |DISALLOW_NEW_EXCEPT_PLACEMENT_NEW|). |toV8| is used to convert the On ...
3 years, 8 months ago (2017-04-21 19:59:16 UTC) #19
hbos_chromium
https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h File third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h (right): https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h#newcode70 third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h:70: // |DISALLOW_NEW_EXCEPT_PLACEMENT_NEW|). |toV8| is used to convert the On ...
3 years, 8 months ago (2017-04-24 10:35:31 UTC) #20
hbos_chromium
https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h File third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h (right): https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h#newcode77 third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h:77: Vector<v8::Global<v8::Value>> fingerprints_; On 2017/04/24 10:35:31, hbos_chromium wrote: > On ...
3 years, 8 months ago (2017-04-24 10:41:09 UTC) #21
foolip
> > > > I've filed > > > > https://github.com/w3c/webrtc-pc/issues/1138 to clarify the spec, ...
3 years, 8 months ago (2017-04-24 10:46:40 UTC) #22
hbos_chromium
On 2017/04/24 10:46:40, foolip_UTC7 wrote: > > > > > I've filed > > > ...
3 years, 8 months ago (2017-04-24 10:48:46 UTC) #23
hbos_chromium
On 2017/04/24 10:48:46, hbos_chromium wrote: > On 2017/04/24 10:46:40, foolip_UTC7 wrote: > > > > ...
3 years, 8 months ago (2017-04-24 10:49:44 UTC) #24
foolip
On 2017/04/24 10:49:44, hbos_chromium wrote: > On 2017/04/24 10:48:46, hbos_chromium wrote: > > On 2017/04/24 ...
3 years, 8 months ago (2017-04-24 10:56:08 UTC) #25
haraken
On 2017/04/24 10:35:31, hbos_chromium wrote: > https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h > File third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h (right): > > https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h#newcode70 > ...
3 years, 8 months ago (2017-04-24 10:59:05 UTC) #26
hbos_chromium
PTAL, using HeapVector and added unittests. I made sure fingerprints are lowercase too as the ...
3 years, 8 months ago (2017-04-24 15:36:53 UTC) #32
hbos_chromium
https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.cpp File third_party/WebKit/Source/modules/peerconnection/RTCCertificate.cpp (right): https://codereview.chromium.org/2828563002/diff/20001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.cpp#newcode61 third_party/WebKit/Source/modules/peerconnection/RTCCertificate.cpp:61: fingerprint.setAlgorithm(web_fingerprint.Algorithm()); On 2017/04/21 16:51:53, foolip_UTC7 wrote: > Can anything ...
3 years, 8 months ago (2017-04-24 15:37:54 UTC) #33
hbos_chromium
https://codereview.chromium.org/2828563002/diff/100001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.idl File third_party/WebKit/Source/modules/peerconnection/RTCCertificate.idl (right): https://codereview.chromium.org/2828563002/diff/100001/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.idl#newcode35 third_party/WebKit/Source/modules/peerconnection/RTCCertificate.idl:35: readonly attribute FrozenArray<RTCDtlsFingerprint> fingerprints; Assuming https://github.com/w3c/webrtc-pc/pull/1145 is approved, I'll ...
3 years, 8 months ago (2017-04-25 12:49:31 UTC) #40
haraken
From the implementation perspective, LGTM. Let's wait for foolip's approval.
3 years, 7 months ago (2017-04-25 17:42:48 UTC) #41
foolip
On 2017/04/25 17:42:48, haraken wrote: > From the implementation perspective, LGTM. > > Let's wait ...
3 years, 7 months ago (2017-04-25 17:52:05 UTC) #42
hbos_chromium
PTAL guidou and foolip. The PR has three LGTMs to change "fingerprints" to "getFingerprints()", I ...
3 years, 7 months ago (2017-04-28 11:55:40 UTC) #47
foolip
third_party/WebKit/ implementation LGTM, but it would be very good to write the tests as part ...
3 years, 7 months ago (2017-05-03 15:04:29 UTC) #50
Guido Urdaneta
https://codereview.chromium.org/2828563002/diff/140001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt (right): https://codereview.chromium.org/2828563002/diff/140001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt#newcode12 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt:12: FAIL (function(){ fingerprints[0] = null; return fingerprints[0] != null; ...
3 years, 7 months ago (2017-05-03 15:54:15 UTC) #51
hbos_chromium
https://codereview.chromium.org/2828563002/diff/140001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt (right): https://codereview.chromium.org/2828563002/diff/140001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt#newcode12 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-generateCertificate-expected.txt:12: FAIL (function(){ fingerprints[0] = null; return fingerprints[0] != null; ...
3 years, 7 months ago (2017-05-05 13:05:20 UTC) #52
Guido Urdaneta
lgtm
3 years, 7 months ago (2017-05-05 13:09:55 UTC) #53
hbos_chromium
Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/h8qqS5sI-ig web-platform-tests: https://github.com/w3c/web-platform-tests/issues/5796
3 years, 7 months ago (2017-05-05 13:38:55 UTC) #55
foolip
On 2017/05/05 13:38:55, hbos_chromium wrote: > Intent to Implement: > https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/h8qqS5sI-ig > web-platform-tests: https://github.com/w3c/web-platform-tests/issues/5796 Can ...
3 years, 7 months ago (2017-05-05 19:54:27 UTC) #56
hbos_chromium
On 2017/05/05 19:54:27, foolip OOO until June 13 wrote: > On 2017/05/05 13:38:55, hbos_chromium wrote: ...
3 years, 6 months ago (2017-06-08 11:17:48 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2828563002/180001
3 years, 6 months ago (2017-06-08 11:25:54 UTC) #63
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 14:40:53 UTC) #66
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/149d40a4e451675bbed7a093e56d...

Powered by Google App Engine
This is Rietveld 408576698