Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ecd6a615780c7d8a4ae6186c416316a5b27d0b9d
      
https://github.com/WebKit/WebKit/commit/ecd6a615780c7d8a4ae6186c416316a5b27d0b9d
  Author: Carlos Alberto Lopez Perez <[email protected]>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M Tools/Scripts/browserperfdash-benchmark
    M 
Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py

  Log Message:
  -----------
  [Tools][WPE][GTK] Support running browserperfdash-benchmark inside the 
flatpak SDK
https://bugs.webkit.org/show_bug.cgi?id=294723

Reviewed by Philippe Normand.

Currently browserperfdash-benchmark is running outside of Flatpak SDK and the 
browser
is running inside (via executing run-minibrowser script).

However, to support the upcoming plugin-plans (bug 294625) it is needed to run 
the runner
also inside Flatpak SDK because the the plugin process runs on the same pid 
than the runner.
And for this plugins to work on the right environment they should use the 
Flapak SDK one
and not the host one. For example, if they want to run 'ldd' that should happen 
inside the
flatpak SDK.

And this requires implementing a way of getting the TCP ports open from a given 
pid without
using 'lsof' or 'python-psutil' on simple_http_server_driver.py because neither 
of this two
tools is currently available on the Flatpak SDK.

* Tools/Scripts/browserperfdash-benchmark:
* 
Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
(linux_proc_get_listening_ports):
(SimpleHTTPServerDriver._find_http_server_port):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to