The following script, beginning with version 2.9.43, overwrites the JSON global and breaks our application.
I don't know where to report this bug. Surely overwriting a global object is bad practice.
Same issue here, the window.JSON object is being changed on any site that loads this script.
Same problem here. I made a post about it on stackoverflow.
I was researching on this and found something interesting.
The code inside fbevents.js didn't mess with the global scope, but another script was loaded, and this script is changing the global JSON.
The script is on this URL: https://connect.facebook.net/signals/config/1718502398417441?v=2.9.42&r=stable
You can open this and search for j.JSON=n. If you prettify the file, add spaces. It also adds JSON3 to the global scope. You can test typing window.JSON3.
Yes, that is the same source code as referenced in the question. It appears that the numbers in the url are account identifiers. You are correct that the issue surfaces in version 2.9.42 rather than 2.9.43.
You're right! I think I misread your link ;D sry
I posted all the details on the stack overflow link
Nice. I have another bug report in about this as well. Still waiting for a reply...