B2G/gecko/xpcom/analysis/stack.js
/**
 * A BlameChain records a chain of one or more location/message pairs. It
 * can be used to issue a complex error message such as:
 * location: error: Allocated class Foo on the heap
 * locationofFoo:   class Foo inherits from class Bar
 * locationofBar:   in class Bar
 * locationofBarMem:   Member Bar::mFoo
 * locationofBaz:   class Baz is annotated NS_STACK
 */
A BlameChain records a chain of one or more location/message pairs.
A BlameChain records a chain of one or more location / message pairs .
function BlameChain(loc, message, prev)
{
  this.loc = loc;
  this.message = message;
  this.prev = prev;
}
function BlameChain ( loc , message , prev ) { this . loc = loc ; this . message = message ; this . prev = prev ; }
A BlameChain records a chain of one or more location/message pairs.
A BlameChain records a chain of one or more location / message pairs .