Bug 1526270 [wpt PR 15239] - Fix suppportedEntryTypes and PaintTiming IDLHarness tests, a=testonly

Automatic update from web-platform-tests
Fix suppportedEntryTypes and PaintTiming IDLHarness tests

Bug: 922195, 898769
Change-Id: I565daad1da5e64576c7c588f77be7f7ff2bb1a1f
Reviewed-on: https://chromium-review.googlesource.com/c/1452482
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629745}

--

wpt-commits: 362afa34cb1e73426c942b77b211d0972a5a9a8c
wpt-pr: 15239


--HG--
rename : testing/web-platform/tests/longtask-timing/supported-longtask-types.any.js => testing/web-platform/tests/longtask-timing/supported-longtask-types.window.js
rename : testing/web-platform/tests/navigation-timing/supported_navigation_type.any.js => testing/web-platform/tests/navigation-timing/supported_navigation_type.window.js
rename : testing/web-platform/tests/paint-timing/supported-paint-type.any.js => testing/web-platform/tests/paint-timing/supported-paint-type.window.js
This commit is contained in:
Nicolas Pena 2019-02-18 19:25:22 +00:00 коммит произвёл James Graham
Родитель 1a3394ed4b
Коммит b5395c4fc7
4 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -19,6 +19,9 @@ idl_test(
resolve();
});
observer.observe({ entryTypes: ['paint'] });
const div = document.createElement('div');
div.innerHTML = 'Hello World';
document.body.appendChild(div);
});
const timeout = new Promise((_, reject) => {
t.step_timeout(() => reject('Timed out waiting for paint event'), 3000);