Bug 1928064 part 4 - update tests that use makeResponseForTest() r=dlp-reviewers,handyman

Differential Revision: https://phabricator.services.mozilla.com/D239399
This commit is contained in:
Greg Stoll committed 2025-02-25 01:33:01 +00:00
1 parent 8d790dc2c5
commit 1559633400
4 files changed
+8 -4

No files matched your search

@@ -61,7 +61,8 @@ let mockCA = {
this.caShouldAllow
? Ci.nsIContentAnalysisResponse.eAllow
: Ci.nsIContentAnalysisResponse.eBlock,
aRequest.requestToken
aRequest.requestToken,
aRequest.userActionId
)
);
},
@@ -60,7 +60,8 @@ let mockCA = {
this.caShouldAllow
? Ci.nsIContentAnalysisResponse.eAllow
: Ci.nsIContentAnalysisResponse.eBlock,
aRequest.requestToken
aRequest.requestToken,
aRequest.userActionId
)
);
},
@@ -59,7 +59,8 @@ let mockCA = {
this.caShouldAllow
? Ci.nsIContentAnalysisResponse.eAllow
: Ci.nsIContentAnalysisResponse.eBlock,
aRequest.requestToken
aRequest.requestToken,
aRequest.userActionId
)
);
},
@@ -255,7 +255,8 @@ function makeMockContentAnalysis() {
let response = this.realCAService.makeResponseForTest(
this.getAction(),
request.requestToken
request.requestToken,
request.userActionId
);
callback.contentResult(response);
}, 0);