Bug 1496737 [wpt PR 13373] - Add missing reject argument that is referenced., a=testonly
authorJosh Matthews <josh@joshmatthews.net>
Thu, 11 Oct 2018 09:30:56 +0000
changeset 499469 b4124072ce413dd778e0d1780ea71283b1c698ce
parent 499468 3756ef7dd9972afdcf6e5dff4f476e933b92dea1
child 499470 ad04238da3b66b40bbf8c0609e8d55469652b974
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1496737, 13373
milestone64.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 1496737 [wpt PR 13373] - Add missing reject argument that is referenced., a=testonly Automatic update from web-platform-testsAdd missing reject argument that is referenced. -- wpt-commits: ed1e1878f364d9c7aa488fa4e7397bae937fee02 wpt-pr: 13373
testing/web-platform/tests/css/cssom-view/scroll-behavior-smooth-positions.html
--- a/testing/web-platform/tests/css/cssom-view/scroll-behavior-smooth-positions.html
+++ b/testing/web-platform/tests/css/cssom-view/scroll-behavior-smooth-positions.html
@@ -104,17 +104,17 @@
         }
         if (done)
           resolve();
       });
     });
   }, "Scroll positions when aborting a smooth scrolling with another smooth scrolling");
 
   promise_test(() => {
-    return new Promise(function(resolve) {
+    return new Promise(function(resolve, reject) {
       resetScroll(overflowNode);
       var initialScrollAborted = false;
       var oldLeft = overflowNode.scrollLeft;
       var oldTop = overflowNode.scrollTop;
       assert_equals(oldLeft, 0);
       assert_equals(oldTop, 0);
       scrollNode(overflowNode, "scroll", "smooth", 1500, 750);
       observeScrolling(overflowNode, function(done) {