blob: 08c190bbf57ce87ef0a1b05e278186142ced4523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<html>
<head>
<title>Popup Blocked Post Blank</title>
<script>
function test() {
// We rely on sequential ordering of POST processing.
var form = document.getElementById('form');
form.submit();
}
</script>
</head>
<body onload="test()">
If the POST pop-up was not blocked then there will be an warning message displayed in a new tab. Otherwise, the test passes.
<form id="form" action="data:text/html,<title>Popup Success!</title>you should not see this message if popup blocker is enabled" target="_blank">
<input type="submit" value="Submit to new window"/>
</form>
</body>
</html>
|