Closed Bug 767256 Opened 12 years ago Closed 3 years ago

AppCache Doorhanger Allow button doesn't work after page refresh

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: nick, Unassigned)

References

Details

When the popup/doorhanger/banner-thing appears for non-cached applicationCache sites:
'This site is asking to store data on your computer for offline use.'
If you refresh the page instead of choosing one of the three buttons (or close), after the banner reappears, try to click 'Allow'

After reloading the page from not accepting a choice, you cannot click accept (from the second page load).
The problem is not in cache.  The problem is in browser.js [1] [2].  Seems to me like aDocument passed is a wrong (an old) object.

Error console:

Clicking [Allow]:

Error: TypeError: can't access dead object
Source File: chrome://browser/content/browser.js
Line: 11184

Clicking [Never For This Site]:

Error: TypeError: can't access dead object
Source File: chrome://browser/content/browser.js
Line: 11193

[1] http://hg.mozilla.org/mozilla-central/annotate/155f67c2c578/browser/base/content/browser.js#l5811
[2] http://hg.mozilla.org/mozilla-central/annotate/155f67c2c578/browser/base/content/browser.js#l5820
Component: Networking: Cache → General
Product: Core → Firefox
QA Contact: networking.cache → general
Version: 16 Branch → Trunk
Depends on: 1237782
Depends on: 1619673

Appcache was removed.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.