From: Brad C. <yo...@br...> - 2005-03-22 19:04:26
|
I'm not really sure what a javascript url does when loaded into a frame. Could you provide the relevant part of the html source? That fixture looks like it's using a very old version of HtmlUnit but has added to the HtmlUnit jar instead of creating it's own so I'm not sure how you'd update it. --- "Welsh, Patrick" <pat...@ab...> wrote: > Hello all: > > Thanks, first of all, for the excellent tool! > > I'm using it via Joe Bergin's HtmlFixture for FitNesse, but the issue I > have may be an HtmlUnit problem, so I'm posting it here. > > When I execute javascript in an anchor tag that submits the current > form, I get back this from HtmlUnit: > > "java.lang.IllegalArgumentException: javascript urls can only be used to > load content into frames and iframes > at > com.gargoylesoftware.htmlunit.WebClient.makeWebResponseForJavaScriptUrl( > WebClient.java:1496)" > > What does this mean? Why does makeWebResponseForJavaScriptUrl care where > the content is loaded? Is there a workaround for me? > > Thanks much, > > --Patrick > > Patrick Wilson-Welsh > Software Development > Abridean Corp > |