SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Oct 2012
    0 Post(s)
    0 Thread(s)

    HTML5 cross document messaging vs. crossdomain policy.

    Hello all,

    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,
    Last edited by TechnoBear; Oct 3, 2012 at 03:45. Reason: Example URLs delinkified

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts