Closed
Bug 1408572
Opened 7 years ago
Closed 7 years ago
Remove handleCtrlPageUpDown attribute and associated code
Categories
(Firefox :: General, enhancement)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
I ran into this in Bug 1392352, and I can't find any place where this attribute is set: https://searchfox.org/mozilla-central/search?q=handleCtrlPageUpDown.
Assignee | ||
Comment 1•7 years ago
|
||
Dão, are there any consumers of this attribute / property that I'm missing?
Flags: needinfo?(dao+bmo)
Assignee | ||
Comment 2•7 years ago
|
||
on MDN: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/handleCtrlPageUpDown
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8920665 [details] Bug 1408572 - Remove handleCtrlPageUpDown attribute and associated code; https://reviewboard.mozilla.org/r/191656/#review196994 ::: toolkit/content/widgets/tabbox.xml:148 (Diff revision 1) > event.preventDefault(); > } > break; > case event.DOM_VK_PAGE_UP: > - if (event.ctrlKey && !event.shiftKey && !event.altKey && !event.metaKey) > - if (this.tabs && this.handleCtrlPageUpDown) { > + if (event.ctrlKey && !event.shiftKey && > + !event.altKey && !event.metaKey && this.tabs) { nit: I'd prefer having all event checks on one line, or each on a separate line, and the this.tabs check on the next line ::: toolkit/content/widgets/tabbox.xml:158 (Diff revision 1) > case event.DOM_VK_PAGE_DOWN: > - if (event.ctrlKey && !event.shiftKey && !event.altKey && !event.metaKey) > - if (this.tabs && this.handleCtrlPageUpDown) { > + if (event.ctrlKey && !event.shiftKey && > + !event.altKey && !event.metaKey && this.tabs) { > this.tabs.advanceSelectedTab(1, true); > event.preventDefault(); > } Please fix up the indentation
Attachment #8920665 -
Flags: review?(dao+bmo) → review+
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Keywords: dev-doc-needed
Pushed by bgrinstead@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e49aaf48550 Remove handleCtrlPageUpDown attribute and associated code;r=dao
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8e49aaf48550
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment 9•7 years ago
|
||
I've removed the page covering this attribute completely, since it is used nowhere and has been removed.
Updated•7 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•