This test should succeed. If you click on the Test Button, there should be a debug message saying "click1".
This page tests the djConfig.forceXDomain option, which forces even XHR loaded packages to be treated like cross-domain packages (do async loading, and use the dojo.hostenv.createXdPackage() to transform the XHR package content into a xdomain-compatible package.