You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/ExecuteScriptWithResult.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Background
2
-
Our end developers have pointed out gaps in the existing CoreWebView2.ExecuteScript method, and it is necessary
2
+
Our end developers have pointed out gaps in the existing [CoreWebView2.ExecuteScript](https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2?view=webview2-1.0.1150.38#executescript) method, and it is necessary
3
3
to provide a new method to let our end developers get more information in a more convenient manner.
4
4
The new ExecuteScriptWithResult method will provide exception information if the executed script
5
5
failed, and provides a new method to try to get the script execution result as a string rather than as JSON
@@ -188,6 +188,7 @@ class ExecuteScriptWithResultDemo
188
188
```
189
189
190
190
# API Details
191
+
The spec file for `ExecuteScript` is [WebView2Feedback/specs/ExecuteScript.md](https://github.com/MicrosoftEdge/WebView2Feedback/blob/ca99cf43fde3f536a4d3981d53b8345edb0c9a62/specs/ExecuteScript.md).
191
192
## Win32 C++
192
193
```c++
193
194
/// This interface represents a JavaScript exception.
The documentation for the old interface [CoreWebView2.ExecuteScriptAsync(String) Method](https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.executescriptasync?view=webview2-dotnet-1.0.1150.38#microsoft-web-webview2-core-corewebview2-executescriptasync(system-string)) is here.
0 commit comments