test_tree_scroll.xhtml depends on load event timing
Categories
(Core :: XUL, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
In bug 1824886 (which makes firing the load event sooner) I tried to tweak it to preserve the previous behavior. Without that there were failures like:
Daisuke, I saw the test already used onload="setTimeout(...)"
, do you know why that was needed?
Comment 3•1 year ago
|
||
HI Emilio!
Unfortunately, I’m not sure exactly. As other tests in the same directory have executed their tests like that, I introduced the same way.
https://searchfox.org/mozilla-central/search?q=onload%3D"setTimeout(&path=content%2Ftests%2Fchrome%2F&case=false®exp=false
Assignee | ||
Comment 4•1 year ago
|
||
These APIs take device pixels, not CSS pixels.
I'm not sure this will be enough to fix the test but this at least
allows the test to pass on the macOS machine I have, and it's trivially
correct.
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 6•1 year ago
|
||
Ok this was a bit more annoying. It seems like test_preferences.xhtml left a stray modal window and made mousemove events not work on macOS...
Assignee | ||
Comment 7•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/892c0dac0180
https://hg.mozilla.org/mozilla-central/rev/7f802bfdd640
Description
•