<?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>208144</bug_id>
          
          <creation_ts>2020-02-24 10:43:47 -0800</creation_ts>
          <short_desc>Assertion failed: currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableName) || currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableNameAlternate)</short_desc>
          <delta_ts>2020-02-25 15:28:33 -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>WebKit 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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sihui Liu">sihui_liu</reporter>
          <assigned_to name="Sihui Liu">sihui_liu</assigned_to>
          <cc>achristensen</cc>
    
    <cc>alecflett</cc>
    
    <cc>beidson</cc>
    
    <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>jsbell</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1622229</commentid>
    <comment_count>0</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2020-02-24 10:43:47 -0800</bug_when>
    <thetext>Replace the release assertion to release logging to gather information about the bug. Crashing network process for failing to open a database seems too aggressive.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622230</commentid>
    <comment_count>1</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2020-02-24 10:44:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/59687897&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622234</commentid>
    <comment_count>2</comment_count>
      <attachid>391557</attachid>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2020-02-24 10:51:14 -0800</bug_when>
    <thetext>Created attachment 391557
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622482</commentid>
    <comment_count>3</comment_count>
      <attachid>391557</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2020-02-24 19:11:54 -0800</bug_when>
    <thetext>Comment on attachment 391557
Patch

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

&gt; Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:692
&gt; -    RELEASE_ASSERT(currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableName) || currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableNameAlternate));
&gt; +    if (currentSchema != createV1ObjectStoreInfoSchema(objectStoreInfoTableName) &amp;&amp; currentSchema != createV1ObjectStoreInfoSchema(objectStoreInfoTableNameAlternate)) {

Don&apos;t we also want to log objectStoreInfoTableName and objectStoreInfoTableNameAlternate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622625</commentid>
    <comment_count>4</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2020-02-25 08:53:36 -0800</bug_when>
    <thetext>(In reply to Ryosuke Niwa from comment #3)
&gt; Comment on attachment 391557 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=391557&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:692
&gt; &gt; -    RELEASE_ASSERT(currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableName) || currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableNameAlternate));
&gt; &gt; +    if (currentSchema != createV1ObjectStoreInfoSchema(objectStoreInfoTableName) &amp;&amp; currentSchema != createV1ObjectStoreInfoSchema(objectStoreInfoTableNameAlternate)) {
&gt; 
&gt; Don&apos;t we also want to log objectStoreInfoTableName and
&gt; objectStoreInfoTableNameAlternate?

objectStoreInfoTableName and objectStoreInfoTableNameAlternate are constants.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622650</commentid>
    <comment_count>5</comment_count>
      <attachid>391557</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-02-25 09:37:58 -0800</bug_when>
    <thetext>Comment on attachment 391557
Patch

Clearing flags on attachment: 391557

Committed r257361: &lt;https://trac.webkit.org/changeset/257361&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622651</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-02-25 09:38:00 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622783</commentid>
    <comment_count>7</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2020-02-25 15:28:33 -0800</bug_when>
    <thetext>(In reply to Sihui Liu from comment #4)
&gt; (In reply to Ryosuke Niwa from comment #3)
&gt; &gt; Comment on attachment 391557 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; https://bugs.webkit.org/attachment.cgi?id=391557&amp;action=review
&gt; &gt; 
&gt; &gt; &gt; Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:692
&gt; &gt; &gt; -    RELEASE_ASSERT(currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableName) || currentSchema == createV1ObjectStoreInfoSchema(objectStoreInfoTableNameAlternate));
&gt; &gt; &gt; +    if (currentSchema != createV1ObjectStoreInfoSchema(objectStoreInfoTableName) &amp;&amp; currentSchema != createV1ObjectStoreInfoSchema(objectStoreInfoTableNameAlternate)) {
&gt; &gt; 
&gt; &gt; Don&apos;t we also want to log objectStoreInfoTableName and
&gt; &gt; objectStoreInfoTableNameAlternate?
&gt; 
&gt; objectStoreInfoTableName and objectStoreInfoTableNameAlternate are constants.

Ah, ok.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>391557</attachid>
            <date>2020-02-24 10:51:14 -0800</date>
            <delta_ts>2020-02-25 09:37:58 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-208144-20200224105113.patch</filename>
            <type>text/plain</type>
            <size>2369</size>
            <attacher name="Sihui Liu">sihui_liu</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjU3MjExCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZjFhMDhkMWEyYWE4NjNl
MTcxYmFlNjFiMjk0MmVhYzBkOTczZTViOS4uNzI2MWY0YmUzYzM5OTdjM2UwZWQ0ZWFjNmMyNGQw
MzczNjYxYzcyNCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDIwLTAyLTI0ICBTaWh1
aSBMaXUgIDxzaWh1aV9saXVAYXBwbGUuY29tPgorCisgICAgICAgIEFzc2VydGlvbiBmYWlsZWQ6
IGN1cnJlbnRTY2hlbWEgPT0gY3JlYXRlVjFPYmplY3RTdG9yZUluZm9TY2hlbWEob2JqZWN0U3Rv
cmVJbmZvVGFibGVOYW1lKSB8fCBjdXJyZW50U2NoZW1hID09IGNyZWF0ZVY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