Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35ced2711f1af9ac8728eacf8e62895f0be8ffd6
      
https://github.com/WebKit/WebKit/commit/35ced2711f1af9ac8728eacf8e62895f0be8ffd6
  Author: Carlos Garcia Campos <cgar...@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@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@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to