Opened 11 years ago
Closed 11 years ago
#10459 closed bug (invalid)
regression: unbind namespaced event from window can create recursion in Opera
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | event | Version: | 1.7b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If sveral namespaced events are bound to the window object and someone has used doubble whitespace to seperate the events, Opera throws an error: "Uncaught exception: RangeError: Maximum recursion depth exceeded"
Additionally all browsers add a listener for the event "undefined".
You can see an example here: http://jsfiddle.net/trixta/qGkLg/
Although it's a small issue, jQuery either should throw an error, if someone uses doubble whitespaces or should deal with doubble whitespaces.
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → event |
---|---|
Milestone: | None → 1.next |
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The docs say "Multiple event types can be bound at once by including each one separated by a space:"
http://api.jquery.com/bind/
...Not multiple spaces