<?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>201781</bug_id>
          
          <creation_ts>2019-09-13 16:08:03 -0700</creation_ts>
          <short_desc>Remove unneeded PLATFORM(*) macros in Platform.h</short_desc>
          <delta_ts>2019-09-16 11:01:37 -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>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=201777</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></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="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>krollin</cc>
    
    <cc>mitz</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1570732</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-09-13 16:08:03 -0700</bug_when>
    <thetext>As per discussions in https://bugs.webkit.org/show_bug.cgi?id=201777, there are a number of PLATFORM macros in Platform.h that are made obsolete by the version macros. We should remove them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1570734</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-09-13 16:12:28 -0700</bug_when>
    <thetext>Maybe the problem here is actually that we need to rename the __IPHONE_OS_VERSION_MIN_REQUIRED to something like &apos;__IOS_FAMILY_OS_VERSION_MIN_REQUIRED&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1570736</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-09-13 16:16:50 -0700</bug_when>
    <thetext>&gt; we need to rename the __IPHONE_OS_VERSION_MIN_REQUIRED

This one is not ours, it comes from system frameworks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1570823</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2019-09-13 20:42:20 -0700</bug_when>
    <thetext>What we really need is the thing Keith proposed offline to make this all way less complicated. Hopefully he can repeat that here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1570996</commentid>
    <comment_count>4</comment_count>
    <who name="Keith Rollin">krollin</who>
    <bug_when>2019-09-15 18:35:09 -0700</bug_when>
    <thetext>I&apos;m doing a lot of work in this area, Jonathan. I&apos;m not exactly sure what this bugzilla covers. Let&apos;s meet up and make sure we&apos;re not duplicating our efforts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1570997</commentid>
    <comment_count>5</comment_count>
    <who name="Keith Rollin">krollin</who>
    <bug_when>2019-09-15 18:39:58 -0700</bug_when>
    <thetext>As for what Tim mentions, see &lt;rdar://problem/50220520&gt;. I want to follow-up on those ideas once we clean up exactly what should be enabled on which platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1571089</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-09-16 07:36:40 -0700</bug_when>
    <thetext>(In reply to Keith Rollin from comment #4)
&gt; I&apos;m doing a lot of work in this area, Jonathan. I&apos;m not exactly sure what
&gt; this bugzilla covers. Let&apos;s meet up and make sure we&apos;re not duplicating our
&gt; efforts.

I&apos;m not exactly sure what this bug covers either. I was just trying to track some comments that Alexey made in &lt;https://bugs.webkit.org/show_bug.cgi?id=201777&gt;.

I&apos;m fine with shelving any work here until you&apos;re finished with your patch, it seems like you have a more coherent understanding of what we want.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1571168</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-09-16 10:36:27 -0700</bug_when>
    <thetext>Probably best to close this bug to avoid confusion.

My comment was about how it would be most correct to have separate HAVE_ACCESSIBILITY_BUNDLES_PATH and USE_ACCESSIBILITY_BUNDLES_PATH macros. But that gets dangerously close to over-engineering.

Another of my comments was about how there are still many suspiciously looking uses of PLATFORM(IOS_FAMILY) with iOS specific version checks. Those may or may mean that the #ifs were meant to enable something on a different set of targets.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>