Closed Bug 155925 Opened 23 years ago Closed 22 years ago

JS error in pref-themes.js

Categories

(SeaMonkey :: Preferences, defect)

x86
Windows 95
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: neil, Assigned: bugs)

References

Details

(Keywords: polish)

Attachments

(2 files)

Error: uncaught exception Component returned failure code NS_ERROR_INVALID_POINTER function Startup, line 76
Attached patch Proposed patchSplinter Review
Do a check for the name attribute (doesn't exist on the template :-)
Keywords: patch, polish, review
Attached patch A simpler patchSplinter Review
All that really needs to be changed is the start for the counter. The first child of the list is not a theme, but all the other children are. My patch changes the code so it starts with the second child.
Attachment #90325 - Flags: review+
> The first child of the list is not a theme, but all the other children are. yes, but why!?!?!
>> The first child of the list is not a theme, but all the other children are. > yes, but why!?!?! If you had bothered to look in DOM inspector you would know it's a <template>.
Full warning text in 2003012408: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIXULChromeRegistry.isSkinSelected]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://communicator/content/pref/pref-themes.js :: Startup :: line 76" data: no]
*** Bug 132242 has been marked as a duplicate of this bug. ***
Flags: blocking1.3?
we should get this and would consider a fully reviewed patch for the 1.3 branch but we're not going to hold for this.
Flags: blocking1.3? → blocking1.3-
Attachment #90325 - Flags: superreview?(loopkin)
Attachment #90325 - Flags: superreview?(kin)
Attachment #90325 - Flags: superreview?(loopkin)
Attachment #90325 - Flags: superreview?(kin) → superreview+
Checked in the patch with reviews (which I prefer too, since it's a little more robust...)
fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 175392 has been marked as a duplicate of this bug. ***
v
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: