Closed
Bug 1357638
Opened 8 years ago
Closed 8 years ago
"dom.forms.inputmode" is referred with Preferences::GetBool() at every click in <input type="text"> and <textarea> and moving focus to them
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P1)
Core
DOM: UI Events & Focus Handling
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: masayuki, Assigned: ben.tian)
Details
Attachments
(1 file)
IMEStateManager::SetIMEState() refers "dom.forms.inputmode" with Preferences::GetBool() when it's called with <input type="text"> (or similar) and <textarea>. It's called at every focus change and click.
So, this might not cause performance issue with any benchmark. But it might waste CPU/battery usage. So, perhaps, it should use Preferences::AddBoolVarCache().
Comment 1•8 years ago
|
||
Hi Ben, could you please take this? Thanks!
Flags: needinfo?(btian)
Priority: -- → P1
Whiteboard: [qf]
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•8 years ago
|
Whiteboard: [qf] → [qf:p1]
| Assignee | ||
Updated•8 years ago
|
Attachment #8859890 -
Flags: review?(masayuki)
| Reporter | ||
Comment 5•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8859890 [details]
Bug 1357638 - Use Preferences::AddBoolVarCache() to accelerate dom.forms.inputmode access in IMEStateManager::SetIMEState(),
https://reviewboard.mozilla.org/r/131870/#review135140
Attachment #8859890 -
Flags: review?(masayuki) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 7•8 years ago
|
||
Keywords: checkin-needed
Pushed by ihsiao@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f0127a117bcb
Use Preferences::AddBoolVarCache() to accelerate dom.forms.inputmode access in IMEStateManager::SetIMEState(), r=masayuki
Keywords: checkin-needed
Comment 9•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Performance Impact: --- → P3
Whiteboard: [qf:p3]
You need to log in
before you can comment on or make changes to this bug.
Description
•