mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
In ContentProcessForward, we listen for console-api-log-event in order to pass data to the Browser console and Browser toolbox. But the data is modified and properties are cherry-picked from the original event, missing some properties probably introduced later like `counter`, `prefix`, `private`, … The fix consists in cloning the original event data and only overriding what needs to be overridden. MozReview-Commit-ID: 6jSfiRxcHQa