<?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>212942</bug_id>
          
          <creation_ts>2020-06-08 17:16:45 -0700</creation_ts>
          <short_desc>WebKitLegacy: Exclude NSURLConnectionSPI.h from watchOS</short_desc>
          <delta_ts>2020-07-06 13:48:56 -0700</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>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=212718</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=214004</see_also>
          <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>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1660513</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-06-08 17:16:45 -0700</bug_when>
    <thetext>NSURLConnectionSPI.h is not needed to build watchOS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660514</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-06-08 17:17:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/64141877&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660519</commentid>
    <comment_count>2</comment_count>
      <attachid>401402</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-06-08 17:21:30 -0700</bug_when>
    <thetext>Created attachment 401402
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660557</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-06-08 20:24:38 -0700</bug_when>
    <thetext>Committed r262764: &lt;https://trac.webkit.org/changeset/262764&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 401402.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1667985</commentid>
    <comment_count>4</comment_count>
      <attachid>401402</attachid>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2020-07-01 10:07:23 -0700</bug_when>
    <thetext>Comment on attachment 401402
Patch

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

&gt; Source/WebKitLegacy/mac/Misc/WebDownload.h:36
&gt; +#import &lt;pal/spi/cocoa/NSURLConnectionSPI.h&gt;

Hm...is it safe to import PAL headers like this?

I don&apos;t think PAL headers were intended to be imported by clients outside of WebKit, since they use WTF macros like USE(). However, this is an SPI header that could (in theory) be imported by any internal Apple clients...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1669140</commentid>
    <comment_count>5</comment_count>
      <attachid>401402</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-06 13:33:30 -0700</bug_when>
    <thetext>Comment on attachment 401402
Patch

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

&gt;&gt; Source/WebKitLegacy/mac/Misc/WebDownload.h:36
&gt;&gt; +#import &lt;pal/spi/cocoa/NSURLConnectionSPI.h&gt;
&gt; 
&gt; Hm...is it safe to import PAL headers like this?
&gt; 
&gt; I don&apos;t think PAL headers were intended to be imported by clients outside of WebKit, since they use WTF macros like USE(). However, this is an SPI header that could (in theory) be imported by any internal Apple clients...

I think your right. Verifying locally right now that we don&apos;t need this, I think I just needed to change the define guard.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>401402</attachid>
            <date>2020-06-08 17:21:30 -0700</date>
            <delta_ts>2020-06-08 20:24:39 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-212942-20200608172129.patch</filename>
            <type>text/plain</type>
            <size>1427</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXRMZWdhY3kvbWFjL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBT
b3VyY2UvV2ViS2l0TGVnYWN5L21hYy9DaGFuZ2VMb2cJKHJldmlzaW9uIDI2Mjc1MSkKKysrIFNv
dXJjZS9XZWJLaXRMZWdhY3kvbWFjL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsx
LDE0IEBACisyMDIwLTA2LTA4ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNvbT4K
KworICAgICAgICBXZWJLaXRMZWdhY3k6IEV4Y2x1ZGUgTlNVUkxDb25uZWN0aW9uU1BJLmggZnJv
bSB3YXRjaE9TCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD0yMTI5NDIKKyAgICAgICAgPHJkYXI6Ly9wcm9ibGVtLzY0MTQxODc3PgorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogTWlzYy9XZWJEb3dubG9hZC5o
OiBFeGNsdWRlIE5TVVJMQ29ubmVjdGlvblNQSS5oIGZyb20gd2F0Y2hPUywgcmVw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xfU0RLKQogI2ltcG9ydCA8Rm91bmRhdGlvbi9OU1VSTERvd25sb2FkLmg+CiAjZWxz
ZQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>