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