Bug 1207490 - Part 1: Remove use of expression closure from browser/base/. r=dao
This commit is contained in:
@@ -406,8 +406,8 @@ Sanitizer.prototype = {
|
||||
|
||||
let count = 0;
|
||||
let countDone = {
|
||||
handleResult : function(aResult) count = aResult,
|
||||
handleError : function(aError) Components.utils.reportError(aError),
|
||||
handleResult : aResult => count = aResult,
|
||||
handleError : aError => Components.utils.reportError(aError),
|
||||
handleCompletion :
|
||||
function(aReason) { aCallback("formdata", aReason == 0 && count > 0, aArg); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user