mirror of
https://github.com/servo/servo.git
synced 2025-08-22 22:05:32 +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
|
@ -19679,7 +19679,7 @@
|
|||
"support"
|
||||
],
|
||||
"mozilla/xmlhttprequest_url.html": [
|
||||
"e5d10f27c06e1febd3bb70f8f128194fc3f63861",
|
||||
"3a765c1e45b0ff25d9161e70f2ad0718769a4cdb",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/create_session.html": [
|
||||
|
|
|
@ -19,7 +19,7 @@ async_test(function(t) {
|
|||
|
||||
request.onload = t.step_func_done(function() {
|
||||
let entries = window.performance.getEntriesByType("resource");
|
||||
assert_equals(entries.length, 1);
|
||||
assert_equals(entries.length, 3);
|
||||
assert_equals(entries[0].name, href);
|
||||
});
|
||||
}, "Performance entries should contain the URL where the XMLHttpRequest originated");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue