mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 890112 - [OS.File] DirectoryIterator should correctly implement iterator interface; r=yoric
This commit is contained in:
parent
f75c5b7822
commit
90a0356a09
@ -718,6 +718,9 @@ let DirectoryIterator = function DirectoryIterator(path, options) {
|
|||||||
this._isClosed = false;
|
this._isClosed = false;
|
||||||
};
|
};
|
||||||
DirectoryIterator.prototype = {
|
DirectoryIterator.prototype = {
|
||||||
|
iterator: function () this,
|
||||||
|
__iterator__: function () this,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine whether the directory exists.
|
* Determine whether the directory exists.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user