summaryrefslogtreecommitdiffstats
path: root/Tools/TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.html
blob: bded58089c38f02b0a978c15ea9328cbd2edf905 (plain)
1
2
3
4
5
6
<script>
document.addEventListener("visibilitychange", function(event) {
    // Send a signal to the test controller via alert.
    alert('visibilitychange');
});
</script>