projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- add sources.
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
test
/
data
/
popup_blocker
/
check-opener.html
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<title>Check that window.opener is set</title>
5
</head>
6
<body>
7
<div id="console"></div>
8
<script>
9
var log = document.querySelector("#console");
10
var result;
11
if (window.opener != null)
12
result = "PASS";
13
else
14
result = "FAIL: opener not set";
15
log.innerText = result;
16
document.title = result;
17
</script>
18
</body>
19
</html>