[Webkit-unassigned] [Bug 180547] Message Handlers fail to call despite message being sent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 27 10:48:23 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=180547
--- Comment #2 from Josh Hrach <josh.hrach at gmail.com> ---
Issue still happening on iOS 11.3.
Additionally, when clearing data, I'm getting some internal logging.
Here's how I'm deleting data:
===
let group = DispatchGroup()
group.enter()
WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
let companyRecords = records.filter({$0.displayName.contains("<companyNameHere>")})
companyRecords.forEach { record in
group.enter()
WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: { group.leave() })
print("[Webview] Record \(record) deleted")
}
group.leave()
group.notify(queue: .main, execute: {
print("Cookie records deleted.")
self.callback(forSet: false)
})
}
```
After deleting the single record found, I'm seeing this in console:
2018-04-27 10:42:12.552588-0700 WebKitScriptHandlerTest[4122:2151546] [logging] BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/3C1BBDA4-5994-41AE-B8B4-84B6BC6B6835/Library/WebKit/WebsiteData/LocalStorage/https_www.<company>.com_0.localstorage
2018-04-27 10:42:12.552701-0700 WebKitScriptHandlerTest[4122:2151546] [logging] invalidated open fd: 6 (0x11)
2018-04-27 10:42:12.553066-0700 WebKitScriptHandlerTest[4122:2151546] [logging] BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/3C1BBDA4-5994-41AE-B8B4-84B6BC6B6835/Library/WebKit/WebsiteData/LocalStorage/https_www.<company>.com_0.localstorage-wal
2018-04-27 10:42:12.553133-0700 WebKitScriptHandlerTest[4122:2151546] [logging] invalidated open fd: 7 (0x11)
2018-04-27 10:42:12.553644-0700 WebKitScriptHandlerTest[4122:2151546] [logging] BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/3C1BBDA4-5994-41AE-B8B4-84B6BC6B6835/Library/WebKit/WebsiteData/LocalStorage/https_www.<company>.com_0.localstorage-shm
2018-04-27 10:42:12.553707-0700 WebKitScriptHandlerTest[4122:2151546] [logging] invalidated open fd: 8 (0x11)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180427/a71caf92/attachment.html>
More information about the webkit-unassigned
mailing list