When you load the url and click the text field "Foobar" should become selected, but doesn't. Seems to be a problem with the new forms since shipping Safari and Omniweb (as well as Gecko-based browsers) both behave properly. This isn't an issue with this.select() as it works perfectly on other event handlers (onfocus, onmouseover, etc), nor is it an issue with onclick as other javascript works fine.
radar <rdar://problem/4946959>
Created attachment 12956 [details] patch, change log, layout test
Comment on attachment 12956 [details] patch, change log, layout test Looks good to me, and has nice layout test. r=me
Committed revision 19416.