mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #23536 - gatoWololo:omar_timing_entries, r=jdm
Let resources timing entries be added to performance entry buffer. <!-- Please describe your changes on the following line: --> Update relevant tests to properly report and expect failure. These changes are the first step for #23328. Not sure if I would say they _fix_ the issue. --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes: Existing tests have been updated to expect pass/failures. <!-- 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/23536) <!-- Reviewable:end -->
This commit is contained in:
commit
7490dd6f0d
17 changed files with 92 additions and 70 deletions
|
@ -62,7 +62,7 @@ pub fn submit_timing_data(
|
|||
PerformanceResourceTiming::new(global, url, initiator_type, None, resource_timing);
|
||||
global
|
||||
.performance()
|
||||
.queue_entry(performance_entry.upcast::<PerformanceEntry>(), false);
|
||||
.queue_entry(performance_entry.upcast::<PerformanceEntry>(), true);
|
||||
}
|
||||
|
||||
impl<Listener: PreInvoke + Send + 'static> NetworkListener<Listener> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue