avim icon indicating copy to clipboard operation
avim copied to clipboard

Support Electrolysis (Fennec)

Open 1ec5 opened this issue 11 years ago • 1 comments

Split out from #25

AVIM supported the very first versions of Fennec (now Firefox Mobile), but then Fennec 4.0 adopted an IPC architecture called Electrolysis that severely restricts access to page content from chrome. Mozilla also tried to move desktop Firefox in that direction at one point.

Although such architectures are generally seen as optimal for extensions like AVIM that primarily interface with page DOM, AVIM relies on anonymous DOM nodes, internal command handlers, and various other features that would never be available to the page context. So simply shoving AVIM into a page script would break most of AVIM’s unique feature set and expose it to conflicts with in-page IMEs like avim.js.

I’m not sure what the solution is, but we’ve continually gotten requests to bring back Firefox Mobile support, because unfortunately people found out about it at about the time Electrolysis landed.

1ec5 avatar Sep 20 '14 22:09 1ec5

Fennec appears to use the same message manager architecture as Firefox, but for some reason keyboard event targets always refer to the browser. Maybe that means Fennec is running a child frame inside each frame?

1ec5 avatar Sep 20 '14 22:09 1ec5