Let resources timing entries be added to performance entry buffer.

Update relevant tests to properly report and expect failure.
Update manifest.
This commit is contained in:
gatowololo 2019-06-07 13:16:43 -07:00
parent a634f05024
commit 9eb3687b19
17 changed files with 92 additions and 70 deletions

View file

@ -21110,7 +21110,7 @@
"support"
],
"mozilla/xmlhttprequest_url.html": [
"e5d10f27c06e1febd3bb70f8f128194fc3f63861",
"3a765c1e45b0ff25d9161e70f2ad0718769a4cdb",
"testharness"
]
},

View file

@ -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");