Closed Bug 41764 Opened 25 years ago Closed 25 years ago

Clear cache gives javascript error

Categories

(Core :: Networking: Cache, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: morse, Assigned: neeti)

Details

(Whiteboard: [nsbeta2+])

Go to preference panel and get to the advanced/cache pane. Click on clear memory cache or clear disk cache. Both give the following javascript errors: prefClearDiskCache ************************************************** ERROR: JS code at [JS frame :: chrome://communicator/content/pref/pref-cache.js :: prefClearDiskCache :: line 23] tried to access nonexistent property called 'Clear' on interface of type 'nsINetDataCacheManager'. That interface does however have a property called 'clear'. Did you mean to access that lowercase property? Please fix the JS code as appropriate. ************************************************** JavaScript error: chrome://communicator/content/pref/pref-cache.js line 23: cacheService.Clear is not a function
Nominating for nsbeta2. This bug prevents us to clear the cache from the prefwindow. I have a fix ready for this. Neeti
Assignee: gordon → neeti
Keywords: nsbeta2
Putting on [nsbeta2+] radar for beta2 fix.
Whiteboard: [nsbeta2+]
Checked in a fix. neeti
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified: NT 2000061200
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.