-
Notifications
You must be signed in to change notification settings - Fork 32
/
demo.html
26 lines (19 loc) · 1008 Bytes
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML>
<head>
<meta charset=utf-8>
<meta http-equiv="origin-trial" content="Aq8QDT0tjerxoPx2KGlNVwdkrRTldXUcj0TI3Rdvw/I771OHtpORM6yML/fe8JntQJM6nlqVZDnrZkUQFVnZ0QQAAABieyJvcmlnaW4iOiAiaHR0cHM6Ly9zcGFuaWNrZXIuZ2l0aHViLmlvOjQ0MyIsICJmZWF0dXJlIjogIkxvbmdUYXNrT2JzZXJ2ZXIiLCAiZXhwaXJ5IjogMTQ3OTI2OTc0N30=">
<title>Long Task Demo</title>
<link rel=stylesheet href=style.css>
<script src="init.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
</head>
<body onload="init();">
<button id="jank">[Parent] Make Slow Task</button>
<div id="eventlog" class="eventLog" style="width: 90%; height: 200px; border: 1px solid;"></div>
<iframe src="demo-child.html" style="width: 90%; height: 300px" name="childA"></iframe>
<iframe src="https://en.wikipedia.org/wiki/Xyzzy" style="width: 90%; height: 300px" name="wikiKitty"></iframe>
<script>
var begin = window.performance.now();
while (window.performance.now() < begin + 400);
</script>
</body>