Tests that appropriate Network domain events are dispatched during a fetchLater request following redirects.
Network.requestWillBeSent{
documentURL : <string>
frameId : <string>
hasUserGesture : false
initiator : {
type : script
url : https://127.0.0.1:8443/
}
loaderId : <string>
redirectHasExtraInfo : false
request : {
headers : {
Accept : */*
Accept-Language : en-us,en;q=0.9
Referer : https://127.0.0.1:8443/inspector-protocol/resources/inspector-protocol-page.html
User-Agent : <string>
sec-ch-ua : "content_shell";v="999"
sec-ch-ua-mobile : ?0
sec-ch-ua-platform : "Unknown"
}
initialPriority : High
method : GET
mixedContentType : blockable
referrerPolicy : strict-origin-when-cross-origin
url : https://127.0.0.1:8443/resources/redirect.php?url=%2Fresources%2Fblank.html
}
requestId : <string>
timestamp : <number>
type : Fetch
wallTime : <number>
}
Network.requestWillBeSent{
documentURL : <string>
frameId : <string>
hasUserGesture : false
initiator : {
type : script
url : https://127.0.0.1:8443/
}
loaderId : <string>
redirectHasExtraInfo : false
redirectResponse : {
alternateProtocolUsage : unspecifiedReason
charset :
connectionId : <number>
connectionReused : true
encodedDataLength : 225
fromDiskCache : false
fromPrefetchCache : false
fromServiceWorker : false
headers : {
Connection : Keep-Alive
Content-Length : 0
Content-Type : text/html
Date : <string>
Keep-Alive : timeout=10
Location : /resources/blank.html
Server : Apache
X-Powered-By : <string>
}
mimeType : text/html
protocol : http/1.1
remoteIPAddress : <string>
remotePort : 8443
responseTime : <number>
securityState : insecure
status : 302
statusText : Found
timing : <object>
url : https://127.0.0.1:8443/resources/redirect.php?url=%2Fresources%2Fblank.html
}
request : {
headers : {
Accept : */*
Accept-Language : en-us,en;q=0.9
Referer : https://127.0.0.1:8443/inspector-protocol/resources/inspector-protocol-page.html
User-Agent : <string>
sec-ch-ua : "content_shell";v="999"
sec-ch-ua-mobile : ?0
sec-ch-ua-platform : "Unknown"
}
initialPriority : High
method : GET
mixedContentType : blockable
referrerPolicy : strict-origin-when-cross-origin
url : https://127.0.0.1:8443/resources/redirect.php?url=%2Fresources%2Fblank.html
}
requestId : <string>
timestamp : <number>
type : Fetch
wallTime : <number>
}
Network.responseReceived{
frameId : <string>
hasExtraInfo : false
loaderId : <string>
requestId : <string>
response : {
alternateProtocolUsage : unspecifiedReason
charset :
connectionId : <number>
connectionReused : true
encodedDataLength : 257
fromDiskCache : false
fromPrefetchCache : false
fromServiceWorker : false
headers : {
Accept-Ranges : bytes
Connection : Keep-Alive
Content-Length : 0
Content-Type : text/html
Date : <string>
ETag : <string>
Keep-Alive : timeout=10
Last-Modified : <string>
Server : Apache
}
mimeType : text/html
protocol : http/1.1
remoteIPAddress : <string>
remotePort : 8443
responseTime : <number>
securityState : insecure
status : 200
statusText : OK
timing : <object>
url : https://127.0.0.1:8443/resources/blank.html
}
timestamp : <number>
type : Fetch
}
Network.loadingFinished{
encodedDataLength : 257
requestId : <string>
timestamp : <number>
}
Unable to get fetchLater response body{
code : -32000
message : No resource with given identifier found
}