Closed Bug 904505 Opened 11 years ago Closed 11 years ago

[JavaScript Warning: "ReferenceError: reference to undefined property Cc['@mozilla.org/updates/update-prompt;1']" {file: "chrome://browser/content/shell.js" line: 1101}]

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 904462

People

(Reporter: kanru, Assigned: mtseng)

Details

Attachments

(1 file)

Where is @mozilla.org/updates/update-prompt;1? Do we use that?
UpdatePrompt is only defined in production build or eng build with B2G_UPDATER=1.
Checking the existence of Cc["@mozilla.org/updates/update-prompt;1"] before invoking createInstance() should avoid this JS error.

http://dxr.mozilla.org/mozilla-central/source/b2g/components/B2GComponents.manifest#l15
add code for checking existance bofore using it
Attachment #790613 - Flags: review?(fabrice)
Assignee: nobody → mtseng
that is fixed in bug 904462
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Attachment #790613 - Flags: review?(fabrice)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: