Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland support? #381

Open
woutervanh opened this issue Jun 20, 2019 · 1 comment
Open

Wayland support? #381

woutervanh opened this issue Jun 20, 2019 · 1 comment

Comments

@woutervanh
Copy link

Would this wrapper also work on wayland?

@i-rinat
Copy link
Owner

i-rinat commented Jun 21, 2019

Nope. The code uses Xlib and GTK+ a lot. NPAPI itself is heavily tied to Xlib/X11 and GTK+, with both explicit and implicit dependencies. There is no way to make it work on Wayland.

It's possible to make PPAPI Flash work on Wayland, as PPAPI isolates all interactions with a system, to make sandboxing possible. There was project Mortar[1] at Mozilla which tried to bring PPAPI to Firefox. It could allow working PPAPI Flash even on Wayland, but-- nothing happened. Also its primary goal was to bring in PDFium, not Flash.

I guess it's still possible to implement something like that with minimal changes to the Firefox, with all PPAPI implementation living in a browser addon, rather than in Firefox itself, as Mortar had planned.

[1] https://wiki.mozilla.org/Mortar_Project; see page history for the hidden content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants