Closed
Bug 1445912
Opened 6 years ago
Closed 6 years ago
Remove PopupBoxObject::enableKeyboardNavigator/enableRollup/setConsumeRollupEvent in favor of DOM attributes
Categories
(Core :: XUL, task)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
enndeakin
:
review+
peterv
:
review+
|
Details | Diff | Splinter Review |
The consumeoutsideclicks attribute should be used instead.
Assignee | ||
Updated•6 years ago
|
status-firefox61:
affected → ---
Updated•6 years ago
|
Keywords: good-first-bug
Comment 1•6 years ago
|
||
:dao need to remove these two lines only? https://dxr.mozilla.org/mozilla-central/source/layout/xul/PopupBoxObject.h?q=PopupBoxObject&redirect_type=direct#58,60
Flags: needinfo?(dao+bmo)
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Manish Kumar from comment #1) > :dao > > need to remove these two lines only? No. Here are the full lists of files where code needs to be removed: https://searchfox.org/mozilla-central/search?q=enableRollup https://searchfox.org/mozilla-central/search?q=setConsumeRollupEvent
Flags: needinfo?(dao+bmo)
Updated•6 years ago
|
Assignee: nobody → 1991manish.kumar
Updated•6 years ago
|
Assignee: 1991manish.kumar → nobody
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #0) > The consumeoutsideclicks should be used instead. And the noautohide attribute, respectively...
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dao+bmo
Blocks: war-on-xbl
Status: NEW → ASSIGNED
Summary: Remove unused PopupBoxObject::enableRollup and PopupBoxObject::setConsumeRollupEvent → Remove PopupBoxObject::enableKeyboardNavigator/enableRollup/setConsumeRollupEvent in favor of DOM attributes
Assignee | ||
Comment 4•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5de05ecf3dda2a6d989877477851118841cbbde0
Attachment #8967300 -
Flags: review?(enndeakin)
Comment 5•6 years ago
|
||
Comment on attachment 8967300 [details] [diff] [review] patch -void -nsXULPopupManager::EnableRollup(nsIContent* aPopup, bool aShouldRollup) -{ -#ifndef MOZ_GTK - nsMenuChainItem* item = mPopups; - while (item) { The caller to EnableRollup was incorrectly removed by bug 1278282. It should be restored, or at least, don't remove this code.
Assignee | ||
Comment 6•6 years ago
|
||
Attachment #8967300 -
Attachment is obsolete: true
Attachment #8967300 -
Flags: review?(enndeakin)
Attachment #8967348 -
Flags: review?(enndeakin)
Updated•6 years ago
|
Attachment #8967348 -
Flags: review?(enndeakin) → review+
Comment 7•6 years ago
|
||
Also, I think you could now remove the PopupBoxObject include and the using line near the top of nsMenuPopupFrame.cpp since the popupboxobbject isn't used the file any more.
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Neil Deakin from comment #7) > Also, I think you could now remove the PopupBoxObject include and the using > line near the top of nsMenuPopupFrame.cpp since the popupboxobbject isn't > used the file any more. This came almost too late as I was already trying to push this, but without luck: remote: WebIDL file dom/webidl/PopupBoxObject.webidl altered in changeset 78dab4ac5ae4 without DOM peer review remote: remote: remote: remote: ************************** ERROR **************************** remote: remote: Changes to WebIDL files in this repo require review from a DOM peer in the form of r=... remote: This is to ensure that we behave responsibly with exposing new Web APIs. We appreciate your understanding.. remote: remote: ************************************************************* remote: remote: remote: transaction abort! remote: rollback completed remote: pretxnchangegroup.d_webidl hook failed *sigh* Obviously this isn't a Web API.
Assignee | ||
Comment 9•6 years ago
|
||
Attachment #8967348 -
Attachment is obsolete: true
Attachment #8967363 -
Flags: review?(enndeakin)
Attachment #8967363 -
Flags: review?(bzbarsky)
Updated•6 years ago
|
Attachment #8967363 -
Flags: review?(enndeakin) → review+
Updated•6 years ago
|
Attachment #8967363 -
Flags: review?(bzbarsky) → review+
Comment 10•6 years ago
|
||
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/7c5124a18c41 Remove PopupBoxObject::enableKeyboardNavigator/enableRollup/setConsumeRollupEvent in favor of DOM attributes. r=enn,peterv
Comment 11•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7c5124a18c41
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Assignee | ||
Comment 12•6 years ago
|
||
page to remove: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Method/setConsumeRollupEvent
Keywords: good-first-bug → dev-doc-needed
Comment 13•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #12) > page to remove: > https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Method/ > setConsumeRollupEvent Page deleted; let me know if the deletion message seems appropriate. Thanks!
Keywords: dev-doc-needed → dev-doc-complete
Updated•5 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•