Skip to content

Commit 18c2a31

Browse files
committed
Address reviews on DOMContentLoaded API spec
1 parent 8ef97a0 commit 18c2a31

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

specs/DOMContentLoaded.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ScenarioDOMContentLoaded::ScenarioDOMContentLoaded(AppWindow* appWindow)
4040
```
4141
webView.CoreWebView2.DOMContentLoaded += (object sender, CoreWebView2DOMContentLoadedEventArgs arg) =>
4242
{
43-
webView.ExecuteScriptAsync("let " +
43+
_ = webView.ExecuteScriptAsync("let " +
4444
"content=document.createElement(\"h2\");content.style.color=" +
4545
"'blue';content.textContent= \"This text was added by the " +
4646
"host app\";document.body.appendChild(content);");
@@ -79,8 +79,8 @@ interface ICoreWebView2_2 : ICoreWebView2 {
7979
/// Event args for the DOMContentLoaded event.
8080
[uuid(E8BA4206-D6F8-42F1-9A6D-43C8A99C1F39), object, pointer_default(unique)]
8181
interface ICoreWebView2DOMContentLoadedEventArgs : IUnknown {
82-
/// The ID of the navigation.
83-
[propget] HRESULT NavigationId([out, retval] UINT64* navigation_id);
82+
/// The ID of the navigation which corresponds to other navigation ID properties on other navigation events.
83+
[propget] HRESULT NavigationId([out, retval] UINT64* navigationId);
8484
}
8585
8686
/// The caller implements this interface to receive the DOMContentLoaded

0 commit comments

Comments
 (0)