Commit Graph
4 Commits
Author SHA1 Message Date
Tsuyoshi Horo 06db447ad5 Highlight the error related field in DevTool's SignedExchangeInfoView
Screenshots: http://crbug.com/830505#c20

Bug: 830505
Change-Id: I91d08b747bacf6781b8088e800605b51a73e34f0
Reviewed-on: https://chromium-review.googlesource.com/1074910
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#563178}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b40c7c3bf6c79421eef544a54e180ea53655da00
2018-05-31 07:32:45 +00:00
Tsuyoshi Horo 03fbafe6e8 Shows the signature and CertSHA256 of signed exchange in DevTools
The signature header was removed from the response headers in the spec.
https://github.com/WICG/webpackage/commit/f4ca17d1377bed966fdba85c03adbd798cfb5a96
(Chromium implementation is not updated yet.)
So we should show the all "signature" information.

Bug: 830505
Change-Id: I1e922806e2febedb66c3f4e1614d5277a6012e3d
Reviewed-on: https://chromium-review.googlesource.com/1069948
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#561761}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 093fa71d6166125445c508f1782d32dd5719b3ef
2018-05-25 03:59:58 +00:00
Tsuyoshi Horo 02266c3248 Brush up DevTools SignedExchange support
This incorporats with dgozman's comments in crrev.com/c/1004890
- Change "from SignedExchange" to "from signed-exchange" in NetworkRequestNode.
- Show the signed exchagne url as the initiator of certificate request.
- Show "from signed-exchange" in the headers tab of the inner request.
- Add "View request" link in the preview tab of signed exchange to show the inner request.
- Add "Learn more" link in the preview tab of signed exchange.

Bug: 830505
Change-Id: Ica7ae52e563efb283c600c812be196951a12a336
Reviewed-on: https://chromium-review.googlesource.com/1065558
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#560287}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4ac04d63b06db0e81a986691346f67ba8ad7f865
2018-05-21 17:01:18 +00:00
Tsuyoshi Horo 625e92a4d7 Show SignedExchange related information in DevTool's Preview panel
SignedExchangeDevToolsProxy sends the SignedExchangeHeader and the certificate
information and the error messages to DevTools.
When the user clicks a signed exchange response in Network panel, these
information will be displayed in the Preview panel.

And the network grid view will show “from SignedExchange” in the size column of
the content of the signed exchange like “from disk cache”.

See the doc for more details: https://bit.ly/2HXVbCU

This CL depends on https://crrev.com/c/1029755

Bug: 830505
Change-Id: Ice3743f2e1675b6d604eeaba731ebd8494c2b5a1
Reviewed-on: https://chromium-review.googlesource.com/1004890
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#559363}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 705b2aa35e1523b1a00b6c8aa73b3a5f0c8e50b1
2018-05-17 00:36:11 +00:00