[Webkit-unassigned] [Bug 80005] V8 javascript engine should throw an exception on this case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 4 17:59:30 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=80005





--- Comment #1 from Yanbin <yanbin.zhang at intel.com>  2012-03-04 17:59:31 PST ---
The issue is V8Peerconnection.cpp

  if (args.Length() <= 1 || !args[1]->IsObject())

should be

 if (args.Length() <= 1 || !args[1]->IsFunction())

IsFunction is inherited from IsObject. While, Callback function should be defined as Function strictly instead of Object.

V8Peerconnetion.cpp is generated by Peerconnection.idl.
We should modify idl definition .

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list