<?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>Indistinguishable from Jesse</title>
	<atom:link href="http://www.squarefree.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.squarefree.com</link>
	<description>Jesse Ruderman on Firefox, security, and more</description>
	<lastBuildDate>Tue, 17 Aug 2010 06:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Untrusted text in security dialogs</title>
		<link>http://www.squarefree.com/2010/07/14/untrusted-text-in-security-dialogs/</link>
		<comments>http://www.squarefree.com/2010/07/14/untrusted-text-in-security-dialogs/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 22:29:06 +0000</pubDate>
		<dc:creator>Jesse Ruderman</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[User Interfaces]]></category>

		<guid isPermaLink="false">http://www.squarefree.com/?p=596</guid>
		<description><![CDATA[I just gave a 10-minute lightning talk at SOUPS on the topic of untrusted text in security dialogs. I've been reading Firefox security bug reports over the years, and I've collected a list of things that can go wrong in security dialogs. New security dialogs should be tested against these attacks, or preferably designed to [...]]]></description>
			<content:encoded><![CDATA[<p>I just gave a 10-minute lightning talk at <a href="http://cups.cs.cmu.edu/soups/2010/">SOUPS</a> on the topic of <a href="http://www.squarefree.com/dialogs2010/presentation.xhtml">untrusted text in security dialogs</a>.</p>

<p>I've been reading Firefox security bug reports over the years, and I've collected a list of things that can go wrong in security dialogs. New security dialogs should be tested against these attacks, or preferably designed to not be dialogs.</p>]]></content:encoded>
			<wfw:commentRss>http://www.squarefree.com/2010/07/14/untrusted-text-in-security-dialogs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fuzzing talk at the Mozilla Summit</title>
		<link>http://www.squarefree.com/2010/07/14/fuzzing-talk-at-the-mozilla-summit/</link>
		<comments>http://www.squarefree.com/2010/07/14/fuzzing-talk-at-the-mozilla-summit/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 18:48:34 +0000</pubDate>
		<dc:creator>Jesse Ruderman</dc:creator>
				<category><![CDATA[Fuzzing]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.squarefree.com/?p=594</guid>
		<description><![CDATA[At the 2010 Mozilla Summit, I talked about my JavaScript engine and DOM fuzzers, which have each found many hundreds of bugs. I also talked about the automations that keep me sane when I fuzz these complex components. My slides are in the S5 web-based presentation format. You can click the Ø button to view [...]]]></description>
			<content:encoded><![CDATA[<p>At the 2010 Mozilla Summit, I talked about my JavaScript engine and DOM fuzzers, which have each found many hundreds of bugs.  I also talked about the automations that keep me sane when I fuzz these complex components.</p>

<p><a href="http://www.squarefree.com/fuzzing2010/fuzzing2010.xhtml">My slides</a> are in the <a href="http://meyerweb.com/eric/tools/s5/">S5 web-based presentation format</a>.  You can click the Ø button to view the presentation in "handout mode" and see what I planned to <em>say</em> while each slide was up.</p>

<p>I shared a presentation slot with Mozilla contractor Paul Nickerson, who has a separate slide deck.  He wisely saved the best part of his talk for the end: a demo of his font fuzzer causing Windows 7 to <a href="http://en.wikipedia.org/wiki/Blue_Screen_of_Death">blue-screen</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.squarefree.com/2010/07/14/fuzzing-talk-at-the-mozilla-summit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A turning point in the war on orange</title>
		<link>http://www.squarefree.com/2010/07/09/a-turning-point-in-the-war-on-orange/</link>
		<comments>http://www.squarefree.com/2010/07/09/a-turning-point-in-the-war-on-orange/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 20:40:59 +0000</pubDate>
		<dc:creator>Jesse Ruderman</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Tinderbox]]></category>

		<guid isPermaLink="false">http://www.squarefree.com/?p=589</guid>
		<description><![CDATA[Mozilla now runs over a million tests on each checkin. We're consistently including tests with new features, and many old features now have tests as well. We're running tests on multiple versions of Windows. We've upped the ante by considering assertion failures and memory leaks to be test failures. We're testing things previously thought untestable, [...]]]></description>
			<content:encoded><![CDATA[<p>Mozilla now runs over a million tests on each checkin.  We're consistently including tests with new features, and many old features now have tests as well.  We're running tests on multiple versions of Windows.  We've upped the ante by considering assertion failures and memory leaks to be test failures.  We're testing things previously thought untestable, on every platform, on every checkin.</p>

<p>One cost of running so many tests is that a few tests that each fail 1% of the time can quickly add up to <a href="http://tests.themasta.com/tinderboxpushlog/">3-5 intermittent failures per checkin</a>.  Historically, this has been a major source of pain for Mozilla developers, who are <a href="https://developer.mozilla.org/En/Developer_Guide/Committing_Rules_and_Responsibilities#Check.c2.a0Tinderbox">required</a> to identify all oranges before and after checking in.</p>

<p>Ehsan and I have pretty much eliminated the difficulty of starring intermittent failures on Tinderbox.  Ehsan's <a href="http://ehsanakhgari.org/blog/2010-04-09/assisted-starring-oranges">assisted starring feature for TinderboxPushlog</a> was a breakthrough and <a href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=558482,572587,574929,570730">keeps getting better</a>.  The orange almost stars itself now.  <a href="http://quotes.burntelectrons.org/5196">The public data fairy lives</a>.</p>

<p>I'm only aware of <a href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=538462+558496">two frequent oranges</a> that are difficult to star, and we have fixes in hand for both.</p>

<p>But we should not forget the need to reduce the number of intermittent failures now that they are easy to ignore.  They're still an annoyance, and many of them are real bugs in Firefox.</p>

<p><a href="http://etherpad.mozilla.com:9000/WarOnOrange">What makes it hard to diagnose and fix intermittent failures in Firefox's automated tests?</a>  Let's fix these remaining unnecessary difficulties.</p>]]></content:encoded>
			<wfw:commentRss>http://www.squarefree.com/2010/07/09/a-turning-point-in-the-war-on-orange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assertion stacks on Tinderbox</title>
		<link>http://www.squarefree.com/2010/06/28/assertion-stacks-on-tinderbox/</link>
		<comments>http://www.squarefree.com/2010/06/28/assertion-stacks-on-tinderbox/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 07:23:21 +0000</pubDate>
		<dc:creator>Jesse Ruderman</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Tinderbox]]></category>

		<guid isPermaLink="false">http://www.squarefree.com/?p=580</guid>
		<description><![CDATA[Logs from Mozilla automated tests often include assertion failures. Now, on Linux and 32-bit Mac, the logs also include stack traces for those assertion failures. You can see an example assertion stack from a recent Tinderbox log. When a debug build of Firefox hits a non-fatal assertion, an in-process stack walker prints out libraries and [...]]]></description>
			<content:encoded><![CDATA[<p>Logs from Mozilla automated tests often include assertion failures.  Now, on Linux and 32-bit Mac, the logs also include stack traces for those assertion failures.  You can see an <a href="http://pastebin.mozilla.org/742645">example assertion stack</a> from a recent Tinderbox log.</p>

<p>When a debug build of Firefox hits a non-fatal assertion, an in-process stack walker prints out libraries and offsets.  <a href="http://hg.mozilla.org/mozilla-central/file/default/tools/rb/fix_stack_using_bpsyms.py">A new Python script</a> post-processes the stack trace, replacing the library+offset with function names and line numbers that it gets from <a href="http://code.google.com/p/google-breakpad/wiki/SymbolFiles">Breakpad symbol files</a>.  (Tinderbox strips native symbols from binaries, so the old scripts using atos/addr2line don't work on Tinderbox.)</p>

<p>The new script was added in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=570287">bug 570287</a> and now runs on Linux64, Linux32, and Mac32 Tinderboxen.  It will work on Mac64 <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=558947">soon</a>.  It could work on Windows if someone brave were to dive into <a href="http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsStackWalk.cpp">nsStackWalk.cpp</a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=575188">improve its baseline output on Windows</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.squarefree.com/2010/06/28/assertion-stacks-on-tinderbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Better error summaries on Tinderbox</title>
		<link>http://www.squarefree.com/2010/06/13/better-error-summaries-on-tinderbox/</link>
		<comments>http://www.squarefree.com/2010/06/13/better-error-summaries-on-tinderbox/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 11:02:57 +0000</pubDate>
		<dc:creator>Jesse Ruderman</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Tinderbox]]></category>

		<guid isPermaLink="false">http://www.squarefree.com/?p=572</guid>
		<description><![CDATA[I recently landed a fix so that when Firefox crashes or hangs on Tinderbox, the error summary shows which test was running. As we add more tests and platforms to Tinderbox, it's increasingly important for developers to be able to identify each test failure quickly and accurately. Good error summaries make assisted starring of random [...]]]></description>
			<content:encoded><![CDATA[<p>I recently landed a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=570730">fix</a> so that when Firefox crashes or hangs on Tinderbox, the error summary shows which test was running.</p>

<p>As we add more tests and platforms to Tinderbox, it's increasingly important for developers to be able to identify each test failure quickly and accurately.  Good error summaries make <a href="http://ehsanakhgari.org/blog/2010-04-09/assisted-starring-oranges">assisted starring of random oranges</a> possible, which greatly reduces the pain induced by <a href="http://joblivious.wordpress.com/2009/02/20/handling-intermittence-how-to-survive-test-driven-development/">intermittent failures</a>. Good error summaries also make it possible to <a href="http://brasstacks.mozilla.com/topfails/">track which failures are most frequent</a>, and therefore concentrate on fixing the most important ones.</p>

<p>Error summaries for crashes could be further improved by showing <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=571436">what kind of process crashed</a> and a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=570723">signature based on the stack trace</a>.</p>

<p>I'd also like to see better error summaries for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=571423">memory leaks</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=482177">compiler errors</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=457976">python errors</a>, and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=522792">failures in smaller build steps</a>.</p>

<p>If you see other error summaries on Tinderbox that could be improved, please file bugs. It's an easy way to help Mozilla scale across branches, and it's cheaper than cloning philor.</p>]]></content:encoded>
			<wfw:commentRss>http://www.squarefree.com/2010/06/13/better-error-summaries-on-tinderbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simon Willison on phishing defense</title>
		<link>http://www.squarefree.com/2010/03/02/simon-willison-on-phishing-defense/</link>
		<comments>http://www.squarefree.com/2010/03/02/simon-willison-on-phishing-defense/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 19:05:02 +0000</pubDate>
		<dc:creator>Jesse Ruderman</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[User Interfaces]]></category>

		<guid isPermaLink="false">http://www.squarefree.com/?p=569</guid>
		<description><![CDATA[If you want to stay safe from phishing and other forms of online fraud you need at least a basic understanding of a bewildering array of technologies—URLs, paths, domains, subdomains, ports, DNS, SSL as well as fundamental concepts like browsers, web sites and web servers. Misunderstand any of those concepts and you’ll be an easy [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>If you want to stay safe from phishing and other forms of online fraud you need at least a basic understanding of a bewildering array of technologies—URLs, paths, domains, subdomains, ports, DNS, SSL as well as fundamental concepts like browsers, web sites and web servers. Misunderstand any of those concepts and you’ll be an easy target for even the most basic phishing attempts. It almost makes me uncomfortable encouraging regular people to use the web because I know they’ll be at massive risk to online fraud.</p></blockquote>

<p>- <a href="http://simonwillison.net/2010/Mar/2/bewildering/">Simon Willison</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.squarefree.com/2010/03/02/simon-willison-on-phishing-defense/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
