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 496757 b4124072ce413dd778e0d1780ea71283b1c698ce
parent 496756 3756ef7dd9972afdcf6e5dff4f476e933b92dea1
child 496758 ad04238da3b66b40bbf8c0609e8d55469652b974
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [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) {