Closed
Bug 824602
Opened 12 years ago
Closed 11 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•12 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•12 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•11 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•11 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•11 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•11 years ago
|
||
The style editor does no longer seem to use userData, but the split view still does.
Assignee | ||
Comment 8•11 years ago
|
||
Replaces [gs]etUserData in SplitView with WeakMap usage.
Assignee | ||
Comment 9•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=6b7f6d95e93b
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bbenvie
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•11 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•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=69a24d7ba345
Attachment #696912 -
Attachment is obsolete: true
Attachment #751861 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #751942 -
Flags: review?(dcamp)
Updated•11 years ago
|
Attachment #751942 -
Flags: review?(dcamp) → review+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [land-in-fx-team]
Updated•11 years ago
|
Whiteboard: [land-in-fx-team]
Comment 12•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/03f322ae358f
Whiteboard: [fixed-in-fx-team]
Comment 13•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/03f322ae358f
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•