1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-03 20:16:33 +02:00

Do not use proxy for Function.prototype.toString

Fixes #685
This commit is contained in:
kkapsner 2024-03-29 16:37:07 +01:00
parent 1d8bf95926
commit 200f6b31f3
3 changed files with 19 additions and 10 deletions

View file

@ -181,6 +181,16 @@ addTest("toString modified", function(log){
configurable: true
},
log
) | checkPropertyDescriptor(
Function.prototype,
"toString",
{
value: function toString(){},
writable: true,
enumerable: false,
configurable: true
},
log
);
});
addTest("function name", function(log){