HTML5 cross document messaging vs. crossdomain policy.
This may be a totally foolish question. if so, apologies in advance!
I am reading about HTML5 and I read about this new Cross Document Messaging API. Whatever I've understood is it will help communicate between documents being served by most probably different subdomains, which people mostly use to enhance performance and maintain/organize structure of files on the server.
I've been using crossdomain.xml and allowing access to resources from http://www.domain.ext, http://domain.ext and http://*.domain.ext with just 3 lines of code in crossdomain.xml. What extra advantage am I going to get out of 'postMessage API' as I've been unable to find any real world examples where this postMessage API is being used?
Any light thrown on the matter will be highly appreciated.
Thanks in advance,