mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1484496: Follow-up: Fix busted JS enumerator in Android directory service. r=bustage
This commit is contained in:
parent
6c31f4c8d4
commit
87d079325d
@ -140,6 +140,9 @@ DirectoryProvider.prototype = {
|
||||
|
||||
return {
|
||||
QueryInterface: ChromeUtils.generateQI([Ci.nsISimpleEnumerator]),
|
||||
[Symbol.iterator]() {
|
||||
return result.values();
|
||||
},
|
||||
hasMoreElements: function() {
|
||||
return result.length > 0;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user