Mozilla Labs
Doctor JS
8 years ago
8 years ago


(Reporter: pcwalton, Unassigned)





8 years ago
jQuery, when minified, causes jscfa to hang during cfa2(). Non-minified jQuery works fine.

Comment 1

8 years ago
This is actually a bug in jQuery 1.3.2, minified or not. Minified jQuery 1.4.2 works. Eventually the hang results in an exception:

TypeError: Cannot read property 'base' of undefined
    at avlt (/Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1581:14)
    at Array.updateProp (/Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1298:10)
    at /Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1898:21
    at Aval.forEachObj (/Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1439:13)
    at Node.body (/Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1894:20)
    at evalFun (/Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:3050:29)
    at /Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1817:28
    at /Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1441:47
    at Array.forEach (native)
    at Aval.forEachObj (/Users/pwalton/Source/jsctags/lib/jsctags/narcissus/jscfa.js:1441:14)

Comment 2

8 years ago
The problematic range is any jQuery 1.3.x.


8 years ago
Summary: Hang on jquery-1.3.2.min.js (minified jQuery) → Hang on jQuery 1.3.x
You need to log in before you can comment on or make changes to this bug.