Bug 148711 - [GTK] Support direct JS web extension loading
Summary: [GTK] Support direct JS web extension loading
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2015-09-02 09:40 PDT by Adrian Perez
Modified: 2017-03-11 10:55 PST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2015-09-02 09:40:10 PDT
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