When the timestamp is zero, use WallTime::now() as the event time. Zero timestamps can happen in the WebDriver tests. Follow up to bug212338.
Created attachment 401115 [details] Patch
Comment on attachment 401115 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401115&action=review > Source/WebKit/Shared/libwpe/WebEventFactory.cpp:68 > + return WallTime::now(); I *think* that this is right, but I would prefer that Carlos García confirms =)
Comment on attachment 401115 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401115&action=review > Source/WebKit/Shared/libwpe/WebEventFactory.cpp:66 > + // Behave like GDK_CURRENT_TIME I would remove this comment, it might be confusing. Or I would say something like 0 means current time.
Committed r262702: <https://trac.webkit.org/changeset/262702>