<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>194919</bug_id>
          
          <creation_ts>2019-02-21 14:11:57 -0800</creation_ts>
          <short_desc>webkitpy: Forward HOME to XPC processes</short_desc>
          <delta_ts>2019-03-07 14:14:56 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>ap</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>lforschler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1508662</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-02-21 14:11:57 -0800</bug_when>
    <thetext>I think we should be forwarding the HOME environment variable child XPC processes, although I need to do a bit more testing to verify.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508663</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-02-21 14:12:41 -0800</bug_when>
    <thetext>&lt;rdar://problem/48135951&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508665</commentid>
    <comment_count>2</comment_count>
      <attachid>362643</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-02-21 14:15:55 -0800</bug_when>
    <thetext>Created attachment 362643
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508702</commentid>
    <comment_count>3</comment_count>
      <attachid>362643</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-02-21 15:30:52 -0800</bug_when>
    <thetext>Comment on attachment 362643
Patch

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

&gt; Tools/Scripts/webkitpy/port/driver.py:415
&gt; +        environment[&apos;__XPC_HOME&apos;] = environment.get(&apos;HOME&apos;)

I don&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508747</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-02-21 16:40:13 -0800</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #3)
&gt; Comment on attachment 362643 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=362643&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/webkitpy/port/driver.py:415
&gt; &gt; +        environment[&apos;__XPC_HOME&apos;] = environment.get(&apos;HOME&apos;)
&gt; 
&gt; I don&apos;t understand why this became necessary now.
&gt; 
&gt; Did you reproduce the problem, and see it fixed with this change? Even if
&gt; so, we probably need better understanding of the problem than what I saw
&gt; documented yet.

Sorry, no, I have not yet been able to reproduce the problem. I just wanted to draft the patch, I didn&apos;t intend to put it up for review yet, actually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1513708</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-03-07 14:14:37 -0800</bug_when>
    <thetext>Upon further investigation, this change is not needed. Closing this bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>362643</attachid>
            <date>2019-02-21 14:15:55 -0800</date>
            <delta_ts>2019-02-21 16:39:35 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-194919-20190221141554.patch</filename>
            <type>text/plain</type>
            <size>1395</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI0MTkwMikKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE0IEBACisyMDE5LTAyLTIxICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICB3ZWJraXRweTogRm9yd2FyZCBIT01FIHRvIFhQQyBwcm9jZXNzZXMKKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5NDkxOQorICAg
ICAgICA8cmRhcjovL3Byb2JsZW0vNDgxMzU5NTE+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9C
T0RZIChPT1BTISkuCisKKyAgICAgICAgKiBTY3JpcHRzL3dlYmtpdHB5L3BvcnQvZHJpdmVyLnB5
OgorICAgICAgICAoRHJpdmVyLl9zZXR1cF9lbnZpcm9uX2Zvcl9kcml2ZXIpOiBFeHBvcnQgSE9N
RSB0byBYUEMgcHJvY2Vzc2VzCisKIDIwMTktMDItMjEgIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hv
cnRvbkBhcHBsZS5jb20+CiAKICAgICAgICAgQ3Jhc2ggdW5kZXIgUmVtb3RlTGF5ZXJUcmVlUHJv
cGVydHlBcHBsaWVyOjphcHBseVByb3BlcnRpZXMgd2hlbiByZWF0dGFjaGluZyB0byBvbGQgcHJv
Y2VzcwpJbmRleDogVG9vbHMvU2NyaXB0cy93ZWJraXRweS9wb3J0L2RyaXZlci5weQo9PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09Ci0tLSBUb29scy9TY3JpcHRzL3dlYmtpdHB5L3BvcnQvZHJpdmVyLnB5CShyZXZpc2lvbiAy
NDE4NzUpCisrKyBUb29scy9TY3JpcHRzL3dlYmtpdHB5L3BvcnQvZHJpdmVyLnB5CSh3b3JraW5n
IGNvcHkpCkBAIC00MTIsNiArNDEyLDggQEAgY2xhc3MgRHJpdmVyKG9iamVjdCk6CiAgICAgICAg
IGVudmlyb25tZW50WydTUUxJVEVfRVhFTVBUX1BBVEhfRlJPTV9WTk9ERV9HVUFSRFMnXSA9IG9z
LnBhdGgucmVhbHBhdGgoZW52aXJvbm1lbnRbJ0RVTVBSRU5ERVJUUkVFX1RFTVAnXSkKICAgICAg
ICAgZW52aXJvbm1lbnRbJ19fWFBDX1NRTElURV9FWEVNUFRfUEFUSF9GUk9NX1ZOT0RFX0dVQVJE
UyddID0gZW52aXJvbm1lbnRbJ1NRTElURV9FWEVNUFRfUEFUSF9GUk9NX1ZOT0RFX0dVQVJEUydd
CiAKKyAgICAgICAgZW52aXJvbm1lbnRbJ19fWFBDX0hPTUUnXSA9IGVudmlyb25tZW50LmdldCgn
SE9NRScpCisKICAgICAgICAgaWYgc2VsZi5fcHJvZmlsZXI6CiAgICAgICAgICAgICBlbnZpcm9u
bWVudCA9IHNlbGYuX3Byb2ZpbGVyLmFkanVzdGVkX2Vudmlyb25tZW50KGVudmlyb25tZW50KQog
ICAgICAgICByZXR1cm4gZW52aXJvbm1lbnQK
</data>

          </attachment>
      

    </bug>

</bugzilla>