Summary: | Crashes on document.formname.fieldname.focus() in Javascript | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Hogne Titlestad <m0ns00n> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
login_screen.html
backtrace.txt |
Description
Hogne Titlestad
2004-02-23 10:50:30 UTC
I cannot reproduce this with the following example form (and current 3.2.x branch): <form name="loginform" onsubmit="verifyFields()"> <input type="text" name="username"> <input type="text" name="password"> <input type="submit" name="Submit"> </form> Could you provide a complete example, please? Hey! That was fast! I can! I am attaching the HTML. Just click "Logg deg inn", the button, meaning "Log in", and it should crash. It does here in all variants every time. I am including the backtrace as well. My best regards, Hogne Titlestad On Monday 23 February 2004 11:12, Harri Porten wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > You are a voter for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=75903 > > > > > ------- Additional Comments From porten kde org 2004-02-23 11:12 ------- > I cannot reproduce this with the following example form (and current 3.2.x > branch): > > <form name="loginform" onsubmit="verifyFields()"> > <input type="text" name="username"> > <input type="text" name="password"> > <input type="submit" name="Submit"> > </form> > > Could you provide a complete example, please? Created an attachment (id=4851) login_screen.html Created an attachment (id=4852) backtrace.txt David was able to reproduce this crash. Still works for me. KHTMLPartBrowserExtension::updateEditActions calls inherits() on a NULL pointer. *** This bug has been marked as a duplicate of 75353 *** I reproduced this bug with Konqueror 3.2.2 on KDE 3.2.3. I found that Konqueror crashes on the line document.forms[n].fieldname.focus(); when it follows an alert(). This example will segfault: alert("You didn't entered a name"); document.forms[0].name.focus(); But this one won't: document.forms[0].name.focus(); alert("You didn't entered a name"); (and the effect is the same) |