From a3d88732558594629d6e47e4e4d4c022d00f8aa0 Mon Sep 17 00:00:00 2001 From: Steven Wei Date: Mon, 5 Aug 2024 16:30:38 -0700 Subject: [PATCH 1/4] fixed some typos --- .../reference/javascript/hostobjectasyncproxybase.yml | 9 ++++----- .../reference/javascript/hostobjectsyncproxy.yml | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml index 375533d77b..68fbc47877 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml @@ -84,7 +84,7 @@ methods: type: string return: type: any - description: A promise representing the value of the property. + description: The value of the property. - name: 'setHostProperty(propertyName, propertyValue)' uid: 'WebView2Script!HostObjectAsyncProxyBase#setHostProperty:member(1)' package: WebView2Script! @@ -102,7 +102,7 @@ methods: description: Name of the property of which to set the value. type: string - id: propertyValue - description: Value to set the property. + description: Value to set the property to. type: any return: type: Promise<any> @@ -125,7 +125,7 @@ methods: content: 'setLocalProperty(propertyName: string, propertyValue: any): any;' parameters: - id: propertyName - description: Name of the property to get the value of. + description: Name of the property of which to set the value. type: string - id: propertyValue description: Value to set the property to. @@ -133,6 +133,5 @@ methods: return: type: any description: >- - A promise representing the value of the property after it is set. This promise only resolves after the - property changes value. + The value of the property after it is set. extends: CallableFunction diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml index e6c45c944a..449ec16f73 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml @@ -114,7 +114,7 @@ methods: description: Name of the property of which to set the value. type: string - id: propertyValue - description: Value to set the property. + description: Value to set the property to. type: any return: type: any @@ -135,7 +135,7 @@ methods: content: 'setLocalProperty(propertyName: string, propertyValue: any): any;' parameters: - id: propertyName - description: Name of the property to get the value of. + description: Name of the property of which to set the value. type: string - id: propertyValue description: Value to set the property to. From 9457dfa93316fa4226c5167f614ac85d558e8e8e Mon Sep 17 00:00:00 2001 From: Steven Wei Date: Mon, 5 Aug 2024 17:43:35 -0700 Subject: [PATCH 2/4] update expired links --- .../webview2/reference/javascript/hostobjectasyncproxybase.yml | 2 +- .../webview2/reference/javascript/hostobjectsyncproxy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml index 68fbc47877..8e3cd0b82e 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml @@ -134,4 +134,4 @@ methods: type: any description: >- The value of the property after it is set. -extends: CallableFunction +extends: CallableFunction diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml index 449ec16f73..796d0ec391 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml @@ -143,4 +143,4 @@ methods: return: type: any description: The value of the property after it is set. -extends: CallableFunction +extends: CallableFunction From 47451a9dab1dab8388d76bb7b5c4515f4581640c Mon Sep 17 00:00:00 2001 From: Steven Wei Date: Tue, 6 Aug 2024 11:27:07 -0700 Subject: [PATCH 3/4] remove locale from link --- .../webview2/reference/javascript/hostobjectasyncproxybase.yml | 2 +- .../webview2/reference/javascript/hostobjectsyncproxy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml index 8e3cd0b82e..f25cc4441e 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml @@ -134,4 +134,4 @@ methods: type: any description: >- The value of the property after it is set. -extends: CallableFunction +extends: CallableFunction diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml index 796d0ec391..ab02bdd2ba 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml @@ -143,4 +143,4 @@ methods: return: type: any description: The value of the property after it is set. -extends: CallableFunction +extends: CallableFunction From 64d6838dcf05e316a416563c7f9c9c29d0c49a33 Mon Sep 17 00:00:00 2001 From: Steven Wei Date: Tue, 6 Aug 2024 13:56:00 -0700 Subject: [PATCH 4/4] update link to Function --- .../webview2/reference/javascript/hostobjectasyncproxybase.yml | 2 +- .../webview2/reference/javascript/hostobjectsyncproxy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml index f25cc4441e..18a8ad3c3e 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectasyncproxybase.yml @@ -134,4 +134,4 @@ methods: type: any description: >- The value of the property after it is set. -extends: CallableFunction +extends: Function diff --git a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml index ab02bdd2ba..e4814021b5 100644 --- a/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml +++ b/microsoft-edge/webview2/reference/javascript/hostobjectsyncproxy.yml @@ -143,4 +143,4 @@ methods: return: type: any description: The value of the property after it is set. -extends: CallableFunction +extends: Function