Second part of fix of issue http://code.google.com/p/chromium/issues/detail?id=3285.
A NPObject can be called as a construct if it implements NPN_Construct, and NOT implements NPN_InvokeDefault. Otherwise, NPN_InvokeDefault is called even when the object is called as a constructor. Review URL: http://codereview.chromium.org/56167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15029 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment