Closed
Bug 677593
Opened 13 years ago
Closed 13 years ago
[jsdbg2] Assertion failure: (ptrBits & 0x7) == 0, at ../jsval.h:705
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: decoder, Assigned: jorendorff)
Details
(Keywords: assertion, testcase)
Attachments
(1 file)
1.52 KB,
patch
|
jimb
:
review+
|
Details | Diff | Splinter Review |
The following code asserts on jsdbg2 branch (revision f189dd6316eb, options -j -m -a -d): if (typeof assertThrowsInstanceOf === 'undefined') { var assertThrowsInstanceOf = function assertThrowsInstanceOf(f, ctor, msg) { try { f(); } catch (exc) { if (exc instanceof ctor) return; } }; } function check(val) { assertThrowsInstanceOf(function () { dbg.hasDebuggee( this ( ) ); }, TypeError); assertThrowsInstanceOf(function () { dbg.addDebuggee(val); }, TypeError); assertThrowsInstanceOf(function () { dbg.removeDebuggee(val); }, TypeError); } check(undefined); var g = newGlobal('new-compartment'); var dbg = new Debugger; var gobj = dbg.addDebuggee(g); assertThrowsInstanceOf(function () { gobj.defineProperty( "\r\nb") ; }, TypeError);
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: general → jorendorff
Attachment #551861 -
Flags: review?(jimb)
Updated•13 years ago
|
Attachment #551861 -
Flags: review?(jimb) → review+
Assignee | ||
Comment 2•13 years ago
|
||
http://hg.mozilla.org/users/jblandy_mozilla.com/jsdbg2/rev/cb0579abe353
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•