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