[webkit-changes] [WebKit/WebKit] 3ac993: [WPE][WebDriver] Do not use a default port number ...

Carlos Alberto Lopez Perez noreply at github.com
Mon Jan 13 07:22:12 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ac9933f9835473958c2843cd46524f99322a9ae
      https://github.com/WebKit/WebKit/commit/3ac9933f9835473958c2843cd46524f99322a9ae
  Author: Carlos Alberto Lopez Perez <clopez at igalia.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M Source/WebDriver/WebDriverService.cpp

  Log Message:
  -----------
  [WPE][WebDriver] Do not use a default port number for the BiDi WebSocket server
https://bugs.webkit.org/show_bug.cgi?id=285625

Reviewed by Adrian Perez de Castro.

Instead of asigning a default of 4445 to the BiDi server port when it is not
specified, derive that number for the HTTP server port that has to be always
specified.

This allows running several WebDriver instances in the same Host without having
to manually specify a BiDi port. Otherwise, the default 4445 port for BiDi will
be in use after the first WebDriver instance not allowing the second one to start.

Meanwhile at it, improve a bit the logging related to the startup of the servers.

* Source/WebDriver/WebDriverService.cpp:
(WebDriver::WebDriverService::run):

Canonical link: https://commits.webkit.org/288800@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