blob: 708bbfe02dcefb1173a5b15df7627d01739a5e43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!doctype html>
<html>
<head><title>Frozen Child iframe</title></head>
<body>
<script>
// This child removes itself from the parent on dispatch of the freeze event.
// Regression test of https://crbug.com/994442
window.document.addEventListener("freeze", () => {
window.frameElement.remove();
});
</script>
</body>
</html>
|