mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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:
1 parent
8d790dc2c5
commit
1559633400
4 files changed
+8
-4
No files matched your search
+2
-1
@@ -61,7 +61,8 @@ let mockCA = {
|
||||
this.caShouldAllow
|
||||
? Ci.nsIContentAnalysisResponse.eAllow
|
||||
: Ci.nsIContentAnalysisResponse.eBlock,
|
||||
aRequest.requestToken
|
||||
aRequest.requestToken,
|
||||
aRequest.userActionId
|
||||
)
|
||||
);
|
||||
},
|
||||
|
||||
+2
-1
@@ -60,7 +60,8 @@ let mockCA = {
|
||||
this.caShouldAllow
|
||||
? Ci.nsIContentAnalysisResponse.eAllow
|
||||
: Ci.nsIContentAnalysisResponse.eBlock,
|
||||
aRequest.requestToken
|
||||
aRequest.requestToken,
|
||||
aRequest.userActionId
|
||||
)
|
||||
);
|
||||
},
|
||||
|
||||
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user