[Webkit-unassigned] [Bug 187288] [GTK][WPE] Add --host option to WebDriver process
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 5 00:58:48 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187288
Zan Dobersek <zan at falconsigh.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #344173|review? |review+
Flags| |
--- Comment #4 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 344173
--> https://bugs.webkit.org/attachment.cgi?id=344173
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=344173&action=review
> Source/WebDriver/HTTPServer.h:60
> + bool listen(std::optional<String> host, unsigned port);
Nit: it's not that crucial here, but const reference to the std::optional object could be used to avoid copying the object on each call to listen() as well as the soupServerListen() helper.
> Source/WebDriver/soup/HTTPServerSoup.cpp:46
> + g_set_error(error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, "Invalid host IP address '%s'", host.value().utf8().data());
Nit: not necessarily an IP address.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180705/71d31638/attachment.html>
More information about the webkit-unassigned
mailing list