blob: 65e0f498a85384ccbc322c4a26aa308c37d78e27 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script>
const observer = new PerformanceObserver(list => {
list.getEntries().forEach(entry => {
window.parent.postMessage(JSON.stringify({type: 'received', entry}), '*');
});
});
observer.observe({entryTypes: ["paint"]});
window.onmessage = e => {
window.parent.postMessage(JSON.stringify({supported: PerformanceObserver.supportedEntryTypes, type: 'supported'}), '*');
document.body.innerText = "TEXT";
}
</script>
</head>
<body>
</body>
</html>