Closed Bug 105063 Opened 24 years ago Closed 24 years ago

remove mContentID field from nsXULElement

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: waterson, Assigned: waterson)

References

Details

(Keywords: memory-footprint)

Attachments

(1 file)

I don't think there is any reason for XUL elements to support the stateful frame stuff that (I think is what) the [Get|Set]ContentID() APIs are for. As far as I can tell, this is a write-only field.
Blocks: 104400
Status: NEW → ASSIGNED
Keywords: footprint
Priority: -- → P3
Target Milestone: --- → mozilla0.9.6
Keywords: patch
Comment on attachment 53755 [details] [diff] [review] remove mContentID field from nsXULElement Yes! Die mContentID, die! sr=jst
Attachment #53755 - Flags: superreview+
Comment on attachment 53755 [details] [diff] [review] remove mContentID field from nsXULElement Stub methods, whee. r=brendan@mozilla.org /be
Attachment #53755 - Flags: review+
Accessibility uses these to provide a unique ID for their content elements. You will break them with your change. While I think that's ok, and that they can generate their own IDs perhaps, you should probably give aaronl a headsup first.
From my discussions with Aron Leventhal yesterday accessibility will *not* use the content id, they will use the nsIContent pointer value for identifying elements.
Hey aaronl, whatdya think?
This is okay with accessibility -we're going to use the nsIDOMNode pointer as a 32 bit unique value now. However, bryner said he might use this for saving/restoring state.
Okay, fix checked in. Holler if something breaks.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
well, when we implement saving focus in session history, this won't work for xul... i assume that's ok.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: