Bug 232078 - [GTK] Stop exporting original JS API
Summary: [GTK] Stop exporting original JS API
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: GTK4
  Show dependency treegraph
 
Reported: 2021-10-21 07:05 PDT by Michael Catanzaro
Modified: 2023-02-03 08:11 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2021-10-21 07:05:44 PDT
For GTK 4, we should use our linker version script to hide symbols from the original JS API, to ensure applications can only use the modern JSC API.
Comment 1 Michael Catanzaro 2023-02-03 08:11:11 PST
So this is actually impossible:

 * If we build shared libjsc, we inherently have to export everything.
 * If we build static libjsc, these symbols are already not exported.

Closing.