Bug 1526270 [wpt PR 15239] - Fix suppportedEntryTypes and PaintTiming IDLHarness tests, a=testonly
authorNicolas Pena <npm@chromium.org>
Mon, 18 Feb 2019 19:25:22 +0000
changeset 519180 030e4ad2e8a151dfe5f79643187bb83f46638692
parent 519179 bd2ca52435730fcc809e2b6d77cc31e4a95713da
child 519181 55e911a77478933a0f854842a55496f57011b344
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1526270, 15239, 922195, 898769, 1452482, 629745
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/tests/longtask-timing/supported-longtask-types.any.js
testing/web-platform/tests/longtask-timing/supported-longtask-types.window.js
testing/web-platform/tests/navigation-timing/supported_navigation_type.any.js
testing/web-platform/tests/navigation-timing/supported_navigation_type.window.js
testing/web-platform/tests/paint-timing/idlharness.window.js
testing/web-platform/tests/paint-timing/supported-paint-type.any.js
testing/web-platform/tests/paint-timing/supported-paint-type.window.js
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
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
--- a/testing/web-platform/tests/paint-timing/idlharness.window.js
+++ b/testing/web-platform/tests/paint-timing/idlharness.window.js
@@ -14,15 +14,18 @@ idl_test(
     });
 
     const awaitPaint = new Promise(resolve => {
       let observer = new PerformanceObserver(list => {
         self.paintTiming = list.getEntries()[0];
         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);
     });
     return Promise.race([awaitPaint, timeout]);
   }
 );
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