Closed
Bug 824602
Opened 13 years ago
Closed 12 years ago
Remove getUserData() usage from devtools
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: emk, Assigned: bbenvie)
References
Details
Attachments
(1 file, 3 obsolete files)
6.26 KB,
patch
|
dcamp
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•13 years ago
|
||
Remove get/setUserData() from browser/devtools.
But I have not considered about whether this change has any leak pattern or not. Then I attach the patch as "work in progress".
Comment 2•13 years ago
|
||
Attachment #696909 -
Attachment is obsolete: true
Movement seems to have stalled here. I believe this is now the only thing keeping us from removing userdata support.
Comment 4•12 years ago
|
||
CC harth who will probably be shortly landing significant changes to the style editor, and we'll need to port these changes to the new version
https://github.com/harthur/devtools-window/blob/remote-styleeditor/browser/devtools/styleeditor/StyleEditor.jsm
Comment 5•12 years ago
|
||
get/setUserData() are used in these points: http://mxr.mozilla.org/mozilla-central/search?string=%28get|set%29UserData®exp=1&find=%2F*%2Fdevtools%2F*&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
Comment 6•12 years ago
|
||
(In reply to Joe Walker [:jwalker] from comment #4)
> CC harth who will probably be shortly landing significant changes to the
> style editor, and we'll need to port these changes to the new version
>
> https://github.com/harthur/devtools-window/blob/remote-styleeditor/browser/
> devtools/styleeditor/StyleEditor.jsm
When will we land the new style editor to mozilla-central?
If we have some times before land it, I'll make a pull request for its github repository.
Reporter | ||
Comment 7•12 years ago
|
||
The style editor does no longer seem to use userData, but the split view still does.
Assignee | ||
Comment 8•12 years ago
|
||
Replaces [gs]etUserData in SplitView with WeakMap usage.
Assignee | ||
Comment 9•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → bbenvie
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•12 years ago
|
||
StyleEditorUtil.js has the following line:
> forEach(aDescriptor.userData, element.setUserData);
But nowhere is getUserData used in the style editor, so I think this is vestigial and can be removed?
Assignee | ||
Comment 11•12 years ago
|
||
Attachment #696912 -
Attachment is obsolete: true
Attachment #751861 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #751942 -
Flags: review?(dcamp)
Updated•12 years ago
|
Attachment #751942 -
Flags: review?(dcamp) → review+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Comment 12•12 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 13•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•