Bug 1947854 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Managed to repro on central, thanks to the error now logged on pretty print failures, here's the string we failed to prettify:
```
unction(){\"use strict\";const e=3456e4,t=\"consent_uid\",o=e=>document.cookie.split(\"; \").find((t=>t.startsWith(`${e}=`)))?.split(\"=\")?.[1],s=(e,t,o)=>{document.cookie=[[e,t],...void 0!==o?[[\"max-age\",o.toString()]]:[],[\"path\",\"/\"]].map((e=>e.join(\"=\"))\u2026;const f=(e,t)=>()=>{s.setConsent(e,t)};y.addEventListener(\"click\",f(\"accepted-cookie-consent\",!0)),_.addEventListener(\"click\",f(\"closed-cookie-consent\",!0)),p.addEventListener(\"click\",f(\"rejected-cookie-consent\",!1)),b.show()}var n})(d,_,u)))}();\n</
```
Managed to repro on central, thanks to the error now logged on pretty print failures, here's the string we failed to prettify:

> unction(){\"use strict\";const e=3456e4,t=\"consent_uid\",o=e=>document.cookie.split(\"; \").find((t=>t.startsWith(`${e}=`)))?.split(\"=\")?.[1],s=(e,t,o)=>{document.cookie=[[e,t],...void 0!==o?[[\"max-age\",o.toString()]]:[],[\"path\",\"/\"]].map((e=>e.join(\"=\"))\u2026;const f=(e,t)=>()=>{s.setConsent(e,t)};y.addEventListener(\"click\",f(\"accepted-cookie-consent\",!0)),_.addEventListener(\"click\",f(\"closed-cookie-consent\",!0)),p.addEventListener(\"click\",f(\"rejected-cookie-consent\",!1)),b.show()}var n})(d,_,u)))}();\n</

Back to Bug 1947854 Comment 1