fix: properly forward properties to webview (#22485)

This commit is contained in:
Shelley Vohr 2020-03-03 22:25:14 +00:00 committed by GitHub
parent 8352c39c65
commit efc11563e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 2 deletions

View file

@ -50,6 +50,14 @@ export const syncMethods = new Set([
'setZoomLevel'
])
export const properties = new Set([
'audioMuted',
'userAgent',
'zoomLevel',
'zoomFactor',
'frameRate'
])
export const asyncMethods = new Set([
'loadURL',
'executeJavaScript',