Closed Bug 1152290 Opened 9 years ago Closed 9 years ago

[e10s] "<select>" doesn't show selected value

Categories

(Core :: Layout: Form Controls, defect)

40 Branch
x86
Windows 7
defect
Not set
normal
Points:
1

Tracking

()

VERIFIED FIXED
mozilla40
Iteration:
40.2 - 27 Apr
Tracking Status
e10s m6+ ---
firefox40 --- verified

People

(Reporter: gvanwaelvelde, Assigned: enndeakin)

References

(Blocks 1 open bug, )

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150407004006

Steps to reproduce:

1) Go to http://spotthestation.nasa.gov/sightings/
2) On the right of the page beneath "Location Lookup", choose a country from the "Select Country" list (e.g. "Belgium")


Actual results:

The "Select Country" list continues to show "Select Country" instead of the selected country, although it seems to be selected as the "State or Region" and/or "City" list update accordingly.

However, because the selected country isn't shown in the "Select Country" list, the 
"State or Region" and "City" lists start to behave funny, because the javascript on the page cannot keep track of what values are selected.


Expected results:

The selected country should be visibly selected in the list.
The javascript on the page should work normally.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
tracking-e10s: --- → ?
Blocks: e10s
Maybe a dupe of bug 1069355
(In reply to Loic from comment #1)
> Maybe a dupe of bug 1069355
I think this issue is different. It shows no selected value rather than the wrong one.
In bug 1069355 the next value in the list is selected, whereas here it selects the value correctly but doesn't show that in the list. It looks as if no value is selected, but the correct value is selected.
That's not the same as selecting a wrong value and showing that wrong value as selected.
Error in Browser Console:
TypeError: this.global is null SelectContentHelper.jsm:35:4
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to Alice0775 White from comment #3)
> Error in Browser Console:
> TypeError: this.global is null SelectContentHelper.jsm:35:4

I get the same error. Should have noticed that before...
Last good revision: 8af276ab8636 (2015-03-31)
First bad revision: 37ddc5e2eb72 (2015-04-01)
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8af276ab8636&tochange=37ddc5e2eb72

Last good revision: e7e532d69293
First bad revision: fbd6031f2958
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=e7e532d69293&tochange=fbd6031f2958

Maybe
f448a7140747	Neil Deakin — Bug 1117586, [e10s] select dropdowns cannot be opened with the keyboard, r=roc
(In reply to Alice0775 White from comment #3)
> Error in Browser Console:
> TypeError: this.global is null SelectContentHelper.jsm:35:4

That error is also shown in builds before the regression.
pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=e7e532d69293&tochange=6df235c83a4a

Suspect: f448a7140747	Neil Deakin — Bug 1117586, [e10s] select dropdowns cannot be opened with the keyboard, r=roc
Blocks: 1117586
Flags: needinfo?(enndeakin)
Keywords: regression
(In reply to Elbart from comment #6)
> (In reply to Alice0775 White from comment #3)
> > Error in Browser Console:
> > TypeError: this.global is null SelectContentHelper.jsm:35:4
> 
> That error is also shown in builds before the regression.

indeed, this is a different bug.
Attached patch Fix missing return (deleted) — Splinter Review
Bah, there should be a return in there.
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Flags: needinfo?(enndeakin)
Attachment #8589691 - Flags: review?(roc)
Comment on attachment 8589691 [details] [diff] [review]
Fix missing return

Review of attachment 8589691 [details] [diff] [review]:
-----------------------------------------------------------------

Could use a test...
Attachment #8589691 - Flags: review?(roc) → review+
I'll add a test as part of bug 1047713.
Blocks: e10s-select
Neil, are we able to land this now? Can we land the test as part of this bug instead of as part of bug 1047713 as the latter is m8 and this is m6?
Flags: needinfo?(enndeakin)
Yes, this can be checked in as is. I can check in a test next week.
Flags: needinfo?(enndeakin)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/6988859d17c7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Hi Neil, can you provide a point value.
Iteration: --- → 40.2 - 27 Apr
Flags: qe-verify?
Flags: needinfo?(enndeakin)
Flags: firefox-backlog+
Points: --- → 1
Flags: needinfo?(enndeakin)
Reproduced the issue in Firefox 40 Nightly from April 5th on Windows 7 x64. The issue no longer reproduces with latest Firefox 40 Nightly (BuildID=20150421092928) on Windows 7 x64 or Mac OS X 10.8.5. Selection works fine when using mouse or keyboard.
Status: RESOLVED → VERIFIED
Flags: qe-verify? → qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: