Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14886 closed bug (notabug)

Sizzle Function assumes Type is String

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.1.0
Keywords: Cc:
Blocked by: Blocking:


In the Sizzle Function (l. 732) it is assumed in line 806, that context.getAttribute("id") returns a string.

I realize, that this shouldn't cause a problem, since the id is usually a string. However, it does in combination with the newest version of x3dom.

The simplest solution for me, was to check if the typeof old is "string", instead of the currently implemented null check.

Since this problem is neither depend on the browser or OS I won't include them.

Older Versions of jQuery seem to have been designed with the same flaw.

Change History (1)

comment:1 Changed 9 years ago by timmywil

Resolution: notabug
Status: newclosed

Thank you for opening an issue! Unfortunately, jQuery does not support x3dom. If they do not exist already, javascript libraries specifically designed to work with it will probably soon manifest themselves.

Note: See TracTickets for help on using tickets.