Open Bug 1700805 Opened 3 years ago Updated 3 years ago

Enable the mochitest for bug 1694898 both on Linux and Windows

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

People

(Reporter: hiro, Unassigned)

References

Details

Attachments

(1 file)

I am going to add a mochitest in bug 1694898, but unfortunately it doesn't work both on Linux and Window. The test has two calling promiseNativeWheelAndWaitForObserver calls like this;

  await promiseNativeWheelAndWaitForObserver(browserForPopup, 50, 50, 0, -100); 
  await promiseNativeWheelAndWaitForObserver(browserForPopup, 150, 50, 0, -100);

And the second call doesn't scroll the scrollable element below the event on (150, 50). Interestingly if we swap the order of the calls, the second one doesn't scroll. i.e.

  await promiseNativeWheelAndWaitForObserver(browserForPopup, 150, 50, 0, -100);
  await promiseNativeWheelAndWaitForObserver(browserForPopup, 50, 50, 0, -100); 

With this calls, promiseNativeWheelAndWaitForObserver(browserForPopup, 50, 50, 0, -100); doesn't scroll the element on (50, 50).

I am thinking this is an issue of implementations for nsIDOMWindowUtils.sendNativeMouseScrollEvent. Actually both scrollable elements can be scrolled by real mouse wheel events as far as I can tell.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: