<?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>37049</bug_id>
          
          <creation_ts>2010-04-02 15:31:16 -0700</creation_ts>
          <short_desc>Change DatabaseAuthorizer to allow all fts2 functions</short_desc>
          <delta_ts>2010-05-07 18:31:41 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dumitru Daniliuc">dumi</reporter>
          <assigned_to name="Dumitru Daniliuc">dumi</assigned_to>
          <cc>beidson</cc>
    
    <cc>dglazkov</cc>
    
    <cc>fishd</cc>
    
    <cc>michaeln</cc>
    
    <cc>mjs</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>208110</commentid>
    <comment_count>0</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-02 15:31:16 -0700</bug_when>
    <thetext>DatabaseAuthorizer is currently disallowing some fts2 functions. We need to fix that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208162</commentid>
    <comment_count>1</comment_count>
      <attachid>52470</attachid>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-02 17:09:02 -0700</bug_when>
    <thetext>Created attachment 52470
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208169</commentid>
    <comment_count>2</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 17:17:23 -0700</bug_when>
    <thetext>It seems like an awful idea to introduce such fragmented capabilities between the WebKit browsers.

(Apple&apos;s Mac + Win builds don&apos;t support fts2).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208171</commentid>
    <comment_count>3</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 17:18:18 -0700</bug_when>
    <thetext>I&apos;m overriding darin&apos;s r+ with an r- until we discuss this more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208173</commentid>
    <comment_count>4</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 17:22:04 -0700</bug_when>
    <thetext>Mark pointed out that fts2 support was enabled in http://trac.webkit.org/changeset/54990

I think this change was a poor decision and needs a little more discussion.

(Yes, I see that I am CC&apos;ed on https://bugs.webkit.org/show_bug.cgi?id=34867, and am sorry to have missed this.  My bad)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208175</commentid>
    <comment_count>5</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-02 17:25:18 -0700</bug_when>
    <thetext>If the only problem is that not all ports support the same modules/functions, then I can abstract out this function into its own class, provide a default WebKit implementation that allows (or maybe disallows?) everything, and implement a Chromium-specific version too.

Let me know how you want us to deal with this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208182</commentid>
    <comment_count>6</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-04-02 17:37:21 -0700</bug_when>
    <thetext>No, I mean, to the end user (the web path author), some SQL works on one platform but doesn&apos;t work on another platform.  Such as FTS2.

The Web SQL Database spec is already at an impass.

Currently, SQLite in WebKit is pretty much the only realistic implementation of the spec.  Introducing further incompatibilities (such as FTS2 in one browser, but not another) would only fragment things further.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208361</commentid>
    <comment_count>7</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-04-04 08:06:01 -0700</bug_when>
    <thetext>How hard would it be to bring fts2 to Safari?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208369</commentid>
    <comment_count>8</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2010-04-04 11:37:52 -0700</bug_when>
    <thetext>A few months back, Sam mentioned that there was interest in adding FTS support to Safari.  Has that changed?

As for this bug, how about we add an ENABLE_SQLITE_FTS2 for now so that deciding the behavior of Safari does not have to be a pre-requisite to fixing a Chrome issue.  We are already shipping FTS2 in the latest stable release of Chrome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212519</commentid>
    <comment_count>9</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-04-14 13:10:08 -0700</bug_when>
    <thetext>Ping. Any way we could submit a quick, temporary fix to this problem so that Chromium users can use FTS2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222746</commentid>
    <comment_count>10</comment_count>
    <who name="Dumitru Daniliuc">dumi</who>
    <bug_when>2010-05-07 18:31:41 -0700</bug_when>
    <thetext>We&apos;re moving to FTS3, so this bug is obsolete.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52470</attachid>
            <date>2010-04-02 17:09:02 -0700</date>
            <delta_ts>2010-04-02 17:17:56 -0700</delta_ts>
            <desc>patch</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1140</size>
            <attacher name="Dumitru Daniliuc">dumi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1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3Rpb25zLmFkZCgib2Zmc2V0cyIpOwogICAgIG1f
d2hpdGVsaXN0ZWRGdW5jdGlvbnMuYWRkKCJvcHRpbWl6ZSIpOworICAgIG1fd2hpdGVsaXN0ZWRG
dW5jdGlvbnMuYWRkKCJtYXRjaCIpOwogCiAgICAgLy8gU1FMaXRlIElDVSBmdW5jdGlvbnMKICAg
ICAvLyBsaWtlKCksIGxvd2VyKCkgYW5kIHVwcGVyKCkgYXJlIGFscmVhZHkgaW4gdGhlIGxpc3QK
</data>
<flag name="review"
          id="35967"
          type_id="1"
          status="-"
          setter="beidson"
    />
    <flag name="commit-queue"
          id="35968"
          type_id="3"
          status="-"
          setter="dumi"
    />
          </attachment>
      

    </bug>

</bugzilla>