Closed Bug 1183623 Opened 9 years ago Closed 9 years ago

[e10s] URL bar input is ignored when a specific page is loaded

Categories

(Firefox :: General, defect)

defect
Not set
normal
Points:
2

Tracking

()

RESOLVED FIXED
Firefox 42
Tracking Status
e10s m8+ ---
firefox42 --- fixed

People

(Reporter: ttaubert, Assigned: enndeakin)

References

Details

Attachments

(2 files)

STR:

1) Open a new tab
2) Paste http://www.duden.de/rechtschreibung/institutionell and load it
3) Hit Cmd+L to focus the URL bar
4) Enter "asdf "asdf" or an actualy URL and hit Return

The sites takes you to http://www.duden.de/suchen/dudenonline?scope=all&s= instead of searching for "asdf asdf" or taking you to the URL.
Seems to happen only with e10s enabled. Would love to investigate this more but I don't have a lot of time currently, sorry.
Blocks: e10s
Summary: URL bar input is ignored when a specific page is loaded → [e10s] URL bar input is ignored when a specific page is loaded
yes, reproducible. This seems familiar, but a quick search didn't find a dupe.
tracking-e10s: --- → ?
Assignee: nobody → wmccloskey
Maybe related, I reported a similar bug two years ago:
https://bugzilla.mozilla.org/show_bug.cgi?id=966151

It's reproducible with e10s *disabled*.
Attached file Testcase
Steps:

1. Open the attached.
2. Click in the input field and then in the location bar
3. Type some text and press enter

The issue is that the page receives the key event when it should not do.
Do you want to take this bug Neil? I haven't started working on it.
I think what happens here is that:

1. The user presses Enter. The location bar receives a keydown event.
2. This causes the search to start and the content to get focused.
3. The keyup event then fires at the newly focused content.

Holding the enter key down causes this to work of course.
Sure, I'll take this. In fact I just figured out the code causing the bug and will work on a fix on Monday.
Assignee: wmccloskey → enndeakin
Status: NEW → ASSIGNED
Attachment #8636020 - Flags: review?(bugs)
Points: --- → 2
Attachment #8636020 - Flags: review?(bugs) → review+
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/1dfc7dab518c72b7541ee325480e80f88642645f
changeset:  1dfc7dab518c72b7541ee325480e80f88642645f
user:       Neil Deakin <neil@mozilla.com>
date:       Thu Jul 23 10:04:19 2015 -0400
description:
Bug 1183623, redirect keyup events to keydown target when focus shifts from chrome to content in-between, r=smaug
https://hg.mozilla.org/mozilla-central/rev/1dfc7dab518c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: