Patchlet: avoiding a Type Error

David Faure faure at kde.org
Thu Oct 7 21:42:25 CEST 2004


The attached patch avoids a confusing "KJS Type Error: Null Value" in the debug output
when xmlhttprequest.send(null) is called. The error was cleared afterwards, but it's
still confusing, when the whole thing can be done cleanly with Object::dynamicCast().

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlhttpreq.diff
Type: text/x-diff
Size: 1441 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20041007/6ad4109f/xmlhttpreq.bin


More information about the Khtml-devel mailing list