[Webkit-unassigned] [Bug 198263] New: Can't find variable: caches
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 26 18:59:30 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=198263
Bug ID: 198263
Summary: Can't find variable: caches
Product: WebKit
Version: Safari 12
Hardware: iPhone / iPad
OS: iOS 12
Status: NEW
Severity: Major
Priority: P2
Component: Service Workers
Assignee: webkit-unassigned at lists.webkit.org
Reporter: shader.yang at gmail.com
Created attachment 370663
--> https://bugs.webkit.org/attachment.cgi?id=370663&action=review
Screenshot from Safari Debugger
I just tested if cachestorage object on iOS Safari and WKWebView, but I was told caches variable wasn't there, could you tell me is it a bug or work as design with something I don't know?
I think it is a major issue, because it causes SW/CacheStorage cannot be used at all!
Following is the code snippet:
caches.match(url).then(function (response) {
if (response) {
parseResponse(response.clone(), type, cb);
} else {
fetchRes(url, type, cb);
}
}).catch(function () {
console.log("get cacheStorage err by download");
});
Thanks!
--
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/20190527/c4f01e28/attachment-0001.html>
More information about the webkit-unassigned
mailing list