2017-01-31 20:59:57 +01:00
|
|
|
<!DOCTYPE html>
|
2017-08-13 23:44:31 +02:00
|
|
|
<script src="firstPossibleCall.js"></script>
|
2017-01-31 20:59:57 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Test</title>
|
2019-02-20 08:13:37 +01:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
|
|
<link href="testIcon.svg" type="image/png" rel="icon">
|
|
|
|
<link href="testIcon.svg" type="image/png" rel="shortcut icon">
|
2017-01-31 20:59:57 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="top">
|
|
|
|
<h1>top Test</h1>
|
2017-10-10 20:33:42 +02:00
|
|
|
<img class="display"><br>
|
2018-05-26 15:36:55 +02:00
|
|
|
Hash: <span class="hash"></span> (isPointInPath: <span class="isPointInPath"></span>)
|
2017-04-23 00:25:33 +02:00
|
|
|
<button>refresh</button>
|
2017-01-31 20:59:57 +01:00
|
|
|
</div>
|
|
|
|
<div id="iframe">
|
|
|
|
<h1>iFrame Test. Thanks to DocumentRoot.</h1>
|
2017-10-10 20:33:42 +02:00
|
|
|
<img class="display"><br>
|
2018-05-26 15:36:55 +02:00
|
|
|
Hash: <span class="hash"></span> (isPointInPath: <span class="isPointInPath"></span>)
|
2017-01-31 20:59:57 +01:00
|
|
|
<iframe sandbox="allow-same-origin" style="display:none"></iframe>
|
2017-04-23 00:25:33 +02:00
|
|
|
<button>refresh</button>
|
2017-01-31 20:59:57 +01:00
|
|
|
</div>
|
2017-10-10 20:33:42 +02:00
|
|
|
</div>
|
|
|
|
<div id="iframe2">
|
|
|
|
<h1>iFrame Test 2 - with URL</h1>
|
|
|
|
<img class="display"><br>
|
2018-05-26 15:36:55 +02:00
|
|
|
Hash: <span class="hash"></span> (isPointInPath: <span class="isPointInPath"></span>)
|
2017-10-10 20:33:42 +02:00
|
|
|
<iframe src="?" sandbox="allow-same-origin" style="display:none"></iframe>
|
|
|
|
<button>refresh</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="iframe3">
|
|
|
|
<h1>iFrame Test 3 - violating SOP</h1>
|
|
|
|
<img class="display"><br>
|
2018-05-26 15:36:55 +02:00
|
|
|
Hash: <span class="hash"></span> (isPointInPath: <span class="isPointInPath"></span>)
|
2017-10-10 20:33:42 +02:00
|
|
|
<iframe src="http://example.org" style="display:none"></iframe>
|
|
|
|
<button>refresh</button>
|
|
|
|
</div>
|
2019-05-22 23:46:56 +02:00
|
|
|
<div id="iframe4">
|
|
|
|
<h1>iFrame Test 4 - different access 1</h1>
|
|
|
|
<img class="display"><br>
|
|
|
|
Hash: <span class="hash"></span> (isPointInPath: <span class="isPointInPath"></span>)
|
|
|
|
<button>refresh</button>
|
|
|
|
</div>
|
|
|
|
<div id="iframe5">
|
|
|
|
<h1>iFrame Test 5 - different access 2</h1>
|
|
|
|
<img class="display"><br>
|
|
|
|
Hash: <span class="hash"></span> (isPointInPath: <span class="isPointInPath"></span>)
|
|
|
|
<button>refresh</button>
|
|
|
|
</div>
|
|
|
|
<div id="iframe6">
|
|
|
|
<h1>iFrame Test 6 - different access 3</h1>
|
|
|
|
<img class="display"><br>
|
|
|
|
Hash: <span class="hash"></span> (isPointInPath: <span class="isPointInPath"></span>)
|
|
|
|
<button>refresh</button>
|
|
|
|
</div>
|
2017-08-13 23:44:31 +02:00
|
|
|
<script src="test.js"></script>
|
2017-01-31 20:59:57 +01:00
|
|
|
</body></html>
|