Closed Bug 1188264 Opened 8 years ago Closed 5 years ago

Android Firefox doesn't update AppCache


(Firefox for Android Graveyard :: General, defect)

39 Branch
Not set


(Not tracked)



(Reporter: v+mozbug, Unassigned)



(Whiteboard: [bugday-20150803])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150630154324

Steps to reproduce:

Loaded a web page with a manifest. It downloaded and synchronized. Updated the manifest and two of the files referenced (and a version comment in the manifest, the file list stayed the same). Loaded the app again.

Actual results:

Have the console extension installed. Console log says "Offline cache doesn't need to update." and includes the URL of my manifest file. The app displays its old version.

Expected results:

I would expect something like "Offline cache update beginning." and later "Offline cache update complete." And after the second such message, the app should detect the update, and prompt the user for a reload. After the reload, then the app should display its new version. But none of the above happens.
Can you please elaborate more so that i can see the bug.
You should change the to
Sorry, please ignore my previous comment 1 & comment 2.

Can you please elaborate more so that I can test this and try to reproduce the bug ?

Also , as the title is showing Firefox Android, the product should be changed from "Firefox" to "Firefox for Android"
Component: Untriaged → General
Flags: needinfo?(v+mozbug)
Product: Firefox → Firefox for Android
Whiteboard: [bugday-20150803]
Version: 39 Branch → Firefox 39
Flags: needinfo?(kbrosnan)
I didn't provide a test case, because my test case involves 100s of files, and the process of testing requires changes to data on the server under test.

The sequence is to load the test case offline into the Android Firefox, then to change the content of the application on the server (at least the manifest file, and one file that provides some visible indication of a change, but probably not the first HTML file referenced that points to the manifest, although even that may show the problem.

But because of the need to change server content, I cannot simply point to a server URL where an application is, because that is insufficient for testing. So instead, I provide a description of the problem.

It would be helpful, in diagnosing the problem, if it were possible to set a flag, that would cause Firefox to log all the information that it checks to determine whether or not an application should be updated, and each file that it downloads (or checks the timestamp of) when it does need to create or update the application cache.

I'm wondering if, somehow, it reads and updates the manifest, and then thinks it is up-to-date, without actually updating all the content that has changed.
Flags: needinfo?(v+mozbug)
Depends on: 1237782
Flags: needinfo?(kbrosnan)
Closing per

Contact :susheel if you think this bug should be re-opened
Closed: 5 years ago
Resolution: --- → INACTIVE
Depends on: 1619673
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.