Closed Bug 626168 Opened 14 years ago Closed 14 years ago

Intermittent failure in content/events/test/test_bug426082.html | Moving the mouse down from the label [or various other actions] should have unpressed [or pressed] the button

Categories

(Core :: DOM: Events, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file, 1 obsolete file)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1295118426.1295119122.30606.gz&fulltext=1 37455 ERROR TEST-UNEXPECTED-FAIL | /tests/content/events/test/test_bug426082.html | Moving the mouse down from the label should have unpressed the button. - expected data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAYCAYAAACr3+4VAAAGfUlEQVRYheWYT0hUexvHZ9FZBLoJUrA/aIRotQqkqE20EQJxUVmbVlGQSa8YGQhBtNBK/JfRGCoKpnsVQxBiNKIpnPReJ03njJ7O/PHMcfI4c844M6eZ+dyF70zXsnq77+L6vveBz+Lh9zvP7/nyO7/nPL9j4R9ilh8NplIpEokE8Xic9fX1bUs8HieRSJBKpX5NaCKRQFEU2traqKyspLy8nNLS0m1LeXk5169fp62tDUVRSCQSPxdqmibd3d1cuHCB9vZ2HA4H4XCYVCq1bQmHwzgcDtrb26moqKCrqwvTNL8vNB6PU19fz82bN/nw4cNPX4ftYqlUimQyyefPn3E6nfzrxg3q6+uJx+OZORmhpmnS2dnJ5cuX8fl8rK+vE4vFiMVixOPxbU8sFiUSiaCHdSRJ4urVq3R3d2d21gIbZ9LlclFRUcHY2BgrKyvouo5hGEQiESLrkb+94PyISCSCYRjous7a2hp+/zKjo6NcvHgRl8tFIpHYEKrrOo2NjTQ0NDDz+wwej4fV1VW0tTVCoRDhcHgTgiCQl5dHXl4e58+fR1XVb+Zsxdextor9VwiFQqytraFpGsFgkMXFRX777Xfu379Pc3Mzuq5jSaVSKIpCdXU1Q0NDvH//noWFBZakJZb9foLBIKurn1hdXc0gCA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dvtdvLz8ykpKWHXrl2ZNs40TbKzs3G73Zimyfj4OIcPH96Uz0bDECMajWIYBqFQCFmWGRkZwWq1blRdAMMwsNlsNDc3Mz09TSgUwjRNksnkL7djaWFbma7rRKPR7/oAgUDgL60LkEwmMU2TcDjMzMwMra2t2Gw2DMP40hn5fD56enro6urC4/F8N9ntbqZp4vf76enpoaenB5/P96UzSk8QRRGr1cqTJ09QFIVYLPY/0din782xWAxVVeno6MBqtSKK4uZeN23xeBxRFOnt7aW2tpZnz57hdDoxDONvEfCfmmEYOJ1O+vv7qa2tpbe3F1EUt769pC299TabjY6ODurq6qiqquLatWvblqqqKurq6ujo6MBms+H3+398H01bMpkkEokQCAQQRZGpqSnsdjuvX7/edtjtdqamphBFkUAgQCQS2bKY/fSfUbqSpcv3diMWi2W+EL/8z+j/0f4xQv8AEUshCHIv8skAAAAASUVORK5CYII= but got data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAAxUlEQVR4nO3BMQEAAADCoPVPbQhfoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA1v9QAATX68/0AAAAASUVORK5CYII=
Summary: Intermittent failure in content/events/test/test_bug426082.html | Moving the mouse down from the label should have unpressed the button → Intermittent failure in content/events/test/test_bug426082.html | Moving the mouse down from the label [or various other actions] should have unpressed [or pressed] the button
I bet this is a regression from the MozAfterPaint timing change in bug 612190.
Blocks: 612190
Keywords: regression
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1295954901.1295957111.4453.gz OS X 10.5 comm-central-trunk debug test mochitests-1/5 on 2011/01/25 03:28:21 { 36629 ERROR TEST-UNEXPECTED-FAIL | /tests/content/events/test/test_bug426082.html | Releasing the mouse over the label should have unpressed (and focused) the button. - expected data:image/png;base64,iVBORw0KGg[...] }
Attached patch Patch (v1) (obsolete) — Splinter Review
This bug is trivial to reproduce when the test is run standalone on a Mac. The problem with the test is that sometimes it assumes that just yielding from the generator is enough for a paint to happen, and takes incorrect snapshots when the painting has not happened. This patch makes sure that the test waits long enough for the paint to actually happen. This fixes the problem locally.
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #514978 - Flags: review?(Olli.Pettay)
Attachment #514978 - Flags: review?(Olli.Pettay) → review+
The test seems to time out on non-Mac platforms on the try server. I will need to investigate it to see what's happening. Linux64: <http://tinderbox.mozilla.org/showlog.cgi?log=MozillaTry/1298663652.1298666341.20948.gz> Windows: <http://tinderbox.mozilla.org/showlog.cgi?log=MozillaTry/1298662152.1298665157.15957.gz>
Depends on: 621390
Blocks: 426082
Attached patch Patch (v2)Splinter Review
This just removes the yield after button.focus(). I've tested it on all platforms, and it seems to work reliably everywhere.
Attachment #514978 - Attachment is obsolete: true
Attachment #519742 - Flags: review?(Olli.Pettay)
Attachment #519742 - Flags: review?(Olli.Pettay) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: