Closed Bug 304242 Opened 19 years ago Closed 15 years ago

Too many different ID's

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ehume, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050810 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050810 Firefox/1.0+

Firefox uses an ungodly number of different ID's in referencing menu and context
menu items. It uses a vast array for essentially the same fuunction. This has to
be inefficient. I suspect it unduly burdens some computers and slows Firefox down.

I came across this issue as I was skinning the various menu items for my
SphereGnome series of themes. See below, for example, the number of different
ID's used for the Copy function. Of course, some really are different, and need
different ID's. However, when you go out across all of them, you see lots of
duplicates. Obvious culprits are separate ID's for bookmarks and DomI, but there
are others (extension window, e.g.).

I know that duplicate ID's are frequently not necessary because when I use a
particular ID, sometimes I will see a number of menuitems appropriately skinned.

This is an issue for FF 2.0, I think. 

Reproducible: Always




#copyGUID_clone,
#new-copyAgentBuildID-menu,
#menu_copy_cm,
menuitem[oncommand="viewer.cmdCopySelectedXML()"],
#mnEditCopy,
#context-copyemail,
#context-copy,
menuitem[cmd="cmd_copy"],
menuitem[command="cmd_copy"]

extracted from:

http://www.pshrink.com/firebird/cutemenus.css
First, I'd expect the element itself take more memory than its id attribute, so
given the number of id-less elements, minimizing the number of ids won't help
footprint.

And it's really not clear what you call 'duplicate ids'.

Invalid, I'd say.
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Version: unspecified → 1.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.