<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
On Thu, 2010-07-08 at 19:18 +0200, Diego Perini wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
On Thu, Jul 8, 2010 at 4:03 PM, Lachlan Hunt <<A HREF="mailto:lachlan.hunt@lachy.id.au">lachlan.hunt@lachy.id.au</A>> wrote:<BR>
<BLOCKQUOTE>
On 2010-07-08 02:28, Garrett Smith wrote:<BR>
<BLOCKQUOTE>
This is about the fourth time I've said it here. Can the person in<BR>
charge of writing the slow and buggy ajvascript on the HTML 5 spec<BR>
please remove that?<BR>
<BR>
<BR>
The problem is that that whatwg page causes freezes and crashes in Firefox. i<BR>
</BLOCKQUOTE>
<BR>
As a workaround, you can use AdBlock in Firefox to block the offending script. Just manually add this URL to your block list.<BR>
<BR>
<A HREF="http://www.whatwg.org/specs/web-apps/current-work/status.js">http://www.whatwg.org/specs/web-apps/current-work/status.js</A><BR>
<BR>
<FONT COLOR="#888888">-- </FONT><BR>
<FONT COLOR="#888888">Lachlan Hunt - Opera Software</FONT><BR>
<FONT COLOR="#888888"><A HREF="http://lachy.id.au/">http://lachy.id.au/</A></FONT><BR>
<FONT COLOR="#888888"><A HREF="http://www.opera.com/">http://www.opera.com/</A></FONT>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
The problem is not only with Firefox and it happens I am not only using Firefox.<BR>
<BR>
Is there a similar blocking feature of Opera that you can suggest ?<BR>
<BR>
Also in Opera:<BR>
<BR>
Uncaught exception: Reference Error: Undefined variable: fixBrokenLink<BR>
Error thrown at line 39, column 5 in init() in <A HREF="http://dev.w3.org/html5/spec/Overview.html">http://dev.w3.org/html5/spec/Overview.html</A>: fixBrokenLink();<BR>
called from line 1, column 0 in <anonymous function>(event): init()<BR>
<BR>
I haven't reviewed the complete script itself but I have some thoughts about this (comparing behaviour on different browsers).<BR>
<BR>
I suspect that when the above is fixed it will take more time in Opera and other browsers throwing errors and (maybe) suspending execution. As a side note, should the browser completely suspend script execution when an event handler fails ?<BR>
<BR>
Isn't the error thrown in a different execution context when handling event listeners ?<BR>
<BR>
I believe the main execution context should not be suppressed, especially for an undeclared variable in a different context.<BR>
<BR>
Diego Perini<BR>
<BR>
</BLOCKQUOTE>
<BR>
Someone earlier mentioned the <A HREF="http://www.whatwg.org/specs/web-apps/current-work/?slow-browser">http://www.whatwg.org/specs/web-apps/current-work/?slow-browser</A> URL. Would it not be sensible to maybe make that the default behaviour, and then use a special ?crash-test type URL as the -<S>one that crashes the browsers-</S> stress test? That way, you'd still have the test if people wanted it, and those that don't won't get unexpected behaviour.<BR>
<BR>
Or maybe I'm misunderstanding the problem?<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Thanks,<BR>
Ash<BR>
<A HREF="http://www.ashleysheridan.co.uk">http://www.ashleysheridan.co.uk</A><BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>