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

Issue 2751043002: DevTools: expose linkPreload bit on the network request. (Closed)

Created:
3 years, 9 months ago by pfeldman
Modified:
3 years, 9 months ago
CC:
chromium-reviews, caseq+blink_chromium.org, tyoshino+watch_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, kinuko+watch, Nate Chapin, loading-reviews_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: expose linkPreload bit on the network request. BUG=701597

Patch Set 1 #

Total comments: 1

Patch Set 2 : review comments addressed #

Total comments: 1

Patch Set 3 : todo added as per request #

Total comments: 3

Messages

Total messages: 53 (13 generated)
pfeldman
3 years, 9 months ago (2017-03-15 02:30:31 UTC) #2
dgozman
https://codereview.chromium.org/2751043002/diff/1/third_party/WebKit/Source/core/inspector/browser_protocol.json File third_party/WebKit/Source/core/inspector/browser_protocol.json (right): https://codereview.chromium.org/2751043002/diff/1/third_party/WebKit/Source/core/inspector/browser_protocol.json#newcode1018 third_party/WebKit/Source/core/inspector/browser_protocol.json:1018: { "name": "isLinkPreload", "type": "boolean", "optional": true, "description": "Whether ...
3 years, 9 months ago (2017-03-15 02:40:00 UTC) #7
pfeldman
> So far we have only introduced non-experimental entities > when bumping protocol version. We've ...
3 years, 9 months ago (2017-03-15 02:47:51 UTC) #8
kouhei (in TOK)
+toyoshim, tyoshino, yhirano for FetchRequest, ResourceRequest expertise
3 years, 9 months ago (2017-03-15 03:12:19 UTC) #10
Takashi Toyoshima
If we count crbug.com/675883 in, probably it's better to move speculative preload flag together into ...
3 years, 9 months ago (2017-03-15 03:59:47 UTC) #11
pfeldman
I can move this second bit as is into ResourceRequest, so that you could follow ...
3 years, 9 months ago (2017-03-15 04:07:19 UTC) #12
pfeldman
PTAL
3 years, 9 months ago (2017-03-15 04:48:12 UTC) #15
Takashi Toyoshima
lgtm https://codereview.chromium.org/2751043002/diff/20001/third_party/WebKit/Source/platform/loader/fetch/FetchRequest.h File third_party/WebKit/Source/platform/loader/fetch/FetchRequest.h (right): https://codereview.chromium.org/2751043002/diff/20001/third_party/WebKit/Source/platform/loader/fetch/FetchRequest.h#newcode105 third_party/WebKit/Source/platform/loader/fetch/FetchRequest.h:105: void setLinkPreload(bool isLinkPreload) { optional: Can you leave ...
3 years, 9 months ago (2017-03-15 08:20:03 UTC) #20
kouhei (in TOK)
lgtm
3 years, 9 months ago (2017-03-15 08:55:09 UTC) #21
yhirano
+japhet@ I think the reason why FetchRequest has m_linkPreload and other members is that they ...
3 years, 9 months ago (2017-03-15 10:56:34 UTC) #23
pfeldman
Thanks for the review. @yhirano: should i wait for Nate to respond or is it ...
3 years, 9 months ago (2017-03-15 11:48:32 UTC) #24
pfeldman
s/find/fine/
3 years, 9 months ago (2017-03-15 11:51:57 UTC) #25
yhirano
On 2017/03/15 11:48:32, pfeldman_slow wrote: > Thanks for the review. @yhirano: should i wait for ...
3 years, 9 months ago (2017-03-15 11:57:05 UTC) #26
pfeldman
> I would like to hear Nate's opinion on this point before landing this CL. ...
3 years, 9 months ago (2017-03-15 12:21:34 UTC) #27
dgozman
protocol lgtm
3 years, 9 months ago (2017-03-15 17:16:45 UTC) #28
Nate Chapin
https://codereview.chromium.org/2751043002/diff/40001/third_party/WebKit/Source/platform/network/ResourceRequest.h File third_party/WebKit/Source/platform/network/ResourceRequest.h (right): https://codereview.chromium.org/2751043002/diff/40001/third_party/WebKit/Source/platform/network/ResourceRequest.h#newcode321 third_party/WebKit/Source/platform/network/ResourceRequest.h:321: bool isLinkPreload() const { return m_linkPreload; } The standard ...
3 years, 9 months ago (2017-03-16 17:15:00 UTC) #29
pfeldman
> The standard I typically use for deciding whether something should go on > ResourceRequest ...
3 years, 9 months ago (2017-03-16 20:47:30 UTC) #30
pfeldman
(with the recent migration of ResourceRequest into fetch/, it is even less clear why something ...
3 years, 9 months ago (2017-03-16 20:48:35 UTC) #31
yhirano
On 2017/03/16 20:47:30, pfeldman_slow wrote: > > The standard I typically use for deciding whether ...
3 years, 9 months ago (2017-03-17 03:59:28 UTC) #32
pfeldman
> We are merging blink/platform and content/child, but the correspondence between > blink::ResourceRequest and content::ResourceRequest ...
3 years, 9 months ago (2017-03-17 04:05:59 UTC) #33
yhirano
On 2017/03/17 04:05:59, pfeldman_slow wrote: > > We are merging blink/platform and content/child, but the ...
3 years, 9 months ago (2017-03-17 04:17:17 UTC) #34
pfeldman
> My mental model is blink::ResourceRequest is a representation of > mojom::URLRequest. Onion-soup will not ...
3 years, 9 months ago (2017-03-17 04:35:52 UTC) #35
kouhei (in TOK)
On 2017/03/17 04:35:52, pfeldman_slow wrote: > > My mental model is blink::ResourceRequest is a representation ...
3 years, 9 months ago (2017-03-17 05:07:25 UTC) #36
pfeldman
> pfeldman: Can we achieve “expose linkPreload bit on the network request” on this > ...
3 years, 9 months ago (2017-03-17 05:45:25 UTC) #37
kouhei (in TOK)
On 2017/03/17 05:45:25, pfeldman_slow wrote: > > pfeldman: Can we achieve “expose linkPreload bit on ...
3 years, 9 months ago (2017-03-17 06:24:08 UTC) #38
yhirano
On 2017/03/17 06:24:08, kouhei wrote: > On 2017/03/17 05:45:25, pfeldman_slow wrote: > > > pfeldman: ...
3 years, 9 months ago (2017-03-17 06:30:18 UTC) #39
esprehn
I'd prefer we didn't add booleans to the callbacks, those aren't very good for long ...
3 years, 9 months ago (2017-03-17 06:45:52 UTC) #40
yhirano
On 2017/03/17 06:45:52, esprehn wrote: > I'd prefer we didn't add booleans to the callbacks, ...
3 years, 9 months ago (2017-03-17 07:05:11 UTC) #41
kouhei (in TOK)
On 2017/03/17 07:05:11, yhirano wrote: > On 2017/03/17 06:45:52, esprehn wrote: > > I'd prefer ...
3 years, 9 months ago (2017-03-17 07:29:00 UTC) #42
pfeldman
(I could not merge it into FetchInitiator since that was making us dupe that boolean ...
3 years, 9 months ago (2017-03-17 07:35:21 UTC) #43
pfeldman
s/Also not/Also note/ :)
3 years, 9 months ago (2017-03-17 07:36:30 UTC) #44
yhirano
Does https://codereview.chromium.org/2751023005/ work for you?
3 years, 9 months ago (2017-03-17 08:04:53 UTC) #45
pfeldman
Technically it solves my issue, but it is backwards to both versions of the plan. ...
3 years, 9 months ago (2017-03-17 08:24:15 UTC) #46
yhirano
On 2017/03/17 08:24:15, pfeldman_slow wrote: > Technically it solves my issue, but it is backwards ...
3 years, 9 months ago (2017-03-17 08:58:51 UTC) #47
Takashi Toyoshima
I feel merging FetchRequest and ResourceRequest isn't a good idea. Having all data in one ...
3 years, 9 months ago (2017-03-17 09:36:42 UTC) #48
yhirano
On 2017/03/17 09:36:42, Takashi Toyoshima wrote: > I feel merging FetchRequest and ResourceRequest isn't a ...
3 years, 9 months ago (2017-03-17 11:54:54 UTC) #49
pfeldman
Does this patch make more sense or less sense after the discussion?
3 years, 9 months ago (2017-03-24 17:57:51 UTC) #50
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2751043002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp (right): https://codereview.chromium.org/2751043002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp#newcode641 third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp:641: requestInfo->setIsLinkPreload(true); does it make sense to include these in ...
3 years, 9 months ago (2017-03-27 05:41:08 UTC) #51
yhirano
The discussion's conclusions are: 1. Keep the distinction between FetchRequest and ResourceRequest. 2. Stop FetchRequest ...
3 years, 9 months ago (2017-03-27 06:47:57 UTC) #52
pfeldman
3 years, 9 months ago (2017-03-27 21:07:24 UTC) #53
Message was sent while issue was closed.
Closing in favor of https://codereview.chromium.org/2751023005/

Powered by Google App Engine
This is Rietveld 408576698