[Webkit-unassigned] [Bug 144875] New: WKWebView does not persist IndexedDB data after app close
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 11 11:07:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144875
Bug ID: 144875
Summary: WKWebView does not persist IndexedDB data after app
close
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: iOS 8.2
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nolan at nolanlawson.com
Created attachment 252869
--> https://bugs.webkit.org/attachment.cgi?id=252869&action=review
Video demonstration
Data saved in IndexedDB in a WKWebView does not appear to survive an app relaunch.
Video demonstration: https://nolanlawson.s3.amazonaws.com/www/apache/iphone_recording.webm
Steps to reproduce:
1. Install my "database filler" Cordova app: https://github.com/nolanlawson/database-filler
2. Follow the instructions to run the app using the WKWebView branch of Cordova
3. Open up the XCode project in platforms/ios
4. Run on a real device
5. Open up the app, add some data, count it to make sure items were added.
6. Double-press the home button to dismiss the app
7. Reopen it, count items
Expected: items that were saved in IndexedDB before are still there.
Actual: 0 items are found.
I'm not sure if this is a bug in WKWebView or in Cordova, but I suspect it's a WKWebView bug because I don't see any option to enable persistence or anything: https://developer.apple.com/library/ios/documentation/WebKit/Reference/WKPreferences_Ref/index.html
Note this is unrelated to issue 137760, which describes how WebSQL is completely disallowed in WKWebView.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150511/5883ba24/attachment.html>
More information about the webkit-unassigned
mailing list