mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Always specify correct function names
This commit is contained in:
parent
29e61ada25
commit
e2efb727b9
3 changed files with 52 additions and 35 deletions
|
@ -55,6 +55,17 @@
|
|||
return exportedTry;
|
||||
}
|
||||
else {
|
||||
if (func.name === name){
|
||||
logging.message(
|
||||
"FireFox bug: Need to change name in exportFunction from",
|
||||
exportedTry.name,
|
||||
"(originally correct) to",
|
||||
name
|
||||
);
|
||||
}
|
||||
else {
|
||||
logging.error("Wrong name specified for", name, new Error());
|
||||
}
|
||||
const wrappedContext = scope.getWrapped(context);
|
||||
const options = {
|
||||
allowCrossOriginArguments: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue