Can't we just stopPropagation/preventDefault on keycode 27?<br><br>C<br><br><br><div><span class="gmail_quote">On 12/4/06, <b class="gmail_sendername">Phil Mayers</b> &lt;<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href="mailto:glyph@divmod.com">glyph@divmod.com</a> wrote:<br>&gt; On 12:31 am, 
<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk</a> wrote:<br>&gt;&nbsp;&nbsp;&gt;Jean-Paul Calderone wrote:<br>&gt;&nbsp;&nbsp;&gt;&gt;On Mon, 04 Dec 2006 00:08:05 +0000, Phil Mayers<br>&gt; &lt;<a href="mailto:p.mayers@imperial.ac.uk">
p.mayers@imperial.ac.uk</a>&gt;<br>&gt;&nbsp;&nbsp;&gt;&gt;wrote:<br>&gt;&nbsp;&nbsp;&gt;&gt;&gt;Why?<br>&gt;&nbsp;&nbsp;&gt;&gt;&gt;<br>&gt;&nbsp;&nbsp;&gt;&gt;&gt;<a href="http://divmod.org/trac/browser/trunk/Nevow/nevow/js/Nevow/Athena/__init__.js#L570">http://divmod.org/trac/browser/trunk/Nevow/nevow/js/Nevow/Athena/__init__.js#L570
</a><br>&gt;&nbsp;&nbsp;&gt;&gt;<br>&gt;&nbsp;&nbsp;&gt;&gt;Lack of time to implement something different.<br>&gt;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&gt;Ok, I guess what I'm asking is - why is it ever necessary for the<br>&gt; client to<br>&gt;&nbsp;&nbsp;&gt;execute a close of the live connection via the keyboard (other than
<br>&gt;&nbsp;&nbsp;&gt;debugging of course) and will anything break if I comment that out?<br>&gt;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&gt;I'm guessing not.<br>&gt;<br>&gt; If escape isn't handled, then sometimes it will invoke the &quot;stop&quot;<br>
&gt; button, which causes random non-deterministic connection failures which<br>&gt; aren't immediately reported.&nbsp;&nbsp;I don't entirely understand the situation,<br>&gt; but an immediate failure is better than what was happening before.
<br>&gt;<br>&gt; I believe this is actually fixable, but as JP says, we don't have time<br>&gt; at the moment.<br><br>Hrm. Interesting. Ok. It's hardly a critical problem, thanks for taking<br>the time to reply (FWIW I was handling escape to trigger closure of an
<br>autocomplete dropdown &lt;div&gt;)<br><br>Do you happen to know what browsers the escape==stop behaviour occurs<br>under? I might take a look at it.<br><br>_______________________________________________<br>Twisted-web mailing list
<br><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
</a><br></blockquote></div><br>