Closed
Bug 224657
Opened 21 years ago
Closed 21 years ago
errors in pref-advanced.xul when @mozilla.org/oji/jvm-config-mgr;1 or @mozilla.org/system-preference-service;1 are unavailable
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
Details
Attachments
(2 files)
3.45 KB,
patch
|
Details | Diff | Splinter Review | |
4.01 KB,
patch
|
neil
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
chrome://communicator/content/pref/pref-advanced.xul line 197: Components.classes['@mozilla.org/oji/jvm-config-mgr;1'] has no properties chrome://communicator/content/pref/pref-advanced.xul line 140: reference to undefined property Components.classes['@mozilla.org/system-preference-service;1']
chrome://communicator/content/pref/pref-advanced.xul line 222: reference to undefined property navigator.mimeTypes['application/x-java-vm']
Status: NEW → ASSIGNED
Attachment #134748 -
Flags: superreview?
Attachment #134748 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 3•21 years ago
|
||
Comment on attachment 134748 [details] [diff] [review] look before you leap @@ -137,15 +137,14 @@ >+ frame.setAttribute("hidden", "false"); I'm not a fan of copying and pasting someone else's errors; 1. We don't set hidden="false" 2. We've got a property we can use, instead of an attribute 3. Unhidden is the default for this frame @@ -189,31 +188,30 @@ >+ var jvmConfigMgr; Hmm... this is only used by getJVMConfigList... @@ -221,17 +219,17 @@ >+ var result = ""; Move this to the start of the function, and return it at the end?
jvmConfigMgr is used by some other functions...
Attachment #134748 -
Attachment is obsolete: true
Attachment #134748 -
Attachment is obsolete: false
Attachment #134748 -
Flags: superreview?
Attachment #134748 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #134792 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 5•21 years ago
|
||
Comment on attachment 134792 [details] [diff] [review] look before you leap with style Tested on linux and mingw.
Attachment #134792 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #134792 -
Flags: superreview?(roc)
Attachment #134792 -
Flags: superreview?(roc) → superreview+
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment on attachment 134792 [details] [diff] [review] look before you leap with style >+ if ("application/x-java-vm" in navigator.mimeTypes) This line will always be false even there is a java-vm mime type. Who know why? Because of this problem, the JVM config list is broken when lookup current JVm selection. Can we remove this line?
You need to log in
before you can comment on or make changes to this bug.
Description
•