<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Danny Thorpe &#187; code quality</title>
	<atom:link href="http://dannythorpe.com/tag/code-quality/feed/" rel="self" type="application/rss+xml" />
	<link>http://dannythorpe.com</link>
	<description>Dream &#38; Deliver</description>
	<lastBuildDate>Tue, 07 Feb 2012 17:50:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Recent Google Homepage / GMail Widget Update Laced With Script Errors</title>
		<link>http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/</link>
		<comments>http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 19:47:24 +0000</pubDate>
		<dc:creator>Danny Thorpe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[code quality]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[GMail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[script errors]]></category>

		<guid isPermaLink="false">http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/</guid>
		<description><![CDATA[About two days ago, my Google homepage suddenly became hostile toward me.  By hostile, I mean my IE7 browser is suddenly reporting a bunch of JavaScript errors and faults when loading the Google homepage that it wasn&#8217;t reporting before.  Whenever I visit my Google homepage now, I have to wade through 5 or 6 JavaScript error <a href='http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>About two days ago, my Google homepage suddenly became hostile toward me.  By hostile, I mean my IE7 browser is suddenly reporting a bunch of JavaScript errors and faults when loading the Google homepage that it wasn&#8217;t reporting before. </p>
<p>Whenever I visit my Google homepage now, I have to wade through 5 or 6 JavaScript error notifications before I can do anything.  I suspect the culprit is the Gmail gadget for the Google homepage, as I continue to get script errors while trying to browse email in-situ on the homepage.  The gmail gadget is also missing scrollbars on long messages. None of these problems are present when using Gmail itself, just when using the Google homepage.</p>
<p>As a developer, I have to have script debugging enabled in my browser.  This enables me to debug my web app code in the browser, but it also has the unfortunate side effect of pointing out JavaScript errors on every site I visit.  It&#8217;s surprising how much crappy code is out there in production.  Slashdot has degraded into the pretty much unusable range in recent months, and now the Google homepage / Gmail widget is following suit.</p>
<p>The script errors are not specific to IE.  Firefox 3 also notes 5 critical errors in its error console when navigating to my Google homepage. To Firefox&#8217;s credit, recording these script errors in a log rather than with popup dialogs is much less intrusive than IE, but that also means that significant script errors can go unnoticed by developers testing their web apps with Firefox.</p>
<p>The errors are:</p>
<p>Error: _IG_AddCustomEventHandler is not a function<br />
Source File: http://www.google.com/ig/f/lZ_kPjC_O4s/lib/libcore.js<br />
Line: 43</p>
<p>Error: _IG_AddEventHandler is not a function<br />
Source File: http://www.google.com/ig/f/irJtX0bmDdM/lib/libdynamic-height.js<br />
Line: 4</p>
<p>Error: _IG_Json is undefined<br />
Source File: http://www.google.com/ig/f/_pVqt4t_Qx8/lib/libviews.js<br />
Line: 1</p>
<p>Error: _IG_Prefs._parseURL is not a function<br />
Source File: http://www.google.com/ig/f/lZ_kPjC_O4s/lib/libcore.js<br />
Line: 78</p>
<p>Error: _IFPC is undefined<br />
Source File: http://www.google.com/ig/f/irJtX0bmDdM/lib/libdynamic-height.js<br />
Line: 2</p>
<p>So, to whoever turned on the new code a few days ago for either the Google Homepage or the Gmail widget for the homepage:  Please review your code and fix the crappy script that you&#8217;re dumping on us.  Your developer bretheren thank you for a speedy resolution so that we may get back to debugging our apps instead of debugging yours.</p>
<div style="text-align:center;width:100%;"><div style="margin:0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-0861479594738165";
/* End of Post */
google_ad_slot = "6510912161";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></div><p><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/" data-text="Recent Google Homepage / GMail Widget Update Laced With Script Errors"></a><a class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/"></a><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdannythorpe.com%2F2008%2F12%2F18%2Frecent-google-homepage-gmail-widget-update-laced-with-script-errors%2F&amp;title=Recent%20Google%20Homepage%20%2F%20GMail%20Widget%20Update%20Laced%20With%20Script%20Errors" id="wpa2a_4">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://dannythorpe.com/2008/12/18/recent-google-homepage-gmail-widget-update-laced-with-script-errors/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  dannythorpe.com/tag/code-quality/feed/ ) in 0.42196 seconds, on May 18th, 2012 at 3:26 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 18th, 2012 at 4:26 am UTC -->
