Closed
Bug 1771841
Opened 2 years ago
Closed 2 years ago
use HTMLInputElement.isInstance(field) instead of ChromeUtils.getClassName(field) === "HTMLInputElement"
Categories
(Toolkit :: Password Manager, task, P1)
Toolkit
Password Manager
Tracking
()
RESOLVED
FIXED
103 Branch
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: serg, Assigned: serg)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
HTMLInputElement.isInstance(field)
vs ChromeUtils.getClassName(field) === "HTMLInputElement"
:
- is approximately 25% faster
- does not require temporary string allocation
- works with custom elements derived from HTMLInputElement
- can be recognized by tooling as class name
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → sgalich
Status: NEW → ASSIGNED
Pushed by sgalich@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/72292afcfc40
use HTMLInputElement.isInstance(field) instead of ChromeUtils.getClassName(field) === "HTMLInputElement". r=dimi
Assignee | ||
Updated•2 years ago
|
Priority: -- → P1
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox103:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•