Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13807 closed bug (fixed)

jquery2.0.0 Firefox issue

Reported by: [email protected] Owned by: gibson042
Priority: low Milestone: None
Component: selector Version: 2.0.0
Keywords: Cc:
Blocked by: Blocking:

Description

I find the following codes throw an error in Firefox 20.0.1:

jQuery("body").attr("watch"); jQuery("body").attr("unwatch");


TypeError: name is not a function Sizzle.attr()jquery-2.0.0.js (line 1600) .attr()jquery-2.0.0.js (line 4071) .access()jquery-2.0.0.js (line 790) .attr()jquery-2.0.0.js (line 3751) [Break On This Error]

val = fn && fn( elem, name, !documentIsHTML );

jquery-2.0.0.js (line 1600)

Change History (2)

comment:1 Changed 10 years ago by gibson042

Component: unfiledselector
Owner: set to gibson042
Priority: undecidedlow
Status: newassigned

comment:2 Changed 10 years ago by Richard Gibson

Resolution: fixed
Status: assignedclosed

Fix #13807: attribute/Object.prototype name collisions

Changeset: 67a080b284af50433583da05f84e73bc63814bab

Note: See TracTickets for help on using tickets.