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