Created attachment 212287 [details] [diff] [review] Proposed fix Calling XPCNativeWrapper.prototype() should be a no-op and is the only time that we'll get into a class's call hook with an obj not of that class.
Comment on attachment 212287 [details] [diff] [review] Proposed fix r=me if you use NS_WARNING or whatever the non-fatal form is. It seems easy to reparent prototype and call it with a non-function |this| parameter, and we shouldn't count on non-fatal assertions. /be
12 years ago
Fix checked into trunk.
Verified FIXED using SeaMonkey trunk 2006-02-22-10 on Windows XP with the testcase at: https://bugzilla.mozilla.org/attachment.cgi?id=212273&action=view