From: <ddk...@ki...> - 2004-09-22 19:27:46
|
Stubbing out support for the "setInterval()" method would also fix some of the tests that hit various CNN web sites in the SanityCheck test class. (The JavaScript actually appears in banner ads for those sites!) I thought someone already uploaded a patch for this, but I can't find any relevent Bugs, Patches or RFEs on the SourceForge project site. Dave On Sun, Sep 19, 2004 at 08:13:04PM +0200, Klaus-Peter Berg wrote: > Hi Chris, > > unfortenately, this is little help provided by the htmlunit developer guys ;-( > I know that there is the setJavaScriptEnabled(false) feature, but sometimes I NEED JS execution! > E.g., my code does not work because the <DIV ...> statement is not processed properly, or another piece of code does not work because Window.setInterval() is missing. > > So I decided to go the hard way and patch the code by myself! > In the case of the <DIV...> statement I have already succeeded to write a workaround, and setInterval() is on the way... > Seems that is what open source is all about... > > --Klaus |