New issue
Advanced search Search tips

Issue 755600 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

network service: HSTS headers aren't queryable via chrome://net-internals

Project Member Reported by est...@chromium.org, Aug 15 2017

Issue description

With the network service enabled, HSTS is either not working properly or isn't being reflected properly in chrome://net-internals.

Steps to reproduce:
1.) Visit hsts.badssl.com.
2.) Open chrome://net-internals#hsts and query for hsts.badssl.com. 

Expected: query returns 'dynamic_sts_domain: hsts.badssl.com'
Observed: query returns "not found"

I'm guessing this is part of  issue 715695  so feel free to dup it in there.
 

Comment 1 by mmenke@chromium.org, Aug 16 2017

It's both, actually.  Also, I don't think we're going to be hooking up net-internals to the network service at all.  We'll probably just be using net-export instead.

Comment 2 by mmenke@chromium.org, Aug 16 2017

(Well, they aren't stored on disk, at least.  We do have the default in-memory cache)

Comment 3 by laforge@google.com, Nov 7 2017

Components: -Internals>Network>Service Internals>Services>Network
Apologies, applied the wrong component in bulk.

Comment 4 by dxie@chromium.org, May 30 2018

Labels: Hotlist-KnownIssue
Cc: nhar...@chromium.org
Components: Internals>Network>Logging
Status: Available (was: Untriaged)
Looking at the code, I see net-internals gets the HSTS states from the main URLRequestContext. https://cs.chromium.org/chromium/src/chrome/browser/ui/webui/net_internals/net_internals_ui.cc?rcl=a8d5cbabf2a92a46daa5f0bfe30f4fe76fd20823&l=716

As mmenke@ mentioned in #2, the plan is to use chrome://net-export by default post-network servicification. We can investigate how to store the information in the logs generated through chrome://net-export, so I am marking this as Available.
Labels: -Hotlist-KnownIssue
I think I just rediscovered this issue in Version 71.0.3543.0 (Official Build) canary (64-bit).
It works in Version 69.0.3497.81 (Official Build) (64-bit).
Labels: Proj-Servicification-Stable Hotlist-KnownIssue
Owner: cmumford@chromium.org
Status: Assigned (was: Available)
(Chris has a CL out for this)
Summary: network service: HSTS headers aren't queryable via chrome://net-internals (was: network service: HSTS headers either aren't stored, or aren't queryable via chrome://net-internals)
To clarify, HSTS works correctly with network service. What doesn't work is chrome://net-internals reading/writing that data.
Status: Started (was: Assigned)
Review: https://crrev.com/c/1228235
Project Member

Comment 13 by bugdroid1@chromium.org, Oct 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311

commit f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311
Author: Chris Mumford <cmumford@google.com>
Date: Fri Oct 26 17:37:02 2018

Switch chrome://net-internals to the network service.

This change switches the implementation of the net-internals
page from direct calls to //net to the network service.

Bug:  876110 , 824974 , 755600 
Cq-Include-Trybots: luci.chromium.try:linux_mojo
Change-Id: Icf3b31d339084885761cb78c0bc929df92ee6781
Reviewed-on: https://chromium-review.googlesource.com/c/1228235
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603135}
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/chrome/browser/devtools/devtools_sanity_browsertest.cc
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/chrome/browser/password_manager/password_manager_test_base.cc
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/chrome/browser/ssl/ssl_browsertest.cc
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/components/password_manager/core/browser/http_credentials_cleaner_unittest.cc
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/services/network/expect_ct_reporter.h
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/services/network/network_context.cc
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/services/network/network_context.h
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/services/network/network_context_unittest.cc
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/services/network/public/mojom/network_context.mojom
[modify] https://crrev.com/f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311/services/network/test/test_network_context.h

Labels: Merge-Merged-71-3578
The following revision refers to this bug: 
https://chromium.googlesource.com/chromium/src.git/+/ce5a5595246180b8e9c99eaceadcf5518eaa41a6

Commit: ce5a5595246180b8e9c99eaceadcf5518eaa41a6
Author: cmumford@google.com
Commiter: cmumford@chromium.org
Date: 2018-11-04 14:53:39 +0000 UTC

Switch chrome://net-internals to the network service.

Merge to release branch.

This change switches the implementation of the net-internals
page from direct calls to //net to the network service.

TBRing mmenke@ for review of network service_context changes.

TBR=mmenke@chromium.org

(cherry picked from commit f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311)

Bug:  876110 , 824974 , 755600 
Cq-Include-Trybots: luci.chromium.try:linux_mojo
Change-Id: Icf3b31d339084885761cb78c0bc929df92ee6781
Reviewed-on: https://chromium-review.googlesource.com/c/1228235
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#603135}
Reviewed-on: https://chromium-review.googlesource.com/c/1316652
Reviewed-by: Chris Mumford <cmumford@chromium.org>
Cr-Commit-Position: refs/branch-heads/3578@{#488}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}
Project Member

Comment 15 by bugdroid1@chromium.org, Nov 4

Labels: merge-merged-3578
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ce5a5595246180b8e9c99eaceadcf5518eaa41a6

commit ce5a5595246180b8e9c99eaceadcf5518eaa41a6
Author: Chris Mumford <cmumford@google.com>
Date: Sun Nov 04 14:53:39 2018

Switch chrome://net-internals to the network service.

Merge to release branch.

This change switches the implementation of the net-internals
page from direct calls to //net to the network service.

TBRing mmenke@ for review of network service_context changes.

TBR=mmenke@chromium.org

(cherry picked from commit f24ce75bb57f0c1648a57f4cb5e7c5bf4db61311)

Bug:  876110 , 824974 , 755600 
Cq-Include-Trybots: luci.chromium.try:linux_mojo
Change-Id: Icf3b31d339084885761cb78c0bc929df92ee6781
Reviewed-on: https://chromium-review.googlesource.com/c/1228235
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#603135}
Reviewed-on: https://chromium-review.googlesource.com/c/1316652
Reviewed-by: Chris Mumford <cmumford@chromium.org>
Cr-Commit-Position: refs/branch-heads/3578@{#488}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/chrome/browser/devtools/devtools_sanity_browsertest.cc
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/chrome/browser/password_manager/password_manager_test_base.cc
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/chrome/browser/ssl/ssl_browsertest.cc
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/components/password_manager/core/browser/http_credentials_cleaner_unittest.cc
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/services/network/expect_ct_reporter.h
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/services/network/network_context.cc
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/services/network/network_context.h
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/services/network/network_context_unittest.cc
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/services/network/public/mojom/network_context.mojom
[modify] https://crrev.com/ce5a5595246180b8e9c99eaceadcf5518eaa41a6/services/network/test/test_network_context.h

Status: Fixed (was: Started)

Sign in to add a comment