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

Issue 1284413004: Keep track of per-origin security details in the Security panel. (Closed)

Created:
5 years, 4 months ago by lgarron
Modified:
5 years, 4 months ago
Reviewers:
dgozman, pfeldman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Keep track of per-origin security details in the Security panel. BUG=502118, 503170 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200868

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Refactor the ResponseReceivedSecurityDetails dispatch method and handle it directly in the Security panel. #

Total comments: 8

Patch Set 3 : Incorporate dgozman@'s suggestions and use MainFrameNavigated instead of LoadEventFired. #

Total comments: 10

Patch Set 4 : Change http security state to neutral. #

Patch Set 5 : Fix nits and align with WebInspector.TargetManager.prototype to listen for navigations. #

Total comments: 2

Patch Set 6 : Add type annotation for the Map. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -2 lines) Patch
M Source/devtools/front_end/sdk/NetworkManager.js View 1 2 3 4 2 chunks +37 lines, -1 line 0 comments Download
M Source/devtools/front_end/security/SecurityPanel.js View 1 2 3 4 5 4 chunks +53 lines, -1 line 0 comments Download

Messages

Total messages: 32 (14 generated)
lgarron
dgozman@: I'm working on sending updates from the Network domain to the Security panel. This ...
5 years, 4 months ago (2015-08-18 02:45:13 UTC) #3
lgarron
https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/security/SecurityModel.js File Source/devtools/front_end/security/SecurityModel.js (right): https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/security/SecurityModel.js#newcode21 Source/devtools/front_end/security/SecurityModel.js:21: this.origins = { My plan is for SecurityModel as ...
5 years, 4 months ago (2015-08-18 02:47:22 UTC) #4
pfeldman
https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js File Source/devtools/front_end/sdk/NetworkManager.js (right): https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js#newcode360 Source/devtools/front_end/sdk/NetworkManager.js:360: this._manager._networkAgent.getCertificateDetails(response.securityDetails.certificateId, (function(error, certificateDetails) { Please name the function and ...
5 years, 4 months ago (2015-08-18 18:35:08 UTC) #6
dgozman
https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js File Source/devtools/front_end/sdk/NetworkManager.js (right): https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js#newcode356 Source/devtools/front_end/sdk/NetworkManager.js:356: // TODO(lgarron): This is ridiculously hacky, and should never ...
5 years, 4 months ago (2015-08-18 18:41:49 UTC) #7
lgarron
(Not addressing the nits individually, but thanks for those, too.) https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js File Source/devtools/front_end/sdk/NetworkManager.js (right): https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js#newcode356 ...
5 years, 4 months ago (2015-08-18 19:37:06 UTC) #8
lgarron
https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js File Source/devtools/front_end/sdk/NetworkManager.js (right): https://codereview.chromium.org/1284413004/diff/20001/Source/devtools/front_end/sdk/NetworkManager.js#newcode360 Source/devtools/front_end/sdk/NetworkManager.js:360: this._manager._networkAgent.getCertificateDetails(response.securityDetails.certificateId, (function(error, certificateDetails) { On 2015/08/18 at 19:37:06, lgarron ...
5 years, 4 months ago (2015-08-18 21:40:58 UTC) #9
lgarron
dgozman@, pfeldman@: I've reworked the CL to send events directly to the Security panel. Would ...
5 years, 4 months ago (2015-08-19 01:01:05 UTC) #12
dgozman
Can we have a little bit of UI in this patch? Otherwise it's hard to ...
5 years, 4 months ago (2015-08-19 01:51:35 UTC) #13
lgarron
If you just want to see mocks to know where this is going: - The ...
5 years, 4 months ago (2015-08-19 02:24:24 UTC) #15
dgozman
lgtm https://codereview.chromium.org/1284413004/diff/160001/Source/devtools/front_end/sdk/NetworkManager.js File Source/devtools/front_end/sdk/NetworkManager.js (right): https://codereview.chromium.org/1284413004/diff/160001/Source/devtools/front_end/sdk/NetworkManager.js#newcode376 Source/devtools/front_end/sdk/NetworkManager.js:376: console.error("Unable to get certificate details from the browser ...
5 years, 4 months ago (2015-08-19 20:22:30 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1284413004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1284413004/220001
5 years, 4 months ago (2015-08-19 22:39:48 UTC) #22
lgarron
https://codereview.chromium.org/1284413004/diff/160001/Source/devtools/front_end/sdk/NetworkManager.js File Source/devtools/front_end/sdk/NetworkManager.js (right): https://codereview.chromium.org/1284413004/diff/160001/Source/devtools/front_end/sdk/NetworkManager.js#newcode376 Source/devtools/front_end/sdk/NetworkManager.js:376: console.error("Unable to get certificate details from the browser (for ...
5 years, 4 months ago (2015-08-19 22:51:33 UTC) #23
dgozman
https://codereview.chromium.org/1284413004/diff/220001/Source/devtools/front_end/security/SecurityPanel.js File Source/devtools/front_end/security/SecurityPanel.js (right): https://codereview.chromium.org/1284413004/diff/220001/Source/devtools/front_end/security/SecurityPanel.js#newcode27 Source/devtools/front_end/security/SecurityPanel.js:27: /** @type {!Map<string, !Object>} */ You can even create ...
5 years, 4 months ago (2015-08-19 22:51:49 UTC) #24
lgarron
https://codereview.chromium.org/1284413004/diff/220001/Source/devtools/front_end/security/SecurityPanel.js File Source/devtools/front_end/security/SecurityPanel.js (right): https://codereview.chromium.org/1284413004/diff/220001/Source/devtools/front_end/security/SecurityPanel.js#newcode27 Source/devtools/front_end/security/SecurityPanel.js:27: /** @type {!Map<string, !Object>} */ On 2015/08/19 at 22:51:49, ...
5 years, 4 months ago (2015-08-19 22:56:26 UTC) #25
dgozman
On 2015/08/19 22:56:26, lgarron wrote: > https://codereview.chromium.org/1284413004/diff/220001/Source/devtools/front_end/security/SecurityPanel.js > File Source/devtools/front_end/security/SecurityPanel.js (right): > > https://codereview.chromium.org/1284413004/diff/220001/Source/devtools/front_end/security/SecurityPanel.js#newcode27 > ...
5 years, 4 months ago (2015-08-19 23:03:00 UTC) #26
lgarron
Ah, it seems I missed that (it's only one line under "arrays and objects" at ...
5 years, 4 months ago (2015-08-19 23:05:57 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1284413004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1284413004/240001
5 years, 4 months ago (2015-08-20 00:00:55 UTC) #31
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 01:09:24 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:240001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200868

Powered by Google App Engine
This is Rietveld 408576698