I supposed it so... but I'm receiving the same order of messages for this case too:
<script>
someGrid = new dhtmlXGridObject('someGridContainer');
// additional someGrid settings...
someGrid.loadXML("url", function () {
console.log('inside loadXML');
});
for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
console.log('after loadXML');
</script>