fix: webContents.navigationHistory should be enumerable (#42139)

fix: webContents.navigationHistory should be enumerable
This commit is contained in:
Shelley Vohr 2024-05-14 22:47:47 +02:00 committed by GitHub
parent 1ef5406c8c
commit d0cb298f95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View file

@ -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.