Skip to main content

Bug Tracker

Side navigation

#13807 closed bug (fixed)

Opened April 22, 2013 03:05AM UTC

Closed April 22, 2013 01:59PM UTC

jquery2.0.0 Firefox issue

Reported by: iamchinason@163.com 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)

Attachments (0)
Change History (2)

Changed April 22, 2013 01:59PM UTC by gibson042 comment:1

component: unfiledselector
owner: → gibson042
priority: undecidedlow
status: newassigned

Changed April 22, 2013 01:59PM UTC by Richard Gibson comment:2

resolution: → fixed
status: assignedclosed

Fix #13807: attribute/Object.prototype name collisions

Changeset: 67a080b284af50433583da05f84e73bc63814bab