Closed
Bug 1621203
Opened 5 years ago
Closed 5 years ago
Stop using IsEqualNode in focus manager
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: emilio)
Details
(Keywords: perf)
Attachments
(1 file)
nsFocusManager::Focus
has this bit:
bool isRefocus = focusedNode && focusedNode->IsEqualNode(aElement);
which does a deep-tree compare of the two nodes. I checked with the authors of this code about a year ago and they said that this code likely just cares about pointer-equality, not a deep compare.
I was going to fix that, then it fell off my radar. :( Not going to get to it now, I suspect, though will give it a shot.
Assignee | ||
Comment 1•5 years ago
|
||
There's no reason to.
Updated•5 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Type: defect → enhancement
Priority: -- → P3
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4815ea533d31
Don't use IsEqualNode in nsFocusManager. r=smaug
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•