WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
148711
[GTK] Support direct JS web extension loading
https://bugs.webkit.org/show_bug.cgi?id=148711
Summary
[GTK] Support direct JS web extension loading
Adrian Perez
Reported
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
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug