mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 03:56:26 +02:00
Always use exportFunctionWithName
This commit is contained in:
parent
af1dfe755c
commit
6fb7622fec
4 changed files with 44 additions and 47 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue