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
18893
[GTK] Support offline mode
https://bugs.webkit.org/show_bug.cgi?id=18893
Summary
[GTK] Support offline mode
Marco Barisione
Reported
2008-05-05 05:23:36 PDT
Epiphany and midori need a way to go into offline mode, that is only local files should be accessible. dispatchDecidePolicyForNavigationAction/"navigation-requested" cannot be used because it works only for the main resource, i.e. the main html page, not the images, scripts, etc. dispatchWillSendRequest is called for everyv resource but I don't know how to block the loading from it. Suggestions?
Attachments
Add attachment
proposed patch, testcase, etc.
Gustavo Noronha (kov)
Comment 1
2008-06-16 16:15:36 PDT
This is probably will take advantage the cache policy property of the ResourceRequest object on dispatchWillSendRequest; ReturnCacheDataDontLoad on ResourceRequest, WEBKIT_REQ_CACHE_POLICY_CACHE_ONLY on the proposed patch to implement WebKitNetworkRequest (see #18608);
Wouter Bolsterlee
Comment 2
2008-07-17 14:11:43 PDT
I assume "offline mode" will also be able to access the local http cache? That's what Gustavo's comments seem to imply, but the original description doesn't mention it (but since it mentions web browsers I assume you also want this).
Emilio Pozuelo Monfort
Comment 3
2009-02-28 09:45:25 PST
I think the offline mode should still be able to access the cache, yes. Or at least a way to enable it.
Martin Robinson
Comment 4
2014-04-08 18:01:34 PDT
We should probably wait for offline mode via ServiceWorkers or AppCache.
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