[Webkit-unassigned] [Bug 72484] [v8] Exception thrown in npObjectInvokeImpl may overwrite the exception message thrown by NPN_SetException

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 2 03:51:53 PST 2011


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





--- Comment #14 from Hongbo Min <hongbo.min at intel.com>  2011-12-02 03:51:52 PST ---
For Safari, Firefox and Opera, they are both not using v8 as javascript engine. In this sense, this patch serves as a chromium-specific bug-fixing.  It just provides a chance to solve such an issue but depending on the implementation in browser-side. 

In order to make chromium throwing the correct message set by NPN_SetException, chromium itself needs to apply another patch as described at http://codereview.chromium.org/8576001/

I had a try on Safari/Firefox/Opera, they also can't throw the expected message set by NPN_SetException. 

As far as I concerned,  this patch is the simplest solution for solving this issue for chromium/v8. I have also tried other solution, but will involve more changes even if NPAPI interface spec.

(In reply to comment #13)
> (In reply to comment #12)
> > Any comment? Nate.
> 
> What do Safari, Firefox, and Opera do in this case? We should try to match them if at all possible.

-- 
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