Index: third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js |
index 1a92cface00bf3d516148439bb774c903a7623a3..6f226c77a93ee487c80221c0b4455e5f7a1de993 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js |
@@ -1080,6 +1080,8 @@ SDK.NetworkRequest = class extends SDK.SDKObject { |
scriptId = topFrame.scriptId; |
break; |
} |
+ } else if (initiator.type === Protocol.Network.InitiatorType.Preload) { |
+ type = SDK.NetworkRequest.InitiatorType.Preload; |
} |
} |
@@ -1225,7 +1227,8 @@ SDK.NetworkRequest.InitiatorType = { |
Other: 'other', |
Parser: 'parser', |
Redirect: 'redirect', |
- Script: 'script' |
+ Script: 'script', |
+ Preload: 'preload' |
}; |
/** @typedef {!{name: string, value: string}} */ |