Open Bug 660226 Opened 9 years ago Updated 7 years ago

Select element sometimes have an option selected when it should not

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set

Tracking

()

People

(Reporter: mounir, Unassigned)

References

Details

Attachments

(1 file)

See these two intermittent oranges:
bug 626103
bug 659708

I believe it's a real bug. That might be a bug in our test harness too.
Can we dump the localName of document.activeElement or something similar in these tests, to make sure that it's not really a focus issue?
Dumping only for one test hoping it will fail soon (it should).
Attachment #536089 - Flags: review?(ehsan)
Attachment #536089 - Flags: review?(ehsan) → review+
Comment on attachment 536089 [details] [diff] [review]
Dump the focused element

Pushed in cedar.
Attachment #536089 - Flags: checked-in+
(In reply to comment #3)
> Comment on attachment 536089 [details] [diff] [review] [review]
> Dump the focused element
> 
> Pushed in cedar.

http://hg.mozilla.org/mozilla-central/rev/60513bb40ec7
Attachment #536089 - Flags: checked-in+ → checkin+
Blocks: 655124
Mounir, did you check to make sure that the dump statement actually prints anything to the reftest output?  I don't see anything in http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1306911882.1306912667.19891.gz for example.
Blocks: 663019
Blocks: 660224
No longer blocks: 660224
(In reply to comment #5)
> Mounir, did you check to make sure that the dump statement actually prints
> anything to the reftest output?  I don't see anything in
> http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1306911882.1306912667.
> 19891.gz for example.

Locally, yes. I will check that.
Blocks: 716054
I see:

DEBUG-bug660226: [object HTMLBodyElement]

REFTEST TEST-START | file:///C:/talos-slave/test/build/reftest/tests/layout/reftests/native-theme/listbox-nonnative-when-styled-ref.html | 4897 / 7351 (66%)

DEBUG-bug660226: [object HTMLBodyElement]

I'm not sure how this will help us on random orange bug 626103, which is dependent on this.

recent failures on a try run:

https://tbpl.mozilla.org/php/getParsedLog.php?id=9268458&tree=Try&full=1#error0
Blocks: 819452
You need to log in before you can comment on or make changes to this bug.