Closed Bug 141328 Opened 22 years ago Closed 22 years ago

Javascript close all tabbed documents

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 103452

People

(Reporter: csainty, Assigned: rogerl)

Details

The javascript
top.window.close();

in one tabbed window will close down the entire browser including pages loaded
in other tabbed windows.

I also worry that it would be possible to access one tabbed window from another
through the top object, but I havnt looked at the code or bothered to try it out.
something like top.windows[1].document....
I dont know, something to look into :)
Duplicate of "javascript window.close should close tab, not complete browser
window"

> I also worry that it would be possible to access one tabbed window from
> another through the top object, but I havnt looked at the code or bothered to
> try it out.  something like top.windows[1].document....

No, that would not work.


*** This bug has been marked as a duplicate of 103452 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified Duplicate. Chris, thank you; you have been cc'ed on the duplicate -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.