Skip to content

Commit 38278b8

Browse files
committed
Add a harness for testing cross origin iframes
1 parent 4fe5484 commit 38278b8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
7+
<title>Cross origin iFrame</title>
8+
<style type="text/css" media="screen">
9+
body {
10+
background-color: black;
11+
color: #999;
12+
height: 4000px;
13+
}
14+
15+
iframe {
16+
width: 800px;
17+
height: 400px;
18+
border: 2px solid green;
19+
}
20+
</style>
21+
</head>
22+
23+
<body>
24+
Iframe from a different origin as its parent:<br />
25+
<iframe src="https://example.com" />
26+
27+
</body>
28+
29+
</html>

0 commit comments

Comments
 (0)