Closed Bug 835549 Opened 11 years ago Closed 11 years ago

No option to close alert() after immideately reappearing

Categories

(Firefox :: Untriaged, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 597934

People

(Reporter: sigurd.alnes, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17

Steps to reproduce:

If the page is refreshed using JavaScript immediently after showing an alert(), there will not be any option to stop the site from running scripts


Actual results:

Here is an example: ( https://cat.gg/projects/jsfail )
$(document).ready(function() {
    alert("ilu");
    window.location.reload();
});


Expected results:

There should have been a possibility to deny the site from showing alerts
This is well known and a dupe of an existing bug.
Group: core-security
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.