test: function (url) {
            var ret = true, xhr;
            try {
                // try the lowest footprint synchronous request to specific url.
                xhr = new XMLHttpRequest();