1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Always use exportFunctionWithName

This commit is contained in:
kkapsner 2019-12-13 17:34:14 +01:00
parent af1dfe755c
commit 6fb7622fec
4 changed files with 44 additions and 47 deletions

View file

@ -203,6 +203,10 @@ addTest("function name", function(log){
func: HTMLIFrameElement.prototype.__lookupGetter__("contentDocument"),
expectedName: "get contentDocument"
},
{
func: HTMLIFrameElement.prototype.__lookupGetter__("contentWindow"),
expectedName: "get contentWindow"
},
].map(checkName).some(function(b){return b;});
});
addTest("exposed getters or setters", function(log){