Closed Bug 58419 Opened 25 years ago Closed 24 years ago

[Javascript] window.onblur=self.close; does not close window at the onblur event

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME
mozilla0.9.1

People

(Reporter: gmc, Assigned: joki)

References

Details

(Keywords: dom0)

[Javascript] window.onblur=self.close; // does not close window at the onblur event
*** Bug 58420 has been marked as a duplicate of this bug. ***
Browser, not engine --> DOM Level 0
Assignee: rogerl → jst
Component: Javascript Engine → DOM Level 0
QA Contact: pschwartau → desale
Event problem, reaassigning to joki.
Assignee: jst → joki
Marking as NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
More generally: window.close(); document.close(); self.close(); none of these functions work. ie: the window object cannot close itself.
Setting milestone.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
Keywords: dom0
Related to bug 31426?
The window control code has changed a lot for 6.5 and this seems to work okay now. window.close and self.close both work correctly. Document.close is a different function which shouldn't close the window anyway.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Verified with 2001-06-05-09.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.