From kfm-devel Sat Dec 21 16:55:42 2002 From: Koos Vriezen Date: Sat, 21 Dec 2002 16:55:42 +0000 To: kfm-devel Subject: Re: Java applet not found (problem in the official DOM testsuite) X-MARC-Message: https://marc.info/?l=kfm-devel&m=104048976407200 On Thu, 19 Dec 2002, David Faure wrote: > Are you sure that something, in the JSUnit case, is creating a URL like > file://foo ? Running it with the JS Debugger I see that in kickOffTests() the call to top.testManager.resolveUserEnteredTestFileName() returns file:////home/koos/public_html/DOM-javabug/javabug/HTMLAppletElement01.html The test in if (userEnteredTestFileName.indexOf("http://") == 0 || userEnteredTestFileName.indexOf("file:///") == 0) return userEnteredTestFileName; return getTestFileProtocol()+this.getTestFileName(); fails and getTestFileProtocol() return file:/// and this.getTestFileName() returns /home/koos/public_html/DOM-javabug/javabug/HTMLAppletElement01.html I suspect the result of 'Browse' should be a file:///xxxx instead. Koos