If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

disabled offline cache causes chrome JS error in console on opening the options->advanced tab

NEW
Unassigned

Status

()

Firefox
Preferences
P5
minor
7 years ago
a year ago

People

(Reporter: al_9x, Unassigned)

Tracking

Trunk
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11

1) start with a new profile
2) set javascript.options.showInConsole=true, browser.cache.offline.enable=false
3) restart Fx
4) open error console
5) open options, switch to advanced
6) the following error is logged:

Error: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: chrome://browser/content/preferences/advanced.js :: anonymous :: line 253"  data: no]
Source File: chrome://global/content/bindings/preferences.xml
Line: 738

Reproducible: Always

Comment 1

7 years ago
I see this on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0b8pre) Gecko/20101108 Firefox/4.0b8pre

http://hg.mozilla.org/mozilla-central/annotate/e2646aba6b16/browser/components/preferences/advanced.js#l349

dcamp@25376
349 var cacheService = Components.classes["@mozilla.org/network/application-cache-service;1"].
dcamp@25376
350 getService(Components.interfaces.nsIApplicationCacheService);
Blocks: 442810
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Version: unspecified → Trunk

Updated

a year ago
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.