Side navigation
#7613 closed bug (invalid)
Opened November 24, 2010 10:39AM UTC
Closed December 01, 2010 02:36PM UTC
Last modified June 22, 2011 02:20PM UTC
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: |
Description
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?
Attachments (0)
Change History (4)
Changed November 24, 2010 11:08AM UTC by comment:1
_comment0: | 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. \ ----- \ [http://docs.jquery.com/How_to_Report_Bugs How to report bugs] → 1290612487855143 |
---|---|
_comment1: | 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 not broken. \ ----- \ [http://docs.jquery.com/How_to_Report_Bugs How to report bugs] → 1290623206999110 |
owner: | → anonymous |
status: | new → pending |
Changed December 01, 2010 02:35PM UTC by comment:2
owner: | anonymous |
---|---|
status: | pending → new |
Changed December 01, 2010 02:36PM UTC by comment:3
_comment0: | → 1291214204328045 |
---|---|
resolution: | → invalid |
status: | new → closed |
No test case was submitted. So closing this. Feel free to reopen with a reproducible test case
Changed June 22, 2011 02:20PM UTC by comment:4
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]=
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 statementa[c.expando]
and this probably unrelated.How to report bugs