Closed Bug 151123 Opened 22 years ago Closed 22 years ago

javascript close statements cause mozilla to exit instead of just the tab

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 32571

People

(Reporter: jhaar, Assigned: jag+mozilla)

Details

Check out this form:

<form><input type="button" name="Close" onclick="return self.close()"
value="Close"></form>

That is supposed to close the current window. However I'd suggest that if it's
run within a tab - it should close the tab instead of the entire browser?

I *LOVE* tabs. I only run one browser windows with multiple tabs. You can
imagine the shock I got when mozilla shut down on me :-)

Keep up the great work!

Jason

*** This bug has been marked as a duplicate of 32571 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Eh.. thats not a dup of 32571

_this_ bug is about tabbed browsing...

Your testcase works fine in newer builds (I have 2002060700)

Bug 103452 was fixed around 4. June 2002.. so try a newer build :)

*** This bug has been marked as a duplicate of 103452 ***

*** This bug has been marked as a duplicate of 103452 ***
marking verified as a duplicate.

if you decide to reopen this bug, please clarify why.

search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.