This popup window does not work properly in Chrome.

The two first buttons should display an alert-box. The alert-box does not show up in Chrome.

The third button should show a confirm box. The result, after clicking OK/Cancel should be displayed in the text field below.
In Chrome, no confirm box is displayed, and Chrome also assume the Cancel button was clicked.

The fourth button just uses some JavaScript to change the innerHTML of the text field below it, and uses no alert() or confirm().
This works in Chrome.

If this page is opened by entering the address in the address field of the browser, then it works normally in Chrome.