Closed Bug 322985 Opened 20 years ago Closed 20 years ago

Remove aScriptOnly parameter from the nsIEventListenerManager::RemoveAllListeners

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

Noticed this while doing something else...atm aScriptOnly parameter is not used in nsIEventListenerManager::RemoveAllListeners, it is always PR_FALSE. So I think it could be removed.
Attached patch proposed patchSplinter Review
Assignee: events → smaug
Status: NEW → ASSIGNED
Attachment #208140 - Flags: superreview?(jst)
Attachment #208140 - Flags: review?(jst)
Comment on attachment 208140 [details] [diff] [review] proposed patch Yeah, looks unused to me too. r+sr=jst
Attachment #208140 - Flags: superreview?(jst)
Attachment #208140 - Flags: superreview+
Attachment #208140 - Flags: review?(jst)
Attachment #208140 - Flags: review+
Checking in content/events/public/nsIEventListenerManager.h; /cvsroot/mozilla/content/events/public/nsIEventListenerManager.h,v <-- nsIEventListenerManager.h new revision: 1.41; previous revision: 1.40 done Checking in content/events/src/nsEventListenerManager.cpp; /cvsroot/mozilla/content/events/src/nsEventListenerManager.cpp,v <-- nsEventListenerManager.cpp new revision: 1.223; previous revision: 1.222 done Checking in content/events/src/nsEventListenerManager.h; /cvsroot/mozilla/content/events/src/nsEventListenerManager.h,v <-- nsEventListenerManager.h new revision: 1.82; previous revision: 1.81 done Checking in dom/src/base/nsGlobalWindow.cpp; /cvsroot/mozilla/dom/src/base/nsGlobalWindow.cpp,v <-- nsGlobalWindow.cpp new revision: 1.810; previous revision: 1.809 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Fixed on MOZILLA_1_8_BRANCH by checkin of bug 336791.
Keywords: fixed1.8.1
(Well, sort of; there's an unused parameter to Disconnect to preserve binary compatibility. But this change basically had to be merged in (other than that difference) to land the things that landed on top of it.)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: