Bug 1528862 [wpt PR 15452] - [docs] Adding missing `EventWatcher` heading to docs, a=testonly
☠☠ backed out by 66b1aba3fb43 ☠ ☠
authorBrian Birtles <birtles@gmail.com>
Wed, 06 Mar 2019 10:34:01 +0000
changeset 522216 b3bae9f26b98b9d287175acc59541ef91af4718b
parent 522215 3e265c28d84572e7e3fd494d71de4ebeae1658e1
child 522217 577ea54d1b0c56ed6da7d9bd2831f1791a8f2b7d
push id10871
push usercbrindusan@mozilla.com
push dateMon, 18 Mar 2019 15:49:32 +0000
treeherdermozilla-beta@018abdd16060 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1528862, 15452
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 1528862 [wpt PR 15452] - [docs] Adding missing `EventWatcher` heading to docs, a=testonly Automatic update from web-platform-tests [docs] Adding missing `EventWatcher` heading to docs -- wpt-commits: 2b66b8b24b727c7490bf6091dd8a6a551642720b wpt-pr: 15452
testing/web-platform/tests/docs/_writing-tests/testharness-api.md
--- a/testing/web-platform/tests/docs/_writing-tests/testharness-api.md
+++ b/testing/web-platform/tests/docs/_writing-tests/testharness-api.md
@@ -207,16 +207,18 @@ function bar() {
   return Promise.reject(new TypeError());
 }
 
 promise_test(function(t) {
   return promise_rejects(t, new TypeError(), bar());
 }, "Another example");
 ```
 
+## `EventWatcher` ##
+
 `EventWatcher` is a constructor function that allows DOM events to be handled
 using Promises, which can make it a lot easier to test a very specific series
 of events, including ensuring that unexpected events are not fired at any point.
 
 Here's an example of how to use `EventWatcher`:
 
 ```js
 var t = async_test("Event order on animation start");