Closed Bug 986404 Opened 10 years ago Closed 10 years ago

disable fade-out of overlay scrollbars during reftest

Categories

(Testing :: Reftest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla31

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

Attachments

(1 file)

This follows up on bug 926292 comment 29; I also noticed the same thing while trying to enable more B2G tests, which I mentioned to mstange and he told me about the issue.

We should disable the fadeout of overlay scrollbars during reftest, because we can't guarantee taking reftest snapshots at the same point during the fade.

This fixes failures on both 10.9 (tests not yet enabled) and B2G.
Comment on attachment 8394704 [details] [diff] [review]
Disable fade-out of overlay scrollbars during reftest

You can also remove the line I added in layout/reftests/z-index/reftest.list that sets the pref for that specific directory.
Attachment #8394704 - Flags: review?(mstange) → review+
Blocks: 947089
FYI, I think an alternative to disabling the fade-out was to disable overlay scrollbars, but that appears to be blocked by bug 952613. Thought I'd mention it here just in case.
I think we definitely want to test _with_ overlay scroll bars, at least some of the time. There are issues that only come up with overlay scrollbars.
So it turns out this doesn't appear to fix all the overlay scrollbar inconsistencies I was seeing.  See, for example, abs-pos/scrollframe-1.html in the B2G R1 in https://tbpl.mozilla.org/?tree=Try&rev=14dd3c4eec2e .  (The difference is most visible in the second R1.)

Or all 3 tests in the R5 run.

(But I think it did fix some of them, although maybe that's just random variation.)
Oh, that's probably because I missed the comment in reftest-cmdline.js that said the edits need to be made in two places!
Also landed one change that I had in bug 986409, but just realized belonged here instead:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fb690596c4ae
https://hg.mozilla.org/mozilla-central/rev/285dfafec8f6
https://hg.mozilla.org/mozilla-central/rev/fb690596c4ae
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
(And bug 986807 fixes the fact that these pref changes need to be made in more than one place.)
Flags: needinfo?(ryanvm)
Flags: needinfo?(ryanvm)
Blocks: B2GRT
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: