I wrote the following violentmonkey script to see if I can figure out the callpath and what other things are considered ``` // ==UserScript== // @name Proto Intercept // @namespace Violentmonkey Scripts // @match https://www.youtube.com/* // @grant none // @version 1.0 // ==/UserScript== delete Object.getPrototypeOf(navigator).hardwareConcurrency; Object.defineProperty(navigator, 'hardwareConcurrency', { get: () => { debugger; return 2; } }); ``` and I don't know if it is minification or obfuscation but trying to understand the callpath is really hard. I couldn't figure out why. Sharing it just in case someone else wants to try.
Bug 1982336 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I wrote the following violentmonkey script to see if I can figure out the callpath and what other things are considered ``` // ==UserScript== // @name Proto Intercept // @namespace Violentmonkey Scripts // @match https://www.youtube.com/* // @grant none // @version 1.0 // ==/UserScript== delete Object.getPrototypeOf(navigator).hardwareConcurrency; Object.defineProperty(navigator, 'hardwareConcurrency', { get: () => { debugger; return 2; } }); ``` and I don't know if it is minification or obfuscation but trying to understand the callpath is really hard. I couldn't figure out why. Sharing it just in case someone else wants to try. (just fyi it is read twice, and the second one is easy to understand but it looks like it is read for analysis/reporting, and not for resolution decision making)