Bug 148711
Summary: | [GTK] Support direct JS web extension loading | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adrian Perez <aperez> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bugs-noreply, lantw44, philip.chimento |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Adrian Perez
The rationale for this is the same as for bug #140745: we would like to
support loading JavaScript web extensions, in such a way that they can
the WebExtension API, and DOM bindings, via GObject Introspection.
There is one issue here: GJS is what provides tha JavaScript bindings to
the GNOME stack, and itself uses the Mozilla SpiderMonkey JS engine.
WebKit already ships JSC, and having both JS engines running in the same
process does not sound like a great idea. The alternative could be to use
Seed [2] instead, which uses JSC, but it seems pretty much unmaintained
(some GNU/Linux distributions are still shipping it, so it could be a
workable solution, dunno).
---
[1] https://wiki.gnome.org/Projects/Gjs
[2] https://wiki.gnome.org/Projects/Seed
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |