servo/tests/wpt/web-platform-tests/html/user-activation/resources/child-two.html

7 lines
303 B
HTML

<!DOCTYPE html>
<body style="background: red;">
<script>
window.parent.postMessage(JSON.stringify({"type": "child-two-loaded", "isActive": navigator.userActivation.isActive,
"hasBeenActive": navigator.userActivation.hasBeenActive}), "*");
</script>
</body>