Bug 1319938 - Remove String generics uses in toolkit/components/extensions. r=aswan
This commit is contained in:
@@ -122,7 +122,7 @@ function* testCookies(options) {
|
||||
while (enum_.hasMoreElements()) {
|
||||
cookies.push(enum_.getNext().QueryInterface(SpecialPowers.Ci.nsICookie2));
|
||||
}
|
||||
return cookies.sort((a, b) => String.localeCompare(a.name, b.name));
|
||||
return cookies.sort((a, b) => a.name.localeCompare(b.name));
|
||||
}
|
||||
|
||||
let cookies = getCookies(options.domain);
|
||||
|
||||
Reference in New Issue
Block a user