<?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>103892</bug_id>
          
          <creation_ts>2012-12-03 07:36:36 -0800</creation_ts>
          <short_desc>[Chromium] Fix issue with hard coded error codes in quota error</short_desc>
          <delta_ts>2012-12-03 12:30:52 -0800</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>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>102726</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik Arvidsson">arv</reporter>
          <assigned_to name="Erik Arvidsson">arv</assigned_to>
          <cc>abarth</cc>
    
    <cc>dglazkov</cc>
    
    <cc>fishd</cc>
    
    <cc>jamesr</cc>
    
    <cc>jsbell</cc>
    
    <cc>michaeln</cc>
    
    <cc>ojan</cc>
    
    <cc>tkent+wkapi</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>781433</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2012-12-03 07:36:36 -0800</bug_when>
    <thetext>[Chromium] Fix issue with hard coded error codes in quota error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781434</commentid>
    <comment_count>1</comment_count>
      <attachid>177252</attachid>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2012-12-03 07:39:01 -0800</bug_when>
    <thetext>Created attachment 177252
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781448</commentid>
    <comment_count>2</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2012-12-03 07:45:49 -0800</bug_when>
    <thetext>This is the first step to fix this.

Once this is in and a WebKit roll is done to Chrome, the next step is to use the enum names in Chrome instead of the hard coded values.

The last step is to then to have these enum values get their values from ExceptionCode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781470</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-03 08:10:36 -0800</bug_when>
    <thetext>Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781608</commentid>
    <comment_count>4</comment_count>
      <attachid>177252</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2012-12-03 10:34:29 -0800</bug_when>
    <thetext>Comment on attachment 177252
Patch

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

&gt; Source/WebKit/chromium/public/WebStorageQuotaError.h:39
&gt; +    WebStorageQuotaErrorInvalidModification = 13,

Note:  Please be sure to update AssertMatchingEnums.cpp once there is a WebCore equivalent to these new enum values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781664</commentid>
    <comment_count>5</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2012-12-03 11:05:33 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 177252 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=177252&amp;action=review
&gt; 
&gt; &gt; Source/WebKit/chromium/public/WebStorageQuotaError.h:39
&gt; &gt; +    WebStorageQuotaErrorInvalidModification = 13,
&gt; 
&gt; Note:  Please be sure to update AssertMatchingEnums.cpp once there is a WebCore equivalent to these new enum values.

I added them now since the WebCore side has these already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781668</commentid>
    <comment_count>6</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2012-12-03 11:08:18 -0800</bug_when>
    <thetext>Committed r136419: &lt;http://trac.webkit.org/changeset/136419&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781769</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2012-12-03 12:30:52 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; &gt; Note:  Please be sure to update AssertMatchingEnums.cpp once there is a WebCore equivalent to these new enum values.
&gt; 
&gt; I added them now since the WebCore side has these already.

Cool, thanks.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>177252</attachid>
            <date>2012-12-03 07:39:01 -0800</date>
            <delta_ts>2012-12-03 10:34:29 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-103892-20121203103628.patch</filename>
            <type>text/plain</type>
            <size>1560</size>
            <attacher name="Erik Arvidsson">arv</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM2Mzk2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L2No
cm9taXVtL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvY2hyb21pdW0vQ2hhbmdlTG9nCmluZGV4
IGM0ZDg5YmUzYTgxMWVlMGNmYTFhYzAyMzAwNzkzMTEwYTA3ZGNmM2YuLmUzODlmMTlmYzFmZmNj
YWVhYzczMWY1OGM4MGU1YzYyZmYzYzUxNDAgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQvY2hy
b21pdW0vQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XZWJLaXQvY2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wMzhiNDFkZTNhOGUyOTllNWM5
MGE1MzJhYzBkNDYxMTY5NC4uZDJjNDRjNTBhZWY4ODRmYzg1NTM1NDhlMjYxNDg5MmUzYjUwNTQx
MSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdC9jaHJvbWl1bS9wdWJsaWMvV2ViU3RvcmFnZVF1
b3RhRXJyb3IuaAorKysgYi9Tb3VyY2UvV2ViS2l0L2Nocm9taXVtL3B1YmxpYy9XZWJTdG9yYWdl
UXVvdGFFcnJvci5oCkBAIC0zNiw2ICszNiw4IEBAIG5hbWVzcGFjZSBXZWJLaXQgewogLy8gVGhl
IGVycm9yIGNvZGUgdXNlZCBmb3IgV2ViU3RvcmFnZVF1b3RhLgogZW51bSBXZWJTdG9yYWdlUXVv
dGFFcnJvciB7CiAgICAgV2ViU3RvcmFnZVF1b3RhRXJyb3JOb3RTdXBwb3J0ZWQgPSA5LAorICAg
IFdlYlN0b3JhZ2VRdW90YUVycm9ySW52YWxpZE1vZGlmaWNhdGlvbiA9IDEzLAorICAgIFdlYlN0
b3JhZ2VRdW90YUVycm9ySW52YWxpZEFjY2VzcyA9IDE1LAogICAgIFdlYlN0b3JhZ2VRdW90YUVy
cm9yQWJvcnQgPSAyMCwKIH07CiAK
</data>
<flag name="review"
          id="193314"
          type_id="1"
          status="+"
          setter="fishd"
    />
          </attachment>
      

    </bug>

</bugzilla>