<?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>116453</bug_id>
          
          <creation_ts>2013-05-20 11:42:22 -0700</creation_ts>
          <short_desc>PLATFORM(*) macros used in Source/WebCore/loader/archive/ArchiveFactory.cpp</short_desc>
          <delta_ts>2013-05-21 09:02:52 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>21354</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Zan Dobersek">zan</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>japhet</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>891278</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-05-20 11:42:22 -0700</bug_when>
    <thetext>There&apos;s a couple of PLATFORM(*) macros used in ArchiveFactory.cpp, specifying which mime types are supported on what platform.
http://trac.webkit.org/browser/trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp#L58

This should be moved into the platform layer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891381</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-05-20 16:03:10 -0700</bug_when>
    <thetext>Can you please elaborate on the reason?

Note that platform directory contains the &quot;platform&quot; on which WebCore builds. While much of that is platform specific, keeping platforms specific code together in one place is not the reason for its existence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891591</commentid>
    <comment_count>2</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-05-20 23:32:54 -0700</bug_when>
    <thetext>I&apos;ve filed this due to the layering violation reported by the check-webkit-style script in bug #116442.
https://bugs.webkit.org/show_bug.cgi?id=116442#c2

The patch took on a different path later, removing most of the PLATFORM macros in r150418.
http://trac.webkit.org/changeset/150418

There&apos;s still one PLATFORM(QT) left in the file:
http://trac.webkit.org/browser/trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp#L34
I think it can be removed because the Qt port does not enable WebArchive support even when using CoreFoundations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891593</commentid>
    <comment_count>3</comment_count>
      <attachid>202381</attachid>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-05-20 23:44:54 -0700</bug_when>
    <thetext>Created attachment 202381
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891779</commentid>
    <comment_count>4</comment_count>
      <attachid>202381</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-05-21 08:29:25 -0700</bug_when>
    <thetext>Comment on attachment 202381
Patch

I think that the style bot is wrong complaining about this. Do you know when the check was added?

r=me on this change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891793</commentid>
    <comment_count>5</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-05-21 08:45:06 -0700</bug_when>
    <thetext>That would be r149635.
http://trac.webkit.org/changeset/149635</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891817</commentid>
    <comment_count>6</comment_count>
      <attachid>202381</attachid>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-05-21 09:02:41 -0700</bug_when>
    <thetext>Comment on attachment 202381
Patch

Clearing flags on attachment: 202381

Committed r150444: &lt;http://trac.webkit.org/changeset/150444&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891818</commentid>
    <comment_count>7</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-05-21 09:02:52 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>202381</attachid>
            <date>2013-05-20 23:44:54 -0700</date>
            <delta_ts>2013-05-21 09:02:40 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-116453-20130521084343.patch</filename>
            <type>text/plain</type>
            <size>1664</size>
            <attacher name="Zan Dobersek">zan</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTUwNDIxCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNDI1ZDhhM2QwZjAwZGFm
NjFiNTUxNmIxOGE3YTY2NDIyMTY1MWQxMi4uYzVkYTk2MjI1YTRjMDkwMzQ2OTA5YWYzM2EyMGVj
ZWNjODVmOWQ1YyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE4IEBACiAyMDEzLTA1LTIwICBaYW4g
RG9iZXJzZWsgIDx6ZG9iZXJzZWtAaWdhbGlhLmNvbT4KIAorICAgICAgICBQTEFURk9STSgqKSBt
YWNyb3MgdXNlZCBpbiBTb3VyY2UvV2ViQ29yZS9sb2FkZXIvYXJjaGl2ZS9BcmNoaXZlRmFjdG9y
eS5jcHAKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEx
NjQ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