WebEngine PolicyClient

Harshad RJ hrjet9 at gmail.com
Sat Mar 15 07:26:39 UTC 2014


On Sat, Mar 15, 2014 at 11:31 AM, Harshad RJ <hrjet9 at gmail.com> wrote:

> Even if I modify WebEngine and set the PolicyClient, it doesn't
> receive any callbacks. Is it disabled somewhere else? I looked at
> WebPage.java and found that the corresponding fwk* functions don't get
> called.

Sorry, I was not setting the PolicyClient correctly. Most of the
PolicyClient callbacks are working:
permitAcceptResourceAction, permitNavigateAction,
permitRedirectAction, permitSubmitDataAction

Not called:
permitEnableScriptAction

Not tested:
permitClosePageAction, permitNewPageAction, permitResubmitDataAction.


Any hints about why permitEnableScriptAction wouldn't get called?

Thanks,
HRJ


More information about the openjfx-dev mailing list