One throw, one report

A consent manager patches the way the page creates elements, and the patch throws. The page calls it from a script and again from a promise, so the browser reports the same throw twice: once as it happened and once as an unhandled rejection. The detector reports it once, as it first arrived.