Clicking the button below starts a timeout: after seven seconds, this
page will show an alert()
dialog. If:
then try clicking the button below and immediately locking your screen. In Gnome 3.4 on Debian, at least, this window will be visible over the screen lock when the dialog pops up, as in this photograph.
(This is bug #67337.)