Bug 194919

Summary: webkitpy: Forward HOME to XPC processes
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, ews-watchlist, glenn, lforschler
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Jonathan Bedard 2019-02-21 14:11:57 PST
I think we should be forwarding the HOME environment variable child XPC processes, although I need to do a bit more testing to verify.
Comment 1 Jonathan Bedard 2019-02-21 14:12:41 PST
<rdar://problem/48135951>
Comment 2 Jonathan Bedard 2019-02-21 14:15:55 PST
Created attachment 362643 [details]
Patch
Comment 3 Alexey Proskuryakov 2019-02-21 15:30:52 PST
Comment on attachment 362643 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=362643&action=review

> Tools/Scripts/webkitpy/port/driver.py:415
> +        environment['__XPC_HOME'] = environment.get('HOME')

I don't understand why this became necessary now.

Did you reproduce the problem, and see it fixed with this change? Even if so, we probably need better understanding of the problem than what I saw documented yet.
Comment 4 Jonathan Bedard 2019-02-21 16:40:13 PST
(In reply to Alexey Proskuryakov from comment #3)
> Comment on attachment 362643 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=362643&action=review
> 
> > Tools/Scripts/webkitpy/port/driver.py:415
> > +        environment['__XPC_HOME'] = environment.get('HOME')
> 
> I don't understand why this became necessary now.
> 
> Did you reproduce the problem, and see it fixed with this change? Even if
> so, we probably need better understanding of the problem than what I saw
> documented yet.

Sorry, no, I have not yet been able to reproduce the problem. I just wanted to draft the patch, I didn't intend to put it up for review yet, actually.
Comment 5 Jonathan Bedard 2019-03-07 14:14:37 PST
Upon further investigation, this change is not needed. Closing this bug.