Fix error when `options.reportOnly` is set.

Only happens in Firefox >=4 && Firefox <= 23