[webkit-changes] [WebKit/WebKit] 0edee8: [GTK][WPE] Allow runtime injected bundle path

Jani Hautakangas noreply at github.com
Thu Sep 12 07:04:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0edee8851012ef0120a1f1da87c50a5e45f2d968
      https://github.com/WebKit/WebKit/commit/0edee8851012ef0120a1f1da87c50a5e45f2d968
  Author: Jani Hautakangas <jani at igalia.com>
  Date:   2024-09-12 (Thu, 12 Sep 2024)

  Changed paths:
    M Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorUtils.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp

  Log Message:
  -----------
  [GTK][WPE] Allow runtime injected bundle path
https://bugs.webkit.org/show_bug.cgi?id=279509

Reviewed by Michael Catanzaro.

On some platforms, the injected bundle path cannot be hardcoded at build time
because WebKit libraries cannot be installed system-wide; instead, they are
installed to an application-specific, sandboxed filesystem. This is the case,
for example, with Android/WPEView. Therefore, we need a way to set the injected
bundle path at runtime. Currently, this is only possible in developer builds,
but it is also needed in non-developer builds on Android.

* Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorUtils.cpp:
(Inspector::backendCommands):
* Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp:
(injectedBundleDirectory):

Canonical link: https://commits.webkit.org/283553@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list