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 upCreate performance resource timing entry for synchronous network fetch #23322
Conversation
highfive
commented
May 4, 2019
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @jdm (or someone else) soon. |
highfive
commented
May 4, 2019
|
Heads up! This PR modifies the following files:
|
highfive
commented
May 4, 2019
|
@jdm, regarding your idea of passing a function pointer to Should we just pass more arguments to |
|
Yes, passing more arguments to load_whole_resource is a fine choice. As for InitiatorType, the only callers of load_whole_resource fall into the Other category so we might as well hardcode that. I would expect us to remove these callers over time; the synchronous resource loading API isn't great for slow connections. |
| } | ||
|
|
||
| pub fn submit_timing_data( | ||
| global: &DomRoot<GlobalScope>, |
This comment has been minimized.
This comment has been minimized.
|
|
@bors-servo r+ |
|
|
Create performance resource timing entry for synchronous network fetch <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23150 (GitHub issue number if applicable) <!-- Either: --> - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/23322) <!-- Reviewable:end -->
|
|
pylbrecht commentedMay 4, 2019
•
edited
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is