Closed
Bug 105063
Opened 24 years ago
Closed 24 years ago
remove mContentID field from nsXULElement
Categories
(Core :: XUL, defect, P3)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla0.9.6
People
(Reporter: waterson, Assigned: waterson)
References
Details
(Keywords: memory-footprint)
Attachments
(1 file)
|
1.30 KB,
patch
|
brendan
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Updated•24 years ago
|
| Assignee | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Comment on attachment 53755 [details] [diff] [review]
remove mContentID field from nsXULElement
Yes! Die mContentID, die! sr=jst
Attachment #53755 -
Flags: superreview+
Comment 3•24 years ago
|
||
Comment on attachment 53755 [details] [diff] [review]
remove mContentID field from nsXULElement
Stub methods, whee. r=brendan@mozilla.org
/be
Attachment #53755 -
Flags: review+
Comment 4•24 years ago
|
||
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.
Comment 5•24 years ago
|
||
From my discussions with Aron Leventhal yesterday accessibility will *not* use
the content id, they will use the nsIContent pointer value for identifying elements.
| Assignee | ||
Comment 6•24 years ago
|
||
Hey aaronl, whatdya think?
Comment 7•24 years ago
|
||
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.
| Assignee | ||
Comment 8•24 years ago
|
||
Okay, fix checked in. Holler if something breaks.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 9•24 years ago
|
||
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.
Description
•