Skip to content

Commit 9a62274

Browse files
authored
Update ExecuteScriptWithResult.md
1 parent ba42710 commit 9a62274

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

specs/ExecuteScriptWithResult.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -257,16 +257,16 @@ interface ICoreWebView2ExecuteScriptWithResultCompletedHandler : IUnknown {
257257
[uuid(67E0B57B-1AC7-4395-9793-5E4EF9C4B7D9), object, pointer_default(unique)]
258258
interface ICoreWebView2_10 : ICoreWebView2_9 {
259259

260-
/// Run JavaScript code from the javaScript parameter in the current
261-
/// top-level document rendered in the WebView.
262-
/// The result of the execution is returned asynchronously in the CoreWebView2ExecuteScriptResult object
263-
/// which has methods and properties to obtain the successful result of script execution as well as any
264-
/// unhandled JavaScript exceptions.
265-
/// If this method is
266-
/// run after the NavigationStarting event during a navigation, the script
267-
/// runs in the new document when loading it, around the time
268-
/// ContentLoading is run. This operation executes the script even if
269-
/// ICoreWebView2Settings::IsScriptEnabled is set to FALSE.
260+
/// Run JavaScript code from the javaScript parameter in the current
261+
/// top-level document rendered in the WebView.
262+
/// The result of the execution is returned asynchronously in the CoreWebView2ExecuteScriptResult object
263+
/// which has methods and properties to obtain the successful result of script execution as well as any
264+
/// unhandled JavaScript exceptions.
265+
/// If this method is
266+
/// run after the NavigationStarting event during a navigation, the script
267+
/// runs in the new document when loading it, around the time
268+
/// ContentLoading is run. This operation executes the script even if
269+
/// ICoreWebView2Settings::IsScriptEnabled is set to FALSE.
270270
HRESULT ExecuteScriptWithResult(
271271
[in] LPCWSTR javaScript,
272272
[in] ICoreWebView2ExecuteScriptWithResultCompletedHandler* handler);

0 commit comments

Comments
 (0)