Closed Bug 608050 Opened 14 years ago Closed 5 years ago

Hang on jQuery 1.3.x

Categories

(Mozilla Labs :: Doctor JS, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: pcwalton, Unassigned)

Details

jQuery, when minified, causes jscfa to hang during cfa2(). Non-minified jQuery works fine.
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)
The problematic range is any jQuery 1.3.x.
Summary: Hang on jquery-1.3.2.min.js (minified jQuery) → Hang on jQuery 1.3.x
Closing all inactive bugs in Mozilla labs :: *
Please reopen if this are still relevant.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.