Bug 1115246 - Assertion failure: !cx->isExceptionPending(), at js/src/jscntxtinlines.h, r=jandem