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)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: jruderman, Assigned: bzbarsky)

Details

(Keywords: fixed1.8.1, testcase)

Attachments

(1 file)

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: 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
Attached patch Fix, I thinkSplinter Review
Attachment #218598 - Flags: superreview?(jst)
Attachment #218598 - Flags: review?(jst)
Attachment #218598 - Flags: approval-branch-1.8.1?(jst)
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+
+ // addEventListener always takes at leat 3 arguments. typo (leat -> least)
Fixed, trunk and branch.
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: