Web pages can intercept events in the Firefox 3.6 address bar

RESOLVED INCOMPLETE

Status

()

Firefox
General
RESOLVED INCOMPLETE
8 years ago
3 years ago

People

(Reporter: Kevin Prest, Unassigned)

Tracking

3.6 Branch
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 IPMS/0100007F-14B55BBDDFD
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 IPMS/0100007F-14B55BBDDFD

It seems to be possible for web pages to intercept events in the Firefox 3.6 address bar. On some pages on nciku.com (a Chinese-English dictionary), pressing Enter in the address bar performs an action on the site, rather than going to the url I entered.

Specifically, on nciku.com search results pages such as http://www.nciku.com/search/all/test , if I go to the page then immediately type another address in the Firefox address bar and press Enter, the page performs a search on that page instead of me going to that address.

Whether or not there's some bug in that site, webpages should not be able to steal keypresses from the browser's address bar.

This happens to Firefox 3.6 on at least Windows XP and OSX; probably all operating systems. Previous versions of Firefox worked correctly.

Reproducible: Always

Steps to Reproduce:
1. go to www.nciku.com/search/all/test (or any search results page on nciku.com)
2. click in the Firefox browser's address bar (without clicking anywhere on the page first)
3. enter a url into the Firefox address bar, e.g. www.google.com
4. press enter
Actual Results:  
A search is performed on the nciku.com website

Expected Results:  
I am taken to the address I typed in

Tested on Windows XP and OSX 10.6.2, both with the same results on Firefox 3.6. Previous versions of Firefox (up to 3.5.7) worked correctly.

Comment 1

7 years ago
The same browser bug is discussed here: https://support.mozilla.com/en-US/forum/1/637371#threadId722847 ("Firefox triggers onkeyup event on textbox while focus is in firefox address bar").

Comment 2

7 years ago
This is a duplicate of bug 551434 (I reported the same problem recently, for the same website).

Updated

7 years ago
Version: unspecified → 3.6 Branch
Reporter, Firefox 4.0.1 has been released, and it features significant improvements over previous releases. Can you please update to Firefox 4.0.1 or later, and retest your bug? Please also create a fresh profile (
http://support.mozilla.com/kb/Managing+profiles), update your plugins (Flash, Java, Quicktime, Reader, etc) and update your graphics driver and Operating system to the latest versions available. 

If you still continue to see this issue, please comment. If you do not, please close this bug as RESOLVED > WORKSFORME

filter: prefirefox4uncobugs

Comment 4

3 years ago
Do you still see this problem when using a current version started in safe mode?
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode?redirectlocale=en-US&redirectslug=Safe+Mode

If you still continue to see this issue, please comment. If you do not, please close this bug as RESOLVED > WORKSFORME
Whiteboard: [closeme 2015-03-25]

Comment 5

3 years ago
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2015-03-25]
You need to log in before you can comment on or make changes to this bug.