[prev in list] [next in list] [prev in thread] [next in thread] 

List:       htmlunit-develop
Subject:    [HtmlUnit] [ htmlunit-Bugs-3007301 ] Exception thrown in YUI:
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2010-05-26 11:44:42
Message-ID: E1OHF2Q-00013G-DW () sfs-web-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #3007301, was opened at 2010-05-26 14:43
Message generated for change (Comment added) made by asashour
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=3007301&group_id=47038

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.6
> Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: nanobyt3 ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Exception thrown in YUI: "Sizzle" is not defined!

Initial Comment:
Hi,

We are using HTML Unit v2.6 with Web-Harvest and extended its functionality to create \
a new <web> element

	<web session="sess1" browser="firefox2">
		<web-getpage url="url"/>
		<web-setinput name="uname">username</web-setinput>
		<web-setinput name="pwd">password</web-setinput>
		<web-clickinput name="login"/>
	</web>

When we run this we get an exception while the <web-getpage/> element loads the URL \
specified. The details are as below:

Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot \
find function hasOwnProperty in object \
net.sourceforge.htmlunit.corejs.javascript.EcmaError: ReferenceError: "Sizzle" is not \
defined.   at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3651)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3629)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3657)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3676)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3740)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2249)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2216)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1501)
  at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:845)
  at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
  at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:427)
  at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:263)
  at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3058)
  at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:415)
  at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:520)
                
	... 42 more

As it appears that 'Sizzle' is causing this. We then checked the same in Firefox and \
IE but neither of the browsers showed any error of 'Sizzle' not being defined.

Is this a limitation(bug) of HTML Unit JavaScript engine?

OR 

Is there anyway to configure HTML Unit to handle this exception?

If anyone has already had such an issue, please do let us know.

Any help is very much appreciated.

Thanks in advance !

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

> Comment By: Ahmed Ashour (asashour)
Date: 2010-05-26 14:51

Message:
Please try with latest snapshot from
http://build.canoo.com/htmlunit/artifacts, and advise.

If you still have an issue, isolate a minimal test case as hinted in
http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/site/xdoc/submittingJSBugs.xml?view=markup


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=3007301&group_id=47038

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

_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic