Testing Leave this Page

This page has the following tag.

<body onbeforeunload="return 'Are you sure?';">

When you try to close this web page you get the message "Are you sure?"