<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx</link><description>Hello, I’m Sunava Dutta and I’m the Program Manager focused on improving our AJAX scenarios in IE8. In this short post I’ll introduce you to a feature we’re implementing in the browser that enables safer mashups. The Same Origin Policy (SOP) requires</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Browser Security News  &amp;raquo; Blog Archive   &amp;raquo; Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8519975</link><pubDate>Tue, 20 May 2008 02:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8519975</guid><dc:creator>Browser Security News  &amp;raquo; Blog Archive   &amp;raquo; Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.ie7security.net/2008/05/19/enabling-mashups-in-internet-explorer-8-with-cross-document-messaging/"&gt;http://www.ie7security.net/2008/05/19/enabling-mashups-in-internet-explorer-8-with-cross-document-messaging/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8520159</link><pubDate>Tue, 20 May 2008 03:04:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8520159</guid><dc:creator>Ian Hickson</dc:creator><description>&lt;p&gt;Here's a link to the actual spec:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/section-crossDocumentMessages.html"&gt;http://www.whatwg.org/specs/web-apps/current-work/multipage/section-crossDocumentMessages.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8520209</link><pubDate>Tue, 20 May 2008 03:18:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8520209</guid><dc:creator>Jeff Walden</dc:creator><description>&lt;p&gt;Note that the interface implemented by the current IE8 beta lags the HTML5 specification by several revisions in backwards-incompatible ways, so if you're going to experiment with this, be aware that what you're doing will break in a future revision of IE8.&lt;/p&gt;
&lt;p&gt;To save a little effort, the changes are as follows:&lt;/p&gt;
&lt;p&gt;- domain/uri properties are replaced with a single &amp;quot;origin&amp;quot; property, basically everything before the start of the path in a URI (excluding the username/password part) -- so &lt;a rel="nofollow" target="_new" href="http://example.com"&gt;http://example.com&lt;/a&gt;, &lt;a rel="nofollow" target="_new" href="http://example.org:8080"&gt;http://example.org:8080&lt;/a&gt;, etc.&lt;/p&gt;
&lt;p&gt;- window.postMessage requires two arguments, the first being the message, the second being the expected origin of the target window, in the same format as above; if the target window's location doesn't match this argument, nothing happens&lt;/p&gt;
&lt;p&gt;- window.postMessage dispatches events asynchronously, so after you dispatch you have to return from your event handler to allow the postMessage event to be dispatched&lt;/p&gt;
&lt;p&gt;- the target of the event is the window on which you called postMessage, not the document within it&lt;/p&gt;
&lt;p&gt;The Mozilla Developer Center also has good documentation of postMessage which may be useful:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://developer.mozilla.org/en/docs/DOM:window.postMessage"&gt;http://developer.mozilla.org/en/docs/DOM:window.postMessage&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think that covers all the relevant bases, but of course, refer to the &amp;nbsp;spec for exact details (URI in previous comment).&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8520214</link><pubDate>Tue, 20 May 2008 03:19:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8520214</guid><dc:creator>Jeff Walden</dc:creator><description>&lt;p&gt;By the way, commenting on this post consistently failed in Firefox 2 -- probably want to investigate that and figure out what's wrong.&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8520764</link><pubDate>Tue, 20 May 2008 05:29:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8520764</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;There's a good article on this here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://virtuelvis.com/archives/2005/12/cross-document-messaging"&gt;http://virtuelvis.com/archives/2005/12/cross-document-messaging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can try it out in Opera, which already supports this feature.&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8520854</link><pubDate>Tue, 20 May 2008 05:50:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8520854</guid><dc:creator>Jeff Walden</dc:creator><description>&lt;p&gt;Be careful with the Opera link, too -- it describes an even *earlier* version of the method that puts the method on document. &amp;nbsp;I think their latest betas moved to window, but they haven't made the uri/domain to origin change or most of the changes I mentioned in my first comment, either. &amp;nbsp;As I understand it, only Firefox 3 RC1 and recent WebKit nightlies are fully up-to-spec on this. &amp;nbsp;It'll be awesome once everyone's up to spec so we can really start playing with this stuff.&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8520893</link><pubDate>Tue, 20 May 2008 06:01:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8520893</guid><dc:creator>Jeff Walden</dc:creator><description>&lt;p&gt;Hm, now commenting from Firefox 2 is succeeding. &amp;nbsp;I have no idea what's going on here.&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8523196</link><pubDate>Tue, 20 May 2008 17:23:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8523196</guid><dc:creator>Awesome Bar</dc:creator><description>&lt;p&gt;The text selection options in the IE8 location bar are much better than any previous version of IE however the location bar falls massively short of the utter brilliance of the Firefox 3 location bar.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.dria.org/wordpress/archives/2008/04/17/628/"&gt;http://www.dria.org/wordpress/archives/2008/04/17/628/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Awesome Bar indeed! &amp;nbsp;I certainly hope that the IE team manages to pull off something good with IE8 and that the location bar is actually far from code-complete.&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8523248</link><pubDate>Tue, 20 May 2008 17:36:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8523248</guid><dc:creator>Rob</dc:creator><description>&lt;p&gt;&amp;quot;Note that the interface implemented by the current IE8 beta lags the HTML5 specification by several revisions...&amp;quot;&lt;/p&gt;
&lt;p&gt;Every blog post and article should include that statement about IE and any current or edge technology.&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8528541</link><pubDate>Wed, 21 May 2008 19:04:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8528541</guid><dc:creator>untitled.bmp</dc:creator><description>&lt;p&gt;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;untitled.bmp &amp;nbsp;&lt;/p&gt;
&lt;p&gt;sorted that crap coding problem yet in IE8?&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8528544</link><pubDate>Wed, 21 May 2008 19:04:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8528544</guid><dc:creator>untitled.bmp  </dc:creator><description>&lt;p&gt;untitled.bmp &amp;nbsp;&lt;/p&gt;
&lt;p&gt;sort it out!&lt;/p&gt;
</description></item><item><title>HR tags &amp; CSS! Light document object!</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8530794</link><pubDate>Thu, 22 May 2008 04:16:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8530794</guid><dc:creator>AH</dc:creator><description>&lt;p&gt;Just hoping for a fully-styleable HR element in IE8 &lt;/p&gt;
&lt;p&gt;as well as the optional lightweight Document object (as FF, Opera, Safari all have)&lt;/p&gt;
</description></item><item><title>HTML5</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8530795</link><pubDate>Thu, 22 May 2008 04:17:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8530795</guid><dc:creator>AH</dc:creator><description>&lt;p&gt;Oh, and I'm glad to hear you're finally working with WHATWG on HTML5, if I read this correctly :)&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8531847</link><pubDate>Thu, 22 May 2008 17:37:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8531847</guid><dc:creator>billybob</dc:creator><description>&lt;p&gt;I see it is the same Microsoft here... WHY does your version of a standard function always have to be slightly different to the actual spec?&lt;/p&gt;
&lt;p&gt;For a start, your function declaration is different to the one in the spec and makes the second parameter optional. &amp;nbsp;Your documentation does not specify what happens if you do not specify the target origin.&lt;/p&gt;
&lt;p&gt;In addition you break a number of the 5 steps you MUST take.&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;According to the spec, not supplying targetOrigin should result in a SYNTAX_ERR exception being thrown but your version allows it to be null.&lt;/p&gt;
&lt;p&gt;2. Your documentation says &amp;quot;The postMessage method call does not return until the event listeners of the target document have finished executing.&amp;quot; which is in direct contradiction with the spec which says it should return as soon as it has validated the targetOrigin.&lt;/p&gt;
&lt;p&gt;Please explain...&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8532214</link><pubDate>Thu, 22 May 2008 19:26:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8532214</guid><dc:creator>Jeff Walden</dc:creator><description>&lt;p&gt;To be fair, the spec only recently changed to what it is now from what Microsoft had implemented, so it's not entirely fair to complain that Microsoft implemented the spec incorrectly -- they were correct as of a few weeks ago! &amp;nbsp;Very few changes can or should be made with that sort of immediate turnaround without degrading quality or corrupting the development process (and in any case, IE betas don't happen nearly as often as nightlies from other browsers, so it still might have been awhile after the fix anyway).&lt;/p&gt;
&lt;p&gt;That said, I'm not sure why they posted this article so early knowing that their implementation was tracking an older version of the spec which is incompatible with the current version. &amp;nbsp;It seems like it would have been better for everyone if they'd updated to match the latest spec and only then made this post.&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8539130</link><pubDate>Fri, 23 May 2008 15:52:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8539130</guid><dc:creator>Mitch 74</dc:creator><description>&lt;p&gt;Let's just hope that they will actually update the implementation - you just have to see how 'fast' updating the event object was to get anxious about this, too!&lt;/p&gt;
&lt;p&gt;A little history... IE 4 implemented the event object according to a W3C draft, in 1996 (or early 1997) if my memory serves me well. Following that, the W3C event object was made more flexible in order to cover the Netscape event model too - leading to the current W3C event model.&lt;/p&gt;
&lt;p&gt;Since then, some developers hoped for an update in IE 5 (1998), IE 5.5 (1999) or IE 6 (2001); not luck here. Again, in IE 7 (2006): no cigar. And it doesn't seem to be intended for IE 8 either.&lt;/p&gt;
&lt;p&gt;Strangely, Opera (and Webkit/KHTML too) has been able to implement both models without too much trouble, as the W3C model is actually a superset of IE's model: so, backward compatibility can be kept (methods have different names) and standards support improved (IE is the only current browser not supporting the W3C event model).&lt;/p&gt;
&lt;p&gt;All in all, in ten years the event object has progressed a whopping... er... Nothing. In IE.&lt;/p&gt;
&lt;p&gt;Let's hope HTML5 mashups update will be infinitely faster...&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8540094</link><pubDate>Fri, 23 May 2008 19:26:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8540094</guid><dc:creator>Lenen</dc:creator><description>&lt;p&gt;Jim, thanks for that article, really informative. A good site also!&lt;/p&gt;
</description></item><item><title>re: Enabling Mashups in Internet Explorer 8 with Cross Document Messaging</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8541477</link><pubDate>Fri, 23 May 2008 23:41:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8541477</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;thanks for this article about &amp;quot;mashups&amp;quot; ! &lt;/p&gt;
</description></item><item><title>What's Coming in Internet Explorer 8 for IT Professionals?</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8592040</link><pubDate>Wed, 11 Jun 2008 23:01:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8592040</guid><dc:creator>IEBlog</dc:creator><description>&lt;p&gt;Yesterday at Tech Ed IT Pro 2008 in Orlando we announced some of the enhancements we’re making in Internet&lt;/p&gt;
</description></item><item><title>Updates for AJAX in IE8 Beta 2</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#8980199</link><pubDate>Tue, 07 Oct 2008 03:40:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8980199</guid><dc:creator>IEBlog</dc:creator><description>&lt;p&gt;Sunava Dutta here, a program manager focused on improving AJAX in the browser! Now that Internet Explorer&lt;/p&gt;
</description></item><item><title>IE8 Beta 2: изменения в AJAX</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#9013654</link><pubDate>Thu, 23 Oct 2008 23:40:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9013654</guid><dc:creator>Блог команды разработчиков Internet Explorer 8</dc:creator><description>&lt;p&gt;С вами Сунава Дутта (Sunava Dutta), программный менеджер Internet Explorer. В мои обязанности входит&lt;/p&gt;
</description></item><item><title>Internet Explorer 8 Final Available Now</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#9490445</link><pubDate>Thu, 19 Mar 2009 19:36:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9490445</guid><dc:creator>IEBlog</dc:creator><description>&lt;p&gt;Today we’re excited to release the final build of Internet Explorer 8 in 25 languages. IE8 makes what&lt;/p&gt;
</description></item><item><title>Internet Explorer 8 의 IT 관리자용 새로운 기능</title><link>http://blogs.msdn.com/ie/archive/2008/05/19/enabling-mash-ups-in-internet-explorer-8-with-cross-document-messaging.aspx#9491932</link><pubDate>Fri, 20 Mar 2009 10:21:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9491932</guid><dc:creator>IE8 팀 블로그</dc:creator><description>&lt;p&gt;&amp;amp;#160; &amp;amp;#160; 올랜도에서 개최된 Tech Ed IT Pro 2008 (영어) 에서 Internet Explorer 8 을 조직내에서 배포, 관리하기 위해, 몇가지 기능을&lt;/p&gt;
</description></item></channel></rss>