diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-02-01 08:26:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 08:26:12 -0500 |
commit | d9b76ef7d0ffc87d3b787def3735223f41987cf4 (patch) | |
tree | 705718e4d29d194516aa7b5e9c0d5c07bf849be3 /components/script/dom/webidls/PerformanceResourceTiming.webidl | |
parent | 6b648429f54b6b56546e8f744657e32bd6ac21b5 (diff) | |
parent | d470373e1cb9e168b43da00a4bf82a0fbb42dc96 (diff) | |
download | servo-d9b76ef7d0ffc87d3b787def3735223f41987cf4.tar.gz servo-d9b76ef7d0ffc87d3b787def3735223f41987cf4.zip |
Auto merge of #22319 - kkpoon:add-redirect-start, r=jdm
Add PerformanceResourceTiming: redirectStart
1. Added `RedirectStart` to `ResourceAttribute` in `net_traits` crate
2. Match the enum in `set_attribute` to record the start time in `ResourceFetchTiming.redirect_start`.
3. In `http_loader.rs::http_fetch`, added the call the context timing on the `RedirectStart`
fix 21256
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21256 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22319)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls/PerformanceResourceTiming.webidl')
-rw-r--r-- | components/script/dom/webidls/PerformanceResourceTiming.webidl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/PerformanceResourceTiming.webidl b/components/script/dom/webidls/PerformanceResourceTiming.webidl index b63f341b1c9..7e9e394ab6b 100644 --- a/components/script/dom/webidls/PerformanceResourceTiming.webidl +++ b/components/script/dom/webidls/PerformanceResourceTiming.webidl @@ -12,7 +12,7 @@ interface PerformanceResourceTiming : PerformanceEntry { readonly attribute DOMString initiatorType; readonly attribute DOMString nextHopProtocol; // readonly attribute DOMHighResTimeStamp workerStart; - // readonly attribute DOMHighResTimeStamp redirectStart; + readonly attribute DOMHighResTimeStamp redirectStart; // readonly attribute DOMHighResTimeStamp redirectEnd; readonly attribute DOMHighResTimeStamp fetchStart; // readonly attribute DOMHighResTimeStamp domainLookupStart; |