repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
security
/
popup-blocked-from-window-open.html
blob
476ea2f86f8544fcc280ef7ef9a400204042b5c5
1
<html>
2
<body>
3
<script>
4
if
(
window
.
testRunner
) {
5
testRunner
.
dumpAsText
();
6
testRunner
.
setCloseRemainingWindowsWhenComplete
(
true
);
7
}
8
9
win
=
window
.
open
(
"about:blank"
);
10
alert
(
win
?
"FAIL"
:
"PASS"
);
11
</script>
12
</body>
13
</html>