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)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 904462
People
(Reporter: kanru, Assigned: mtseng)
Details
Attachments
(1 file)
1016 bytes,
patch
|
Details | Diff | Splinter Review |
Where is @mozilla.org/updates/update-prompt;1? Do we use that?
Comment 1•11 years ago
|
||
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
Assignee | ||
Comment 2•11 years ago
|
||
add code for checking existance bofore using it
Attachment #790613 -
Flags: review?(fabrice)
Comment 3•11 years ago
|
||
that is fixed in bug 904462
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Attachment #790613 -
Flags: review?(fabrice)
You need to log in
before you can comment on or make changes to this bug.
Description
•