Open
Bug 957550
Opened 12 years ago
Updated 3 years ago
infinite number of new windows and thunderbird opens with just a click
Categories
(Core :: General, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: naveenkharab1, Unassigned)
Details
Attachments
(1 file)
|
988 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131206152142
Steps to reproduce:
<!doctype html>
<html>
<head>
<title>Javascriptex</title>
<script>
function show_a()
{
switch(document.getElementById("an_n").value)
{
case "mohit":
window.open("hi");
break;
default:
var num=0;
while(num<512)
{
window.open("http://www.w3schools.com","_blank","toolbar=yes, scrollbars=yes, resizable=no, top=400, left=500, width=400, height=400");
num++;
}
}
}
</script>
</head>
<body>
<form name="frmanimal">
<input type="text" name="animal_name" id="an_n" ></br>
<input type="submit" value="check_an" onclick="show_a()">
</form>
</body>
</html>
Actual results:
infinite number of new windows opened and either u need to kill the process or force quit
Expected results:
pop up blocker should defend user or limited number of windows should be opened
Comment 1•12 years ago
|
||
We've tried that, and it breaks legitimate sites. :( So right now click events (unlike most events that allow limited numbers of popups) are explicitly not limited in terms of number of popups they can open, since the assumption is that the user explicitly asked for the operation by clicking... and that if they don't like the result they just won't visit that site again.
| Reporter | ||
Comment 2•12 years ago
|
||
oka(In reply to Boris Zbarsky [:bz] from comment #1)
> We've tried that, and it breaks legitimate sites. :( So right now click
> events (unlike most events that allow limited numbers of popups) are
> explicitly not limited in terms of number of popups they can open, since the
> assumption is that the user explicitly asked for the operation by
> clicking... and that if they don't like the result they just won't visit
> that site again.
but it will be great if number of popup is limited or if u prompt user to prevent additional pop-ups
| Reporter | ||
Comment 3•12 years ago
|
||
change http: to mailto: and thunderbird will crash the system
Summary: infinite number of new windows opened with just a click → infinite number of new windows and thunderbird opens opened with just a click
| Reporter | ||
Updated•12 years ago
|
Summary: infinite number of new windows and thunderbird opens opened with just a click → infinite number of new windows and thunderbird opens with just a click
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•