Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPerformanceResourceTiming: redirectStart #21256
Closed
Labels
Comments
|
Hi @avadacatavra. I would try to work on this. This is my idea.
|
bors-servo
added a commit
that referenced
this issue
Nov 30, 2018
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 -->
bors-servo
added a commit
that referenced
this issue
Jan 29, 2019
WIP: 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 -->
bors-servo
added a commit
that referenced
this issue
Feb 1, 2019
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 -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In components/net/http_loader.rs::http_fetch we need to set redirect_start.
On getting, the redirectStart attribute MUST return as follows:
https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-redirectstart