[Webkit-unassigned] [Bug 83107] [X11][WebKit2][Plugins] wrong changing return-value for DefaultHandled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 16 22:08:48 PDT 2012


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





--- Comment #3 from Kwangmin Bang <justine.bang at samsung.com>  2012-04-16 22:08:48 PST ---
By your comment, i verified that return-value is changed by "!" operator in gtk/qt port.

However, Mozilla NPAPI explains like below.

https://developer.mozilla.org/en/NPP_HandleEvent
If the plug-in handles the event, the function should return true.
If the plug-in ignores the event, the function returns false.

In other words, If plugin return true, webkit should call setDefaultHandled();

By NPAPI guide, I think my patch is right.
And, mac port of webkit2 also does not change that.

What's your opinion ?

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