<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>ASP.NET AJAX UI</title><link>http://forums.asp.net/1008.aspx</link><description>Here you can discuss UI-related issues with AJAX such as controls and client-side functionality including Silverlight controls for ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1404545.aspx</link><pubDate>Wed, 20 Sep 2006 05:05:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1404545</guid><dc:creator>mattgi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1404545.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1404545</wfw:commentRss><description>&lt;p&gt;Thanks Steve.&amp;nbsp; I expect this fix to be in our next release.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1386463.aspx</link><pubDate>Thu, 31 Aug 2006 20:18:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1386463</guid><dc:creator>TorgerJW</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1386463.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1386463</wfw:commentRss><description>Bump. Me too.&lt;br /&gt;</description></item><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1382700.aspx</link><pubDate>Mon, 28 Aug 2006 15:32:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1382700</guid><dc:creator>MTri</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1382700.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1382700</wfw:commentRss><description>&lt;p&gt;This is an issue for me as well.&lt;/p&gt;&lt;p&gt;&amp;nbsp;-MT&lt;/p&gt;</description></item><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1379756.aspx</link><pubDate>Thu, 24 Aug 2006 14:03:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1379756</guid><dc:creator>psyvision</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1379756.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1379756</wfw:commentRss><description>I too am having this issue, except on an ajax heavy page.&lt;br /&gt;&lt;br /&gt;I have a grid view on the right, an accordion on the left along with a popup control extender, update panels and an update progress.&lt;br /&gt;&lt;br /&gt;The only thing that isn't working is the popup control extender which was diagnosed as having the same issue as Steve by using the Firebug extension for Firefox.&lt;br /&gt;&lt;br /&gt;I am also using the July CTP with Firefox 1.5.0.6&lt;br /&gt;</description></item><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1368120.aspx</link><pubDate>Fri, 11 Aug 2006 11:18:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1368120</guid><dc:creator>StuWhite</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1368120.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1368120</wfw:commentRss><description>&lt;p&gt;I would have thought that quite a large number of Firefox users install extensions. I use the SearchStatus extension which causes the same problem. &lt;/p&gt;
&lt;p&gt;I see this as a very serious bug and hope that the Atlas Development team can get it fixed quickly. I can't help but think that if the bug affected&amp;nbsp;all IE users who had add-ons installed, then perhaps Microsoft would give it a higher priority...&lt;/p&gt;</description></item><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1362716.aspx</link><pubDate>Mon, 07 Aug 2006 03:02:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1362716</guid><dc:creator>steve harman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1362716.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1362716</wfw:commentRss><description>FYI - This thread didn't seem to be getting any attention, so I &lt;a href="http://stevenharman.net/blog/archive/2006/08/04/The_ATLAS_Framework__Callback_Handler_JavaScript_Bug.aspx"&gt;wrote up a post&lt;/a&gt; about the issue on my blog. If you are reading this tread and looking for more info, you might want to take a look at my post... and feel free to leave any feedback that you may have.&lt;br /&gt;</description></item><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1362708.aspx</link><pubDate>Mon, 07 Aug 2006 02:50:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1362708</guid><dc:creator>jeffreymcmanus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1362708.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1362708</wfw:commentRss><description>Atlas team, it would be terrific to get a workaround or a fix for this...I'm launching a site that uses Atlas soon and I might have to scale back my use of Atlas because of this problem.</description></item><item><title>Re: Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1358534.aspx</link><pubDate>Wed, 02 Aug 2006 12:41:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1358534</guid><dc:creator>steve harman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1358534.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1358534</wfw:commentRss><description>Looks like the link to my old post about the exception didn't work... so &lt;a HREF="/thread/1336435.aspx"&gt;try this one&lt;/a&gt;.&lt;br /&gt;</description></item><item><title>Browser Plugins Cause javaScript Exception in Async Callback Handler...</title><link>http://forums.asp.net/thread/1358123.aspx</link><pubDate>Wed, 02 Aug 2006 02:32:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1358123</guid><dc:creator>steve harman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1358123.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1358123</wfw:commentRss><description>I posted about &lt;a&gt;this issue before&lt;/a&gt;, but didn't root-cause it as I *thought* a fix was on the way in the July CTP. I was wrong.&lt;br /&gt;&lt;br /&gt;If you read the post I linked to above, you will see a snippet of the following method (from the Atlas.js file):&lt;br /&gt;&lt;br /&gt;&lt;font face="Courier New" size="2"&gt;this._updateStyleSheet = function(cssText) &lt;br /&gt;{&lt;br /&gt;&amp;nbsp; var head = document.getElementsByTagName('HEAD')[0];&lt;br /&gt;&amp;nbsp; var styles = document.styleSheets;&lt;br /&gt;&amp;nbsp; var styleSheet = &lt;font color="#ff0000"&gt;styles[styles.length - 1]&lt;/font&gt;;&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; if (Sys.Runtime.get_hostType() == Sys.HostType.InternetExplorer) &lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; styleSheet.cssText = cssText;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; else &lt;br /&gt;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000ff"&gt;for (var i = &lt;b&gt;styleSheet.cssRules&lt;/b&gt;.length - 1; i &amp;gt;= 0; i--)&lt;/font&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; styleSheet.deleteRule(i);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;var ruleLines =cssText.split('}');&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;for (var j =0;j &amp;lt;ruleLines.length;j++)&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;{&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;var rule =ruleLines[j];&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;var index =rule.indexOf('{');&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;var style =rule.substr(index +1).trim();&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;if (style.length !=0)&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;{&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;var selector =rule.substring(0,index).trim();&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;styleSheet.insertRule(selector +'{'+style +'}', styleSheet.cssRules.length);&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font face="Courier New" size="2"&gt;}&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;}&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;}&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;}&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;The line in &lt;font color="#ff0000"&gt;red &lt;/font&gt;is the root cause of the issue, and the symptom (a &lt;font color="#0000ff"&gt;&lt;b&gt;NS_ERROR_DOM_BAD_URI&lt;/b&gt;&lt;/font&gt; exception) is caused by the line in &lt;font color="#0000ff"&gt;blue&lt;/font&gt;.&lt;br /&gt;&lt;br /&gt;Now, here's the issue... some Firefox plugins (i.e. - the &lt;a href="http://www.cocomment.com/tools/extension"&gt;CoComment Extension&lt;/a&gt;) will load an external stylesheet after the page has been downloaded, putting the plugin's stylesheet at the end of the &lt;font face="Courier New" size="2"&gt;document.styleSheets &lt;/font&gt;array. &lt;br /&gt;&lt;br /&gt;This is a problem as the &lt;font face="Courier New" size="2"&gt;_updateStyleSheet &lt;/font&gt;method
expects the last item of the array to be some stylesheet specific to
the Atlas framework. But due to the plugin, it isn't at the end (at
index &lt;font size="2"&gt;&lt;font face="Courier New"&gt;styles.length-1&lt;/font&gt;&lt;/font&gt;), but rather it is two from the end (at index &lt;font size="2"&gt;&lt;font face="Courier New"&gt;styles.length-2&lt;/font&gt;&lt;/font&gt;).&lt;br /&gt;&lt;br /&gt;With the CoComment plugin this causes an issue because we don't seem to have access to the URI, and &lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;styleSheet.cssRules&lt;/font&gt;&lt;/font&gt;
will throw the mentioned exception. I would suggest that instead of
blindly assuming the Atlas specific styleSheet is at the end of the
array, the &lt;font face="Courier New" size="2"&gt;_updateStyleSheet &lt;/font&gt;method should go thru the array (from end to start) looking for a specific attribute of the &lt;font face="Courier New" size="2"&gt;&amp;lt;script&amp;gt;&lt;/font&gt; tag ... or better yet, the ID!&lt;br /&gt;&lt;br /&gt;This
should be considered a big issue as I'm sure there are plenty of other
plugins/extensions for Firefox (and likely other browsers) that will
cause the same issue.&lt;br /&gt;&lt;br /&gt;Also... is this the right place to report
such bugs, or is there a bug-tracker that the Atlas team uses and /or I
can contact them directly?&lt;br /&gt;&lt;br /&gt;Thanks in advance!</description></item></channel></rss>