On bug 173433 I found that the port setup_environ_for_server() is setting some environment variables (like DISPLAY) that should not be setted there. Its the job of the driver (on _setup_environ_for_test()) setting that variables.
Created attachment 313101 [details] Patch
Comment on attachment 313101 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313101&action=review > Tools/Scripts/webkitpy/port/base.py:871 > + # Use the driver _setup_environ_for_test() method for that.. Double . at the end.
Committed r218482: <http://trac.webkit.org/changeset/218482>
Committed r218490: <http://trac.webkit.org/changeset/218490>