Bug 1481478 [wpt PR 12338] - Fix some typos in testharness.js., a=testonly
authorMs2ger <Ms2ger@gmail.com>
Fri, 10 Aug 2018 16:08:13 +0000
changeset 486255 b95c1f42b57317d59eec2d51c2d423d4dcc11bdd
parent 486254 b510d9481252c3c4e46b75909c2ccc138d8ef3fc
child 486256 ecfef1d46f56aac8d339d2b4c590ff3b7d5b0ec3
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1481478, 12338
milestone63.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 1481478 [wpt PR 12338] - Fix some typos in testharness.js., a=testonly Automatic update from web-platform-testsFix some typos in testharness.js. -- wpt-commits: 5ee7f865c347c346d8bf3295d7b5e2602f5caca7 wpt-pr: 12338
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/resources/testharness.js
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -625649,17 +625649,17 @@
    "5e8f640c6659d176eaca4c71cc1798b7285540b7",
    "support"
   ],
   "resources/testharness.css.headers": [
    "e828b629858d07afd989b80894986315bac16cc7",
    "support"
   ],
   "resources/testharness.js": [
-   "fdd9820b2a367b5ee05d70a2b797bc8648f6f9be",
+   "0ea7a2a7f48424708ef661e2dbcecdb8b916c81a",
    "support"
   ],
   "resources/testharness.js.headers": [
    "5e8f640c6659d176eaca4c71cc1798b7285540b7",
    "support"
   ],
   "resources/testharnessreport.js": [
    "e5cb40fe0ef652be407d4c48b1c59391864cec7b",
--- a/testing/web-platform/tests/resources/testharness.js
+++ b/testing/web-platform/tests/resources/testharness.js
@@ -645,17 +645,17 @@ policies and contribution forms [3].
         });
 
         for (var i = 0; i < eventTypes.length; i++) {
             watchedNode.addEventListener(eventTypes[i], eventHandler, false);
         }
 
         /**
          * Returns a Promise that will resolve after the specified event or
-         * series of events has occured.
+         * series of events has occurred.
          *
          * @param options An optional options object. If the 'record' property
          *                on this object has the value 'all', when the Promise
          *                returned by this function is resolved,  *all* Event
          *                objects that were waited for will be returned as an
          *                array.
          *
          * For example,
@@ -1054,17 +1054,17 @@ policies and contribution forms [3].
                    {i:i, expected:expected[i], actual:actual[i]});
         }
     }
     expose(assert_array_equals, "assert_array_equals");
 
     function assert_array_approx_equals(actual, expected, epsilon, description)
     {
         /*
-         * Test if two primitive arrays are equal withing +/- epsilon
+         * Test if two primitive arrays are equal within +/- epsilon
          */
         assert(actual.length === expected.length,
                "assert_array_approx_equals", description,
                "lengths differ, expected ${expected} got ${actual}",
                {expected:expected.length, actual:actual.length});
 
         for (var i = 0; i < actual.length; i++) {
             assert(actual.hasOwnProperty(i) === expected.hasOwnProperty(i),
@@ -1082,17 +1082,17 @@ policies and contribution forms [3].
                    {i:i, expected:expected[i], actual:actual[i]});
         }
     }
     expose(assert_array_approx_equals, "assert_array_approx_equals");
 
     function assert_approx_equals(actual, expected, epsilon, description)
     {
         /*
-         * Test if two primitive numbers are equal withing +/- epsilon
+         * Test if two primitive numbers are equal within +/- epsilon
          */
         assert(typeof actual === "number",
                "assert_approx_equals", description,
                "expected a number but got a ${type_actual}",
                {type_actual:typeof actual});
 
         assert(Math.abs(actual - expected) <= epsilon,
                "assert_approx_equals", description,