Bug 1319938 - Remove String generics uses in toolkit/components/extensions. r=aswan

This commit is contained in:
André Bargull
2016-11-29 14:30:06 -08:00
parent aa03943a41
commit 6b01a0c176
2 changed files with 2 additions and 2 deletions

View File

@@ -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);