Bug 1630695 [wpt PR 23020] - Remove a missed assert_precondition in event-timing/, a=testonly
authorStephen McGruer <smcgruer@chromium.org>
Wed, 22 Apr 2020 04:16:05 +0000
changeset 525871 fd6b3be110de1e3899670b0a770c8b1970c620e4
parent 525870 dbd5205b556856fd20d522f183a1ac71ba04e2d5
child 525872 ca106de9ad887f585307bc8f13f4852354a8e655
push id37348
push userrmaries@mozilla.com
push dateSat, 25 Apr 2020 09:49:23 +0000
treeherdermozilla-central@d8a8178627c4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1630695, 23020
milestone77.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 1630695 [wpt PR 23020] - Remove a missed assert_precondition in event-timing/, a=testonly Automatic update from web-platform-tests Remove a missed assert_precondition in event-timing/ (#23020) -- wpt-commits: c3c1ea4f28db4925e961b9b61fb079b98671b483 wpt-pr: 23020
testing/web-platform/tests/event-timing/supported-types.window.js
--- a/testing/web-platform/tests/event-timing/supported-types.window.js
+++ b/testing/web-platform/tests/event-timing/supported-types.window.js
@@ -1,11 +1,11 @@
 test(() => {
-  assert_precondition(window.PerformanceEventTiming, 'Event Timing is not supported.');
-  assert_precondition(typeof PerformanceObserver.supportedEntryTypes !== "undefined",
+  assert_implements(window.PerformanceEventTiming, 'Event Timing is not supported.');
+  assert_implements(typeof PerformanceObserver.supportedEntryTypes !== "undefined",
       'supportedEntryTypes is not supported');
   const types = PerformanceObserver.supportedEntryTypes;
   assert_true(types.includes("first-input"),
     "There should be 'first-input' in PerformanceObserver.supportedEntryTypes");
   assert_true(types.includes("event"),
     "There should be 'event' in PerformanceObserver.supportedEntryTypes");
   assert_greater_than(types.indexOf("first-input"), types.indexOf('event'),
     "The 'first-input' entry should appear after the 'event' entry");