-
I'm using jWebUnit 2.0, which now has HtmlUnit support. When I try to test my application with JavaScript enabled, I get the following error message.
======= EXCEPTION START ========
EcmaError: lineNumber=[9] column=[0] lineSource=[]
name=[TypeError]
sourceName=[http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js]
message=[TypeError: Cannot call method "indexOf"...
2008-10-28 22:02:50 UTC in HtmlUnit
-
I changed my User-Agent to Firefox on the Mac:
Now I get a new issue:
JavaScript error loading page http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/signup.html: [object Error]...
2007-08-29 19:49:00 UTC in HtmlUnit
-
I tried commenting out the offending code:
/*var _3bc=dojo.doc().createElement("script");
_3bc.src="javascript:'dojo.html.createExternalElement=function(doc, tag){ return doc.createElement(tag); }'";
dojo.doc().getElementsByTagName("head")[0].appendChild(_3bc);*/
Now I get a new error:
JavaScript error loading page...
2007-08-29 19:37:32 UTC in HtmlUnit
-
I need this functionality to test an application I'm upgrading to Tapestry + Dojo. I'm willing to do the work to implement it (or at least not throw an error on it). Do you have any suggestions on what classes I should look at to modify?
Thanks,
Matt.
2007-08-29 09:34:07 UTC in HtmlUnit
-
mraible committed patchset 223 of module navigator to the Struts Menu CVS repository, changing 1 files.
2007-08-28 04:52:00 UTC in Struts Menu
-
Tapestry 4.1.2 includes Dojo 0.4.3. I'm trying to test my application with WebTest R_1600. Unfortunately, I'm getting the following error:
JavaScript error loading page http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/signup.html: Wrapped com.gargoylesoftware.htmlunit.ScriptException: unknown protocol: javascript...
2007-08-27 17:47:54 UTC in HtmlUnit
-
mraible committed patchset 222 of module navigator to the Struts Menu CVS repository, changing 2 files.
2007-06-25 03:19:58 UTC in Struts Menu
-
mraible committed patchset 221 of module navigator to the Struts Menu CVS repository, changing 1 files.
2007-06-01 22:59:35 UTC in Struts Menu
-
mraible committed patchset 220 of module navigator to the Struts Menu CVS repository, changing 2 files.
2007-06-01 22:58:28 UTC in Struts Menu
-
mraible committed patchset 219 of module navigator to the Struts Menu CVS repository, changing 1 files.
2007-06-01 22:35:51 UTC in Struts Menu