Closed
Bug 334245
Opened 19 years ago
Closed 19 years ago
[FIX]window.addEventListener.arity is 0 (should be 3)
Categories
(Core :: DOM: Events, defect, P3)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: jruderman, Assigned: bzbarsky)
Details
(Keywords: fixed1.8.1, testcase)
Attachments
(1 file)
|
1.25 KB,
patch
|
jst
:
review+
jst
:
superreview+
jst
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
To reproduce:
1. javascript:alert(window.addEventListener.arity);
Result: 0.
Expected: 3. (If you call it with fewer arguments, you do get NS_ERROR_XPC_NOT_ENOUGH_ARGS.)
(Split from bug 321831 comment 2.)
| Assignee | ||
Updated•19 years ago
|
Assignee: events → bzbarsky
OS: MacOS X → All
Priority: -- → P3
Hardware: Macintosh → All
Summary: window.addEventListener.arity is 0 (should be 3) → [FIX]window.addEventListener.arity is 0 (should be 3)
Target Milestone: --- → mozilla1.9alpha
| Assignee | ||
Comment 1•19 years ago
|
||
Attachment #218598 -
Flags: superreview?(jst)
Attachment #218598 -
Flags: review?(jst)
Attachment #218598 -
Flags: approval-branch-1.8.1?(jst)
Comment 2•19 years ago
|
||
Comment on attachment 218598 [details] [diff] [review]
Fix, I think
r+sr+a=jst
Attachment #218598 -
Flags: superreview?(jst)
Attachment #218598 -
Flags: superreview+
Attachment #218598 -
Flags: review?(jst)
Attachment #218598 -
Flags: review+
Attachment #218598 -
Flags: approval-branch-1.8.1?(jst)
Attachment #218598 -
Flags: approval-branch-1.8.1+
Comment 3•19 years ago
|
||
+ // addEventListener always takes at leat 3 arguments.
typo (leat -> least)
| Assignee | ||
Comment 4•19 years ago
|
||
Fixed, trunk and branch.
| Reporter | ||
Updated•18 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•