mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Set proper name for faked getContext
This commit is contained in:
parent
3e3dbf2698
commit
2c141277e8
@ -296,7 +296,7 @@
|
||||
},
|
||||
object: "HTMLCanvasElement",
|
||||
fakeGenerator: function(checker){
|
||||
return function(context, contextAttributes){
|
||||
return function getContext(context, contextAttributes){
|
||||
return checkerWrapper(checker, this, arguments, function(args, check){
|
||||
const {original} = check;
|
||||
canvasContextType.set(this, context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user