Closed
Bug 192564
Opened 22 years ago
Closed 22 years ago
the javascript: close does not close the window of the enlarged photo
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: koc, Assigned: jst)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla 1.2.1
Javascript methods embedded on web pages should work. They do not.
Reproducible: Always
Steps to Reproduce:
1. Open a web page that has a simple javascript method such as <a
href="javascript:self.close();">Close</a> on it.
2. Click Close
Actual Results:
Nothing
Expected Results:
Window should close.
Javascript console constantly reports errors even on a page that has no javascript,
rendering it useless.
Comment 1•22 years ago
|
||
wfm with win2k build 20030210..
why should this block Mozilla development ? -> normal
Severity: blocker → normal
Comment 2•22 years ago
|
||
WFM 1.3b/OS X [2003021017]
Comment 3•22 years ago
|
||
Is the window that calls window.close() opened by the web site, or by the user?
Comment 4•22 years ago
|
||
This is per design: Scripts may not close windows that were not opened by script.
This can be permitted in a given profile by setting
|user_pref("dom.allow_scripts_to_close_windows", true);| in prefs. js, but
you must shut down the browser before editing that file, or the changes will
be overwritten.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Comment 5•20 years ago
|
||
*** Bug 276662 has been marked as a duplicate of this bug. ***
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•