Closed
Bug 175604
Opened 23 years ago
Closed 23 years ago
javascript:print() gets 'run over'
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 172921
People
(Reporter: bart, Assigned: rogerl)
Details
The following script:
function printandclose() {
print();
close();
}
when called from the <body onload>, closes the window. When i insert a
location="bar.html" between the print and close, it prints bar.html, and not the
body in which it was called. It looks like the command after print() gets to run
first.
In mozilla 1.0 (where i initially wrote it) it worked fine. It printed the page
and closed it afterwards.
Comment 1•23 years ago
|
||
dupe of "Window close, without printing."
*** This bug has been marked as a duplicate of 172921 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 2•23 years ago
|
||
Verified Duplicate.
Bart: thank you for this report; you have been cc'ed on the other
bug so you can follow progress on this.
Note the query tool at http://bugzilla.mozilla.org/query.cgi
can be used to spot duplicates before filing.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•