Re: jquery and webtest with htmlunit 2.8: the data necessary to complete this operation is not yet available

smuruges <senthilkumarm2000-/[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]>

Josep García wrote:
> 
> Having upgraded to webtest R_1810, I am now have a lot of problems with
> jQuery:
> 
> ERROR (com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter) -
> runtimeError: message=[The data necessary to complete this op
> eration is not yet available.] sourceName=[
> http://localhost:8081/xxxxx-web-1.4-SNAPSHOT/scripts/jquery-1.4.4.js]
> line=[897] lin
> eSource=[null] lineOffset=[0]
> 
> The relevant lines of jQuery is the doScroll() one from this fragment:
> 
>     try {
>         // If IE is used, use the trick by Diego Perini
>         // http://javascript.nwbox.com/IEContentLoaded/
>         document.documentElement.doScroll("left");
>     } catch(e) {
>         setTimeout( doScrollCheck, 1 );
>         return;
>     }
> 
> Is this a bug?
> 
> No problems like this with webtest 3.0 and htmlunit 2.5.
> 
> Josep
> 
> 

I  am seeing the same issue with jquery 1.4.2 as well in webtest 3.0 and
htmlunit 2.8

-- 
View this message in context: http://old.nabble.com/jquery-and-webtest-with-htmlunit-2.8%3A-the-data-necessary-to-complete-this-operation-is-not-yet-available-tp30201144p30888599.html
Sent from the WebTest mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.