Open
Bug 458751
Opened 17 years ago
Updated 3 years ago
When an image which is a link is selected and the keyboard is used to scroll up and down then the yellow popup bar counts 100's of popups.
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
People
(Reporter: restofjunk, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
If i am on a website and i click an image which opens up a new windows, i then close this window and return to the original page. this image is now selected (dotted line around it), if i then use the keyboard arrows to scroll down, the yellow popup bar will appear and claim that it is blocking 100's (the more i scroll the more i get) popup windows.
Reproducible: Always
Steps to Reproduce:
1. picture selected (not highlighted but selected)
2. keyboard arrows scroll
3. popup bar
Actual Results:
it happened
Expected Results:
not shown the popup bar
Comment 1•17 years ago
|
||
Could you retest in safe-mode? http://support.mozilla.com/en-US/kb/Safe+Mode
If it also happens in safe-mode, could you give a link to a page where this happens?
Reporter | ||
Comment 2•17 years ago
|
||
I can confirm this does happen in safe mode. I can always reproduce this on a uk paper's website (thesun.co.uk) presumably because of the way their site is written.
I have picked an article at random that has a picture that opens a new window.
http://www.thesun.co.uk/sol/homepage/showbiz/bizarre/article1782300.ece
If you click the large picture, close the popup, and then immediately use the arrow keys to scroll the error will happen.
Thanks
Comment 3•17 years ago
|
||
Ok thank you, I can indeed reproduce this on Windows XP.
It worked for the last time correctly before the notificationbar was broken (Bug 306210). And when this was fixed (Bug 304462) this bug appeared for the first time.
Blocks: 304462
Status: UNCONFIRMED → NEW
Component: General → Event Handling
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
QA Contact: general → events
Version: unspecified → Trunk
Updated•17 years ago
|
Flags: blocking1.9.1?
Well, the page does have some strange javascript code.
If you focus the big image in that page (click or if you don't want to open a
new window, just use tab few times), the focus is in under an <a> element, which
has event listener for keypress events. And regardless of the key you press,
script is trying to open a new window.
So for example (if you don't have 'search for text when I start typing' activated) pressing 'a' will try to open a new window.
But we do have some special code for up/down keys in popup blocking code.
That was added there long time ago, in bug 252326.
Seems like up/down makes the action to be 'openControlled'
http://mxr.mozilla.org/seamonkey/source/dom/public/base/nsPIDOMWindow.h#64
Comment 5•17 years ago
|
||
Sounds like the site is attempting to open popups when keys are pressed etc, and we're blocking them. Something apparently did change if this didn't use to happen, but whether that's due to a bug we fixed or introduced is not clear. Not going to block the release on figuring that out.
Flags: blocking1.9.1? → blocking1.9.1-
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•