Add PerformanceResourceTiming: domainLookupStart

Remove wpt tests for domainLookupStart

Set ResourceAttribute::DomainLookupTime

Move DomainLookupStart timing before HTTP request initialization

Change label of domainLookupStart TAO zero test to PASS

Adjust the from_resource_timing method to initialize domain_lookup_start value

Restore domainLookupsStart test
This commit is contained in:
Kamil Niski 2019-05-02 18:14:01 +02:00
parent 84786add22
commit d84513cc50
6 changed files with 20 additions and 15 deletions

View file

@ -378,6 +378,12 @@ fn obtain_response(
},
}
context
.timing
.lock()
.unwrap()
.set_attribute(ResourceAttribute::DomainLookupStart);
// TODO(#21261) connect_start: set if a persistent connection is *not* used and the last non-redirected
// fetch passes the timing allow check
let connect_start = precise_time_ms();