chromium/third_party/blink/web_tests/http/tests/devtools/resource-har-conversion-expected.txt

Tests conversion of Inspector's resource representation into HAR format.

Page reloaded.
error: Failed getting cookie attribute: Discard
error: Failed getting cookie attribute: Version
{
    creator : {
        name : "WebInspector"
        version : <string>
    }
    entries : [
        {
            _initiator : <object>
            _priority : <string>
            _resourceType : "document"
            cache : {
            }
            connection : <string>
            pageref : "page_1"
            request : {
                bodySize : <number>
                cookies : [
                    {
                        domain : "example.com"
                        expires : null
                        httpOnly : false
                        name : "a"
                        path : "/path"
                        secure : false
                        value : "b"
                    }
                    {
                        domain : undefined
                        expires : null
                        httpOnly : false
                        name : "a1"
                        path : undefined
                        secure : false
                        value : "b1"
                    }
                    {
                        domain : undefined
                        expires : null
                        httpOnly : false
                        name : "c1"
                        path : undefined
                        secure : false
                        value : "d1"
                    }
                ]
                headers : <object>
                headersSize : <number>
                httpVersion : "HTTP/1.1"
                method : "GET"
                queryString : [
                ]
                url : "http://127.0.0.1:8000/devtools/resources/inspected-page.html"
            }
            response : {
                _fetchedViaServiceWorker : true
                _responseCacheStorageCacheName : "v1"
                _serviceWorkerResponseSource : "cache-storage"
                _transferSize : <number>
                bodySize : <number>
                content : {
                    compression : <number>
                    mimeType : "text/html"
                    size : <number>
                }
                cookies : [
                    {
                        domain : "example.com"
                        expires : null
                        httpOnly : true
                        name : "x"
                        path : "/path"
                        secure : true
                        value : "y"
                    }
                    {
                        domain : "127.0.0.1"
                        expires : null
                        httpOnly : false
                        name : "x1"
                        path : undefined
                        sameSite : "Strict"
                        secure : false
                        value : "y1"
                    }
                    {
                        domain : "127.0.0.1"
                        expires : null
                        httpOnly : false
                        name : "z2"
                        path : undefined
                        sameSite : "Lax"
                        secure : false
                        value : "y2"
                    }
                ]
                headers : <object>
                headersSize : <number>
                httpVersion : "HTTP/1.1"
                redirectURL : ""
                status : 200
                statusText : "OK"
            }
            serverIPAddress : "127.0.0.1"
            startedDateTime : <string>
            time : <number>
            timings : <object>
        }
        {
            _initiator : <object>
            _priority : <string>
            _resourceType : "xhr"
            cache : {
            }
            connection : <string>
            pageref : "page_1"
            request : {
                bodySize : <number>
                cookies : [
                ]
                headers : <object>
                headersSize : <number>
                httpVersion : "HTTP/1.1"
                method : "POST"
                postData : {
                    mimeType : "text/xml"
                    text : "<xml></xml>"
                }
                queryString : [
                ]
                url : "http://127.0.0.1:8000/devtools/resources/post-target.cgi"
            }
            response : {
                _fetchedViaServiceWorker : false
                _responseCacheStorageCacheName : undefined
                _serviceWorkerResponseSource : undefined
                _transferSize : <number>
                bodySize : <number>
                content : {
                    compression : <number>
                    mimeType : "application/xml"
                    size : <number>
                }
                cookies : [
                ]
                headers : <object>
                headersSize : <number>
                httpVersion : "HTTP/1.1"
                redirectURL : ""
                status : 200
                statusText : "OK"
            }
            serverIPAddress : "127.0.0.1"
            startedDateTime : <string>
            time : <number>
            timings : <object>
        }
    ]
    pages : [
        {
            id : <string>
            pageTimings : {
                onContentLoad : <number>
                onLoad : <number>
            }
            startedDateTime : <string>
            title : "http://127.0.0.1:8000/devtools/resources/inspected-page.html"
        }
    ]
    version : <string>
}