diff --git a/testing/web-platform/tests/longtask-timing/supported-longtask-types.any.js b/testing/web-platform/tests/longtask-timing/supported-longtask-types.window.js similarity index 100% rename from testing/web-platform/tests/longtask-timing/supported-longtask-types.any.js rename to testing/web-platform/tests/longtask-timing/supported-longtask-types.window.js diff --git a/testing/web-platform/tests/navigation-timing/supported_navigation_type.any.js b/testing/web-platform/tests/navigation-timing/supported_navigation_type.window.js similarity index 100% rename from testing/web-platform/tests/navigation-timing/supported_navigation_type.any.js rename to testing/web-platform/tests/navigation-timing/supported_navigation_type.window.js diff --git a/testing/web-platform/tests/paint-timing/idlharness.window.js b/testing/web-platform/tests/paint-timing/idlharness.window.js index 115af73dfc80..049f0f18f1be 100644 --- a/testing/web-platform/tests/paint-timing/idlharness.window.js +++ b/testing/web-platform/tests/paint-timing/idlharness.window.js @@ -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); diff --git a/testing/web-platform/tests/paint-timing/supported-paint-type.any.js b/testing/web-platform/tests/paint-timing/supported-paint-type.window.js similarity index 100% rename from testing/web-platform/tests/paint-timing/supported-paint-type.any.js rename to testing/web-platform/tests/paint-timing/supported-paint-type.window.js