<?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>173868</bug_id>
          
          <creation_ts>2017-06-27 00:10:23 -0700</creation_ts>
          <short_desc>[Win] When running layout tests, each DRT should have a unique IndexedDB directory path.</short_desc>
          <delta_ts>2023-10-27 18:11:08 -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 Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1323092</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-06-27 00:10:23 -0700</bug_when>
    <thetext>DRTs should not share the IndexedDB directory path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323093</commentid>
    <comment_count>1</comment_count>
      <attachid>313902</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-06-27 00:13:02 -0700</bug_when>
    <thetext>Created attachment 313902
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323587</commentid>
    <comment_count>2</comment_count>
      <attachid>313902</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2017-06-28 10:10:50 -0700</bug_when>
    <thetext>Comment on attachment 313902
Patch

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

&gt; Source/WebKit/win/ChangeLog:8
&gt; +        DRTs should not share the IndexedDB directory path, as this can cause flakiness.

This change is not specific to DRT, is it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323588</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2017-06-28 10:11:38 -0700</bug_when>
    <thetext>After this change, will apps using indexeddb be able to find their files that are already stored on people&apos;s disks?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323878</commentid>
    <comment_count>4</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-06-28 22:36:24 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #3)
&gt; After this change, will apps using indexeddb be able to find their files
&gt; that are already stored on people&apos;s disks?

That&apos;s a good point. If the app has set the &apos;WebDatabaseDirectory&apos; preference, the indexeddb files will then have a new location with this patch. Otherwise, the files will be located at the same place.

Thanks for reviewing!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323883</commentid>
    <comment_count>5</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-06-28 22:39:34 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #2)
&gt; Comment on attachment 313902 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=313902&amp;action=review
&gt; 
&gt; &gt; Source/WebKit/win/ChangeLog:8
&gt; &gt; +        DRTs should not share the IndexedDB directory path, as this can cause flakiness.
&gt; 
&gt; This change is not specific to DRT, is it?

That&apos;s correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1324049</commentid>
    <comment_count>6</comment_count>
      <attachid>313902</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2017-06-29 12:40:40 -0700</bug_when>
    <thetext>Comment on attachment 313902
Patch

I think this should be fixed by having DRT set the IndexedDB directory.  If there is not a way to do so, we should make a way and use the default directory if it isn&apos;t set to avoid breaking existing apps by having them not find existing files after updating WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1326694</commentid>
    <comment_count>7</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-07-07 16:28:03 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #6)
&gt; Comment on attachment 313902 [details]
&gt; Patch
&gt; 
&gt; I think this should be fixed by having DRT set the IndexedDB directory.  If
&gt; there is not a way to do so, we should make a way and use the default
&gt; directory if it isn&apos;t set to avoid breaking existing apps by having them not
&gt; find existing files after updating WebKit.

Sounds good, Alex, I think I will create a new preference for the IndexedDB directory.

Sorry for the long response time!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988157</commentid>
    <comment_count>8</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-10-27 18:11:08 -0700</bug_when>
    <thetext>Seems to be AppleWin port related, I think we can mark this as &apos;RESOLVED CONFIGURATION CHANGED&apos;.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>313902</attachid>
            <date>2017-06-27 00:13:02 -0700</date>
            <delta_ts>2017-06-29 12:40:40 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-173868-20170627001301.patch</filename>
            <type>text/plain</type>
            <size>2912</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQvd2luL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2Uv
V2ViS2l0L3dpbi9DaGFuZ2VMb2cJKHJldmlzaW9uIDIxOD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mVjdG9yeSA9IHN0YXRpY19jYXN0PENGU3RyaW5nUmVmPihkaXJlY3RvcnlQcmVm
LmdldCgpKTsKKyAgICAgICAgZGF0YWJhc2VzRGlyZWN0b3J5ID0gV2ViQ29yZTo6cGF0aEJ5QXBw
ZW5kaW5nQ29tcG9uZW50KGRhdGFiYXNlc0RpcmVjdG9yeSwgQVNDSUlMaXRlcmFsKCJfX19JbmRl
eGVkREIiKSk7CisgICAgICAgIHJldHVybiBkYXRhYmFzZXNEaXJlY3Rvcnk7CisgICAgfQorI2Vu
ZGlmCisKICAgICBjaGFyIGV4ZWN1dGFibGVQYXRoW01BWF9QQVRIXTsKICAgICBjaGFyIGFwcERh
dGFEaXJlY3RvcnlbTUFYX1BBVEhdOwogICAgIGNoYXIgZGF0YWJhc2VEaXJlY3RvcnlbTUFYX1BB
VEhdOwo=
</data>
<flag name="review"
          id="334795"
          type_id="1"
          status="-"
          setter="achristensen"
    />
          </attachment>
      

    </bug>

</bugzilla>