Open
Bug 112296
Opened 23 years ago
Updated 5 months ago
window.onfocus JS event goes in a loop
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
NEW
People
(Reporter: madhur, Unassigned)
References
Details
(Keywords: spec-needed, Whiteboard: domcore-bugbash-triaged)
Attachments
(1 file)
272 bytes,
text/html
|
Details |
NS6.2 : 2001-10-22-0.9.4 branch build
NS6.2.1 : 2001-11-26-6.2.1 rtm build
window.onfocus JS event f=goes in a loop. see attached testcase.
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
*** This bug has been marked as a duplicate of 77271 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•23 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
That's not a duplicate.
Happens also on build:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a4pre) Gecko/2007040204 Minefield/3.0a4pre
Please reopen this bug.
Comment 5•18 years ago
|
||
Reopening. This is still an issue. Tested on Win2k.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a4pre) Gecko/20070410 Minefield/3.0a4pre
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•18 years ago
|
Assignee: joki → events
Status: REOPENED → NEW
QA Contact: trix → ian
Updated•16 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•2 years ago
|
Severity: normal → S3
Comment 6•5 months ago
|
||
Hi Simon, do you know what the expected behavior here?
:afarre pointed out that this doesn't seem to be specified explicitly per https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#simple-dialogs
Flags: needinfo?(zcorpan)
Whiteboard: domcore-bugbash-triaged
Comment 7•5 months ago
|
||
Right the spec doesn't say so much what alert
does for focus, but it seems Firefox, Chrome and Safari agree to blur the tab and then fire focus
when the dialog is closed. (In Chrome you need to switch to another tab and back in the test case to get the first focus
event.)
Keeping NI to file a spec issue.
Updated•5 months ago
|
Flags: needinfo?(zcorpan)
Keywords: spec-needed
See Also: → https://github.com/whatwg/html/issues/10664
You need to log in
before you can comment on or make changes to this bug.
Description
•