Update web-platform-tests to revision 6fa9de7201cd41564d02c3edd62365aeb40e171b

This commit is contained in:
WPT Sync Bot 2019-07-20 10:25:14 +00:00
parent 60f1ffc5a7
commit dc1f7ba3ec
124 changed files with 2052 additions and 849 deletions

View file

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

View file

@ -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.

View file

@ -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) {