alderlopez / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

HTML5 offline application not working #543

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a CEF application based on the CefClient sample, this application 
should at least :
1.1. Initialize CEF with a valid cache_path
1.2. Load this webpage at startup : http://html5demos.com/offlineapp
2. Launch the Cef application (the web page loads fine) and close it
3. Disconnect from the Internet
4. Launch the Cef application again, there is a -106 error message now

What is the expected output? What do you see instead?
The HTML5 offline application should load normally when we are disconnected 
from the Internet. By the way I can see the web page files are successfully 
written in the cache directory (in several "cache\f_000..." files), but they 
don't seem to be used by CEF in offline mode.
Note also that there isn't any problem with Chrome, the offline application 
works fine.

What version of the product are you using? On what operating system?
cef_binary_1.963.439_windows
Windows 7

Original issue reported on code.google.com by charles....@gmail.com on 8 Mar 2012 at 9:25

GoogleCodeExporter commented 9 years ago
Some other observations (I'm using v475):
- There is no 'Application Cache' folder created under the client supplied 
cache directory after visiting a site using app cache. 
- If you attempt to view the application cache section of the 'resources' in 
the debug inspector for a site using app cache, it crashes cefclient.exe.

Original comment by jake.coc...@teamaol.com on 1 May 2012 at 4:48

GoogleCodeExporter commented 9 years ago
Fixed in revision 698 and revision 700.

Original comment by magreenb...@gmail.com on 20 Jun 2012 at 7:46

GoogleCodeExporter commented 9 years ago
Note that the HTML5 application cache data will be persisted only if a 
CefSettings.cache_path directory is specified.

Original comment by magreenb...@gmail.com on 20 Jun 2012 at 7:50

GoogleCodeExporter commented 9 years ago
application cache not working for https website.

HTML5 application cache is working fine but for http. If i use https, cef sharp 
is not able to cache even though cachepath is set.

The same code is working for http link but not on https link

Please check. Waiting for reply.

Original comment by MRizwan....@gmail.com on 7 Nov 2012 at 9:19