fix: empty result of webContents.getUserAgent()
#35151
Merged
webContents.getUserAgent()
#35151