[PATCH] IE compatibility for Date.parse

agateau at dental-on-line.fr agateau at dental-on-line.fr
Wed Apr 5 20:53:50 BST 2006


Harri Porten wrote:

> On Tue, 4 Apr 2006, agateau at dental-on-line.fr wrote:
> 
>> (Sorry for the late answer, my wife gave birth three days ago)
> 
> Now that is a good excuse for being offline for some time.
> Congratulations!

Thanks!
 
>> I didn't run the Date.js tests. After looking around, I found khtmltests
>> (in trunk/tests/khtmltests) but didn't find any Date.js file. Can you
>> tell me where it is (or do I need to checkout the whole khtmltests?)
> 
> That file can be found
> here:
> http://websvn.kde.org/trunk/tests/khtmltests/regression/tests/js/Date.js
> 
> Together with base.js (same directory) you make just do a "make check" in
> the KJS sub directory and issue
> 
>    ./testkjs base.js Date.js
> 
> Of course, there are many more Data tests (from the Mozilla test suite)
> but this should suffice for a start.

I was able to build testkjs, it runs ok on math.js, but I get this on
Date.js:

# ~/build/debug/kdelibs/kjs/testkjs base.js Date.js
--> Start Of Test
Exception: TypeError - Type error

This happens without my patch. I'm using testkjs from kdelibs 3.4.3. Any
idea?

Aurélien





More information about the kfm-devel mailing list