Closed Bug 796980 Opened 12 years ago Closed 12 years ago

Fix test_wheel_default_action.html to drive scrolling directly

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: vlad, Assigned: vlad)

Details

Attachments

(1 file)

Similar to bug 796156 and others; caused by bug 731974. Instead of relying on setTimeout and hoping scrolls happen in between, explicitly force them to happen via the refresh driver.
Attachment #667026 - Flags: review?(ehsan)
Comment on attachment 667026 [details] [diff] [review] use advanceTimeAndRefresh Review of attachment 667026 [details] [diff] [review]: ----------------------------------------------------------------- With this, do we still need the setTimeout(..., 10) calls? If not, it would be great to take them out (or at least convert the timeout value to 0).
Attachment #667026 - Flags: review?(ehsan) → review+
Assignee: nobody → vladimir
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: