WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
198263
Can't find variable: caches
https://bugs.webkit.org/show_bug.cgi?id=198263
Summary
Can't find variable: caches
shader.yang
Reported
2019-05-26 18:59:30 PDT
Created
attachment 370663
[details]
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!
Attachments
Screenshot from Safari Debugger
(181.45 KB, image/png)
2019-05-26 18:59 PDT
,
shader.yang
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
shader.yang
Comment 1
2019-05-27 18:45:47 PDT
It looks because I used http instead of https, cachestorage object cannot be found via http. Via https, I can find it, I think this issue has been resolved.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug