fix: webContents.navigationHistory
should be enumerable (#42182)
fix: webContents.navigationHistory should be enumerable Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
a3c6dd9767
commit
e4bcd82590
2 changed files with 13 additions and 1 deletions
|
@ -541,7 +541,8 @@ WebContents.prototype._init = function () {
|
|||
length: this._historyLength.bind(this),
|
||||
getEntryAtIndex: this._getNavigationEntryAtIndex.bind(this)
|
||||
},
|
||||
writable: false
|
||||
writable: false,
|
||||
enumerable: true
|
||||
});
|
||||
|
||||
// Dispatch IPC messages to the ipc module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue