Backed out changeset bfa02efbffc0 (bug 1064346) for being incomplete.
Bug 1064346 - JSFunction's extended attributes expect POD-style initialization. r=billm, a=2.0+