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