Passing module to handlePending (bug 28998; Follow-up r88053)