Last Comment Bug 682637 - "ASSERTION: EventListener with no context or scope?" and crash
: "ASSERTION: EventListener with no context or scope?" and crash
Status: RESOLVED FIXED
: assertion, crash, regression, testcase
Product: Core
Classification: Components
Component: DOM: Events (show other bugs)
: Trunk
: x86_64 Mac OS X
: -- critical (vote)
: mozilla9
Assigned To: Kyle Huey [:khuey] (khuey@mozilla.com)
:
Mentors:
Depends on:
Blocks: 326633 594645 659350
  Show dependency treegraph
 
Reported: 2011-08-27 17:05 PDT by Jesse Ruderman
Modified: 2011-08-29 10:51 PDT (History)
2 users (show)
khuey: in‑testsuite+
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
testcase (crashes Firefox when loaded) (330 bytes, text/html)
2011-08-27 17:05 PDT, Jesse Ruderman
no flags Details
stack trace (19.03 KB, text/plain)
2011-08-27 17:06 PDT, Jesse Ruderman
no flags Details
Patch (1006 bytes, patch)
2011-08-27 18:25 PDT, Kyle Huey [:khuey] (khuey@mozilla.com)
bzbarsky: review+
Details | Diff | Review

Description Jesse Ruderman 2011-08-27 17:05:44 PDT
Created attachment 556335 [details]
testcase (crashes Firefox when loaded)

###!!! ASSERTION: EventListener with no context or scope?: 'aScopeObject && aContext', file dom/src/events/nsJSEventListener.cpp, line 86

I'm guessing this is a regression from bug 659350.
Comment 1 Jesse Ruderman 2011-08-27 17:06:09 PDT
Created attachment 556336 [details]
stack trace
Comment 3 Boris Zbarsky [:bz] (Out June 25-July 6) 2011-08-27 19:13:14 PDT
Comment on attachment 556339 [details] [diff] [review]
Patch

r=me.  Thank you for adding the comment!
Comment 4 Kyle Huey [:khuey] (khuey@mozilla.com) 2011-08-28 06:03:42 PDT
http://hg.mozilla.org/mozilla-central/rev/80155b29d816
Comment 5 Boris Zbarsky [:bz] (Out June 25-July 6) 2011-08-29 10:50:03 PDT
Kyle, thanks for picking this up!
Comment 6 Kyle Huey [:khuey] (khuey@mozilla.com) 2011-08-29 10:51:53 PDT
np

Note You need to log in before you can comment on or make changes to this bug.