Request for review 7150345: [macosx] Can't type into applets

Dmitry Cherepanov dmitry.cherepanov at
Mon Mar 5 14:53:14 PST 2012

Hi Anton,

Anton V. Tarasov wrote:
> With your changes you allow cross-app focus requests to an applet.
> This means that an applet may receive focus on java level, while 
> native system will reject it.
> I see that the problem is that LWCToolkit.isApplicationActive() 
> returns false for EmbeddedFrame.
> May be we should change the implementation of this method so that it 
> look at the embedder?

Thanks for the review. Here's an update webrev:

The fix introduces focus handlers for NPAPI focus events to start 
tracking the "active" state of the embedder and now it rejects focus 
requests if the embedder isn't active.


More information about the macosx-port-dev mailing list