Skip to content

Commit

Permalink
Update script name in CosmeticFiltersScriptHandler assertion messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHeaps committed Jan 13, 2025
1 parent c7a75c5 commit fe5b608
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CosmeticFiltersScriptHandler: TabContentScript {
replyHandler: @escaping (Any?, String?) -> Void
) {
if !verifyMessage(message: message) {
assertionFailure("Invalid security token. Fix the `RequestBlocking.js` script")
assertionFailure("Invalid security token. Fix the `content_cosmetic_ios.js` script")
replyHandler(nil, nil)
return
}
Expand Down Expand Up @@ -96,7 +96,7 @@ class CosmeticFiltersScriptHandler: TabContentScript {
)
}
} catch {
assertionFailure("Invalid type of message. Fix the `RequestBlocking.js` script")
assertionFailure("Invalid type of message. Fix the `content_cosmetic_ios.js` script")
replyHandler(nil, nil)
}
}
Expand Down

0 comments on commit fe5b608

Please sign in to comment.