W3C home > Mailing lists > Public > public-html-comments@w3.org > August 2008

Re: How to serialize Origin (Cross Document Messaging)

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 18 Aug 2008 21:00:57 +0000 (UTC)
To: Sunava Dutta <sunavad@windows.microsoft.com>
Cc: "public-html-comments@w3.org" <public-html-comments@w3.org>, IE8 Core AJAX SWAT Team <ieajax@microsoft.com>
Message-ID: <Pine.LNX.4.62.0808182058290.9667@hixie.dreamhostps.com>

On Mon, 18 Aug 2008, Sunava Dutta wrote:
> It seems that Firefox 3 aligns more close with HTML 5.0 here, i.e, it 
> does not return a trailing backslash. It's probably worth clarifying 
> that "Origin" as defined by HTML 5.0 is not a URI and it would be good 
> to have guidelines on how to serialize "Origin" so it can be 
> consistently used inside Javascript.

The definition of postMessage(), in step 5:


...links to the definition of "The Unicode serialization of an origin":


...which defines the exact string that must be given in the "origin" 
attribute of the MessageEvent object.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 18 August 2008 21:01:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:25 UTC