[webkit-changes] [WebKit/WebKit] 35ced2: REGRESSION(263967 at main): [GTK][WPE] WTR: not possi...

Carlos Garcia Campos noreply at github.com
Mon Jun 19 00:25:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35ced2711f1af9ac8728eacf8e62895f0be8ffd6
      https://github.com/WebKit/WebKit/commit/35ced2711f1af9ac8728eacf8e62895f0be8ffd6
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp
    M Tools/WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp

  Log Message:
  -----------
  REGRESSION(263967 at main): [GTK][WPE] WTR: not possible to run WebKitTestRunner from any directory
https://bugs.webkit.org/show_bug.cgi?id=258202

Reviewed by Michael Catanzaro.

Since 263967 at main the fonts path is resolved using current working
directory, so it only works when called from top dir. We can simply use
TOP_LEVEL_DIR to build the fonts path.

* Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
(WTR::activateFonts):
* Tools/WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp:
(WTR::activateFonts):

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




More information about the webkit-changes mailing list