Closed Bug 472292 Opened 11 years ago Closed 11 years ago

Crash [@ jsdScript::CreatePPLineMap() ] with Firebug when invoking a non-function from an event handler.

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86_64
Windows Vista
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bmo, Assigned: timeless)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.36 Safari/525.19
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en; rv:1.9.2a1pre) Gecko/20090105 Minefield/3.2a1pre (.NET CLR 3.5.30729)

The following code will cause Minefield to crash when the button is clicked, with or without JIT:
<input type="button" value="Crash" onclick="45()">

As far as I can see, it only happens with both
 (a) Firebug (and perhaps other JS debuggers) installed
 (b) the invocation happening inside an event handler.

Reproducible: Always

Steps to Reproduce:
1. Install Firebug 1.3.0.b7 (other versions may also crash)
2. Visit the url field of this bug
3. Enable debugging for local files
4. Click 'Crash'
Actual Results:  
Crash.

Expected Results:  
It should show '45 is not a function' in the error console.

http://crash-stats.mozilla.com/report/index/63fee015-1100-402e-8c52-a73ae2090106?p=1
Attached file Stack trace
sorry, my fault.
Assignee: rginda → timeless
Status: UNCONFIRMED → ASSIGNED
Depends on: 427164
Ever confirmed: true
Attached patch correctionsSplinter Review
Attachment #355607 - Flags: review?(caillon)
Attachment #355607 - Flags: review?(caillon) → review+
fixed in rev 309711a732ac
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.