Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7613 closed bug (invalid)

query about minimised code

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


Firefox's firebug is throwing an error "reference to undefined property a[c.expando]" and shows this part of the code base

from jquery.1.4.4.min.js on firefox 3.6.12

--snip e);if(e=e&&e.events){delete f.handle;f...f(d==="margin")e+=parseFloat(c.css(a, --snip

does the e=e in the if statement actually do anything? is the minification code broken?

Change History (4)

comment:1 Changed 12 years ago by jitter

Owner: set to anonymous
Status: newpending

Thanks for taking the time to contribute to the jQuery project by writing a bug report!

Please submit a reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. So that we can investigate this issue further.

And yes the e=e&&e.events statement does something and the minification code is most likely not broken also the code snippet you posted doesn't include the statement a[c.expando] and this probably unrelated.

How to report bugs

Last edited 12 years ago by jitter (previous) (diff)

comment:2 Changed 12 years ago by jitter

Owner: anonymous deleted
Status: pendingnew

comment:3 Changed 12 years ago by jitter

Resolution: invalid
Status: newclosed

No test case was submitted. So closing this. Feel free to reopen with a reproducible test case

Last edited 12 years ago by jitter (previous) (diff)

comment:4 Changed 12 years ago by [email protected]

I also get "reference to undefined property a[c.expando]" on line 42 from Firefox from jquery 1.4.3 quite a lot. It only freezes page load when Firefox is in debug mode.

The HTML page also includes the jquery.tablesorter plugin. Sometimes the HTML is generated with a table and sometimes not. The error seems to occur when the table is not present in the HTML. But that theory has not be thoroughly tested.

Here's the Break line #42 of jquery 1.4.3 (it include the c.expando):

cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var pa={},Oa=/(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?pa:a;var e=a.nodeType,f=e?a[c.expando]:null,h=c.cache;if(!(e&&!f&&typeof b==="string"&&d===A)){if(e)f
(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=
Note: See TracTickets for help on using tickets.