Bug 1251905, part 5 - Make the synthesize wheel async. r=masayuki
authorAndrew McCreight <continuation@gmail.com>
Sat, 02 Apr 2016 10:30:31 -0700
changeset 291425 9ac7cea0096fb106beae78396dfb645fe8eb4cb5
parent 291424 7c052af6963b9a0bb2f83aaab90cddbd5732b0bd
child 291426 39744d63ae76320b2b6bb75e2e4472d33394cf3a
push id30134
push userryanvm@gmail.com
push dateMon, 04 Apr 2016 01:40:30 +0000
treeherdermozilla-central@cfd51e67b26e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmasayuki
bugs1251905
milestone48.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 1251905, part 5 - Make the synthesize wheel async. r=masayuki
dom/events/test/test_continuous_wheel_events.html
--- a/dom/events/test/test_continuous_wheel_events.html
+++ b/dom/events/test/test_continuous_wheel_events.html
@@ -3161,17 +3161,17 @@ function* testContinuousTrustedEvents()
     gScrollableElement.scrollTop = gScrollableElement.scrollBottom = 1000;
 
     currentWheelEventTest = kSynthesizedWheelEventTests[i];
 
     if (currentWheelEventTest.prepare) {
       yield currentWheelEventTest.prepare();
     }
 
-    synthesizeWheel(gScrollableElement, 10, 10, currentWheelEventTest.event);
+    yield sendWheelAndWait(10, 10, currentWheelEventTest.event);
 
     if (currentWheelEventTest.finished) {
       yield currentWheelEventTest.finished();
     }
 
     var description = "testContinuousTrustedEvents, " +
       currentWheelEventTest.description + ": ";
     is(calledHandlers.wheel, currentWheelEventTest.wheel.expected,