Support Requests item #1019840, was opened at 2004-08-31 11:58
Message generated for change (Comment added) made by jimweaver
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=1019840&group_id=61302

Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: JavaScript Exception

Initial Comment:
It seems that every page containing javascript doesn't 
work properly.
I attach my java class that simply tries to open an html 
page (http://www.hotmail.com) and get the 
corresponding response. The following error appears:

SyntaxError: unterminated string literal (httpunit; ) 

at org.mozilla.javascript.NativeGlobal.constructError
(NativeGlobal.java:597)
at org.mozilla.javascript.TokenStream.reportSyntaxError
(TokenStream.java:1324)
at org.mozilla.javascript.TokenStream.getToken
(TokenStream.java:967)
at org.mozilla.javascript.TokenStream.matchToken
(TokenStream.java:634)
at org.mozilla.javascript.Parser.argumentList
(Parser.java:1144)

...
at com.meterware.httpunit.javascript.JavaScript.run
(JavaScript.java:80) 
at 
com.meterware.httpunit.javascript.JavaScriptEngineFact
ory.associate(JavaScriptEngineFactory.java:46) 
        at 
com.meterware.httpunit.RequestContext.runScripts
(RequestContext.java:44) 
at com.meterware.httpunit.WebWindow.getResponse
(WebWindow.java:119) 
at com.meterware.httpunit.WebWindow.updateWindow
(WebWindow.java:141) 
at 
com.meterware.httpunit.WebWindow.getSubframeRespon
se(WebWindow.java:127) 
at com.meterware.httpunit.WebWindow.getResponse
(WebWindow.java:118) 
at com.meterware.httpunit.WebClient.getResponse
(WebClient.java:112) 
at HomePage.main(HomePage.java:23)

Exception: java.lang.RuntimeException: 
Event 'javascript:DoSubmit();' failed: 
org.mozilla.javascript.JavaScriptException: 
com.meterware.httpunit.ScriptException:
failed: SyntaxError: unterminated string literal 
(httpunit; ) 


----------------------------------------------------------------------

>Comment By: Jim Weaver (jimweaver)
Date: 2004-09-14 15:09

Message:
Logged In: YES 
user_id=619947

closing - not a jwebunit issue.

----------------------------------------------------------------------

Comment By: Saleh matani (matani)
Date: 2004-09-03 09:06

Message:
Logged In: YES 
user_id=923609

hello Nobody , 

i think , you need reported as a bug in the httpUnit Project
!!!!

the Example that you have uploaded use to be reported by the
httpUnit framework! this is not a jWebUnit problem !!!

Saleh Matani

[EMAIL PROTECTED]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=1019840&group_id=61302


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to