<?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>25894</bug_id>
          
          <creation_ts>2009-05-20 14:23:31 -0700</creation_ts>
          <short_desc>It is possible for LocalStorage to not be persistent</short_desc>
          <delta_ts>2016-10-13 15:26:50 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</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>0</everconfirmed>
          <reporter name="Jeremy Orlow">jorlow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
    
    <cc>benm</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>dasau</cc>
    
    <cc>j.isorce</cc>
    
    <cc>laszlo.gombos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>122201</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2009-05-20 14:23:31 -0700</bug_when>
    <thetext>LocalStorage is not database backed if page-&gt;settings()-&gt;localStorageDatabasePath() returns &quot;&quot;.  Instead, the code should return an immutable LocalStorage (like during private browsing) rather than returning a mutable (but not database backed) version.

This is described in more detail in this email thread: https://lists.webkit.org/pipermail/webkit-dev/2009-May/007790.html

I&apos;m happy to take this on and should be able to get to it in the next couple weeks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124780</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2009-06-08 11:10:47 -0700</bug_when>
    <thetext>FYI: I&apos;m still planning on fixing this once I get a couple of my refactoring changes (https://bugs.webkit.org/show_bug.cgi?id=25376) in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1155762</commentid>
    <comment_count>2</comment_count>
    <who name="Julien Isorce">j.isorce</who>
    <bug_when>2016-01-15 07:31:42 -0800</bug_when>
    <thetext>Any update on this ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1239911</commentid>
    <comment_count>3</comment_count>
    <who name="Dan Saunders">dasau</who>
    <bug_when>2016-10-13 12:42:45 -0700</bug_when>
    <thetext>Any update on this? It is causing localStorage to not persist between application launches for Mac WebKit1 WebView. The only way to persist localStorage between application launches is using a private API and setting localStorageDatabasePath. This is a commonly used HTML5 feature that is broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1239981</commentid>
    <comment_count>4</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-10-13 15:26:50 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Any update on this? It is causing localStorage to not persist between
&gt; application launches for Mac WebKit1 WebView. The only way to persist
&gt; localStorage between application launches is using a private API and setting
&gt; localStorageDatabasePath.

Which, on Mac, is a thing you can do.

If one were writing a Mac App Store app they&apos;d need it to be API, but we have received zero such requests at Apple.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>