<?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>114950</bug_id>
          
          <creation_ts>2013-04-22 05:17:51 -0700</creation_ts>
          <short_desc>DOMFileSystemBase: fix multiple definitions in the BlackBerry port</short_desc>
          <delta_ts>2013-04-29 13:03: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>WebKit BlackBerry</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>111729</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Alberto Garcia">berto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>879089</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-04-22 05:17:51 -0700</bug_when>
    <thetext>The following  methods are already defined in DOMFileSystemBlackBerry.cpp:

crackFileSystemURL()
createFileSystemURL()
isValidType()
supportsToURL()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>879091</commentid>
    <comment_count>1</comment_count>
      <attachid>199017</attachid>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-04-22 05:21:12 -0700</bug_when>
    <thetext>Created attachment 199017
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>880533</commentid>
    <comment_count>2</comment_count>
      <attachid>199017</attachid>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2013-04-24 06:58:27 -0700</bug_when>
    <thetext>Comment on attachment 199017
Patch

OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>880538</commentid>
    <comment_count>3</comment_count>
      <attachid>199017</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-24 07:26:05 -0700</bug_when>
    <thetext>Comment on attachment 199017
Patch

Clearing flags on attachment: 199017

Committed r149034: &lt;http://trac.webkit.org/changeset/149034&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>880539</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-24 07:26:07 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882448</commentid>
    <comment_count>5</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2013-04-28 21:04:15 -0700</bug_when>
    <thetext>What The Fuck?

This should have:
-Justification on why you did not make an abstraction instead.
-Justification for using different implementation.

Adding platform #ifdef anywhere at random places in WebCore is not okay, we are trying to remove them. Please explain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882488</commentid>
    <comment_count>6</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2013-04-29 00:29:01 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; What The Fuck?
&gt; 
&gt; This should have:
&gt; -Justification on why you did not make an abstraction instead.
&gt; -Justification for using different implementation.
&gt; 
&gt; Adding platform #ifdef anywhere at random places in WebCore is not okay, we are trying to remove them. Please explain.

The file already had #ifdefs for Chromium, which were removed recently with the removal of the Chromium code. It just so happens that the BB port was also using this feature, but the #ifdefs were not upstreamed. So the justification is that in general adding an extra #ifdef when there&apos;s already one is not a big deal, but we can open another bug to improve the code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882504</commentid>
    <comment_count>7</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-04-29 03:15:14 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; -Justification for using different implementation.

Apart from what Xan said, I&apos;ll try to see if we can merge both
implementations now that there&apos;s no Chromium code around.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882730</commentid>
    <comment_count>8</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2013-04-29 13:03:56 -0700</bug_when>
    <thetext>This has landed last week, there is no chromium code anymore.
Even when chromium was there, they were doing a ton more maintenance than 
(In reply to comment #7)
&gt; (In reply to comment #5)
&gt; &gt; -Justification for using different implementation.
&gt; 
&gt; Apart from what Xan said, I&apos;ll try to see if we can merge both
&gt; implementations now that there&apos;s no Chromium code around.

Thanks. That is the right thing to do.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>199017</attachid>
            <date>2013-04-22 05:21:12 -0700</date>
            <delta_ts>2013-04-24 07:26:05 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>114950.diff</filename>
            <type>text/plain</type>
            <size>1526</size>
            <attacher name="Alberto Garcia">berto</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCBhMTFhMDA2Li5mZmM0ZTBlIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMjAg
QEAKKzIwMTMtMDQtMjIgIEFsYmVydG8gR2FyY2lhICA8YWdhcmNpYUBpZ2FsaWEuY29tPgorCisg
ICAgICAgIER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