[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Java applet not found (problem in the official DOM testsuite)
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2003-01-09 22:30:21
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 21 December 2002 17:55, Koos Vriezen wrote:
> I suspect the result of 'Browse' should be a file:///xxxx instead.

Thanks a lot for this finding - I have now sent a patch to the JSUnit maintainer
and to the DOM-TS people.

All HTMLApplet* tests load fine now. However HTMLDocument01.html fails,
because the load-event is never emitted. This can be reproduced very easily,
without the whole JSUnit stuff around it, by simply opening document.html
(attached). The wheel never stops spinning, KHTMLPart is waiting for the
onload event from the applet. What I don't understand is that _no_ 
AppletStateNotification message is being sent around at all.

Yes, the HTML points to non-existing files applet1.class and applet2.class
(this is how it is in the testsuite), but
- - replacing this with the relative name of a class file, and adding CODEBASE,
doesn't seem to change anything (I used something that apparently works fine
when <APPLET> isn't inside an <OBJECT> tag).
- - well it works in other browsers, even with "applet1.class" and "applet2.class"
(not existing).

Note that you need a line.gif and a logo.gif so that the image loading works.
Thanks for any help (this Java stuff is far out my area:) )

- -- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Klarälvdalens Datakonsult AB, Platform-independent software solutions
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Hff972KcVAmwbhARAsopAJ0ZiUuNKzVOBOwzNpSK5l/+j0jpnQCghXrC
8HUT8TF82sQ9vdCOu6OPyF0=
=8hrl
-----END PGP SIGNATURE-----

["document_reduced.html" (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
</HEAD>
<BODY ID="TEST-BODY">
<P>
<OBJECT DATA="line.gif" CODETYPE="image/gif" HEIGHT="10">
<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
</OBJECT>
<OBJECT DATA="logo.gif" type="image/gif">
<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
</OBJECT>
</P>
</BODY>
</HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic