Closed
Bug 312251
Opened 20 years ago
Closed 10 years ago
onunload=alert causes some focus selection issues when closing tab
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
Details
(Keywords: regression, testcase)
Attachments
(1 file)
271 bytes,
text/html
|
Details |
See upcoming testcase.
To reproduce:
- Open testcase in new tab
- Select the newly created tab with the testcase
- Middle-click to close the tab.
- Now select some text and right-click to bring up the context menu
Result:
The generic context menu comes up, but you should get the 'special' context
menu, when a selection has been made.
This regressed between 2005-01-19 and 2005-01-20:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-01-19+17%3A00%3A00&maxdate=2005-01-20+23%3A50%3A00&cvsroot=%2Fcvsroot
The only bug I can think of is bug 244366.
Reporter | ||
Comment 1•20 years ago
|
||
![]() |
||
Comment 2•19 years ago
|
||
Is this windows-only? middle-click doesn't close tabs on Linux...
Reporter | ||
Comment 3•19 years ago
|
||
Well, I get the bug also when right-clicking on the tab and clicking on 'Close
Tab' in the popup menu.
It also affects input fields and their context menu.
![]() |
||
Comment 4•19 years ago
|
||
Yeah, sounds windows-only -- I can't reproduce this on Linux.
That said, does the focus-suppression thing mrbkap landed yesterday help here?
Reporter | ||
Comment 5•19 years ago
|
||
You meant bug 309027, right? I'm still getting this bug with the 2005-10-24 trunk build.
![]() |
||
Comment 6•19 years ago
|
||
Yeah, that's the one I meant.
Updated•16 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Reporter | ||
Comment 7•10 years ago
|
||
This is wfm now.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•