Closed
Bug 786048
Opened 13 years ago
Closed 13 years ago
Rename a bunch of event functions from *JSEventListener to *EventHandler to more accurately reflect the spec's vocabulary
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: khuey, Assigned: khuey)
Details
Attachments
(1 file)
26.90 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Pretty straightforwards.
Attachment #655763 -
Flags: review?(bugs)
Comment 1•13 years ago
|
||
Comment on attachment 655763 [details] [diff] [review]
Patch
Review of attachment 655763 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/events/src/nsEventListenerManager.cpp
@@ +1028,5 @@
> nsresult
> +nsEventListenerManager::SetEventHandlerToJsval(nsIAtom *aEventName,
> + JSContext *cx,
> + JSObject* aScope,
> + const jsval & v)
While you're touching these lines, can you move */& to the left?
::: content/events/src/nsEventListenerManager.h
@@ +100,5 @@
> * mTarget later and compile lazily.
> */
> // XXXbz does that play correctly with nodes being adopted across
> // documents? Need to double-check the spec here.
> + nsresult SetEventHandler(nsIAtom *aName,
Same here
Comment 2•13 years ago
|
||
Comment on attachment 655763 [details] [diff] [review]
Patch
Need to change nsJSEventListener in a different bug I guess.
Attachment #655763 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Assignee | ||
Comment 4•13 years ago
|
||
I intentionally didn't rename nsJSEventListener because it is the listener for the handler. The spec makes this distinction pretty clear.
You need to log in
before you can comment on or make changes to this bug.
Description
•