[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:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2002-12-21 16:55:42
[Download RAW message or body]

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

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

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