blob: 41b53f8bb7d000e6373b544f0a0468344d1451b1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
onload = top.postMessage({'type': 'load'}, '*');
onmessage = (event) => {
if (event.data.type != 'run')
return;
let number = event.data.startingNumber;
let logs = [];
for (const frameName of event.data.order) {
const windowProxy = frameName == 'self' ? self : top[frameName];
windowProxy.internals.queueTask("DOMManipulation", () => logs.push(number++));
}
setTimeout(() => {
top.postMessage({'type': 'logs', logs}, '*');
}, 20);
}
</script>
</body>
</html>