Closing Firefox clears JavaScript files from Appcache
Categories
(Core :: Networking: Cache, defect)
Tracking
()
People
(Reporter: ajohnson, Unassigned)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Steps to reproduce:
Testing using 69.0b8 (64-bit) on Windows 10
- download AppcacheTest.zip and create a website using the files
- navigate to AppCacheTest.html so it will down load the manifest
- Indexeddb Test to confirm that page works
- close Firefox completely
- go into airplane mode or shut server off
- re-open Firefox and navigate to indexeddb-test.html
Actual results:
The page loads but the Javascript fails to run. Related Error:
Loading failed for the <script> with source “https://ajohnson.imagetrend.com/FirefoxTest/dbTest.js”. indexeddb-test.html:38:1
Expected results:
The page should load and the test should run.
Comment 1•5 years ago
|
||
Hi @ajohnson, I've checked the issue on Windows 10 machine using FF versions: nightly 70.0a1, beta 69.0b9 & release 68.0.1 - cannot reproduce it. Further, I will attach a screenshot to see in my end how the dbTest.js is loaded with server off; also I will set a component on it, if isn't the proper one please fell free to change it.
Thanks.
Comment 2•5 years ago
|
||
Change component to a proper one.
Maybe it is related to Bug 1460478.
https://www.fxsitecompat.dev/en-CA/docs/2018/application-cache-can-no-longer-be-used-on-insecure-sites/
Comment 4•5 years ago
|
||
I cannot reproduce it. Could you provide log? https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging
Here is the log when I go the indexeddb-test.html when the server is down. The error in the dev console is: Loading failed for the <script> with source “https://ajohnson.imagetrend.com/FirefoxTest/dbTest.js”.
Updated•5 years ago
|
Comment 6•5 years ago
|
||
(In reply to ajohnson from comment #5)
Created attachment 9085770 [details]
main-log.txtHere is the log when I go the indexeddb-test.html when the server is down. The error in the dev console is: Loading failed for the <script> with source “https://ajohnson.imagetrend.com/FirefoxTest/dbTest.js”.
Thanks for the logs, but it just shows that the cache entry was really not found in the cache:
2019-08-15 15:04:56.132000 UTC - [Parent 30868: Main Thread]: D/nsHttp nsHttpChannel::OnCacheEntryAvailable [this=0000016EC6A1C000 entry=0000000000000000 new=0 appcache=0000016EC69E5E20 status=804b003d mAppCache=0000016EC69E5E20 mAppCacheForWrite=0000000000000000]
More important is the log of loading resources that should cache the item.
Here is the log file when loading the cache. Let me know how else I can help.
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Since appcache is deprecated and we're in the process of removing it from Firefox, I say we close this as WONTFIX.
Updated•5 years ago
|
Description
•