Bug 152490

Summary: WKWebView provides misleading info about applicationCache support
Product: WebKit Reporter: Eugene But <eugenebut>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: iPhone / iPad   
OS: All   
Attachments:
Description Flags
Test App none

Eugene But
Reported 2015-12-21 12:45:57 PST
Created attachment 267760 [details] Test App Application cache is not supported by WKWebView, but window.applicationCache object exists, so web pages can not distinguish if applicationCache is not supported or it is not loaded yet. Some web applications may rely on window.applicationCache presence to check if Application Cache is supported. That can lead to performance issues with WKWebView-based browsers. This bug does not affect Safari, which supports Application Cache.
Attachments
Test App (31.18 KB, application/zip)
2015-12-21 12:45 PST, Eugene But
no flags
Alexey Proskuryakov
Comment 1 2016-09-08 14:00:42 PDT
Anders Carlsson
Comment 2 2016-09-08 14:15:58 PDT
Did you try iOS 10? The application cache is supported in iOS 10.
Eugene But
Comment 3 2016-09-08 14:39:03 PDT
Works fine on iOS10. Thanks!
Anders Carlsson
Comment 4 2016-09-08 15:19:53 PDT
(In reply to comment #3) > Works fine on iOS10. Thanks! Thanks for verifying!
Note You need to log in before you can comment on or make changes to this bug.