mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 6fa9de7201cd41564d02c3edd62365aeb40e171b
This commit is contained in:
parent
60f1ffc5a7
commit
dc1f7ba3ec
124 changed files with 2052 additions and 849 deletions
|
@ -12,6 +12,8 @@
|
|||
<img src="resources/slow-image.py">
|
||||
<script>
|
||||
async_test(function (t) {
|
||||
if (!window.LayoutShift)
|
||||
assert_unreached('LayoutShift entries are not supported');
|
||||
const startTime = performance.now();
|
||||
new PerformanceObserver(list => {
|
||||
const endTime = performance.now();
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
async_test(t => {
|
||||
if (!window.LayoutShift)
|
||||
assert_unreached('LayoutShift entries are not supported');
|
||||
const startTime = performance.now();
|
||||
// First observer creates second in callback to ensure the entry has been dispatched by the time
|
||||
// the second observer begins observing.
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
}
|
||||
|
||||
async_test(function (t) {
|
||||
if (!window.LayoutShift)
|
||||
assert_unreached('LayoutShift entries are not supported');
|
||||
const startTime = performance.now();
|
||||
const observer = new PerformanceObserver(
|
||||
t.step_func_done(function(entryList) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue