From c4ffb876afd65635d6676f98a5c6b8d83428742d Mon Sep 17 00:00:00 2001 From: Victor Huang Date: Wed, 12 Jun 2024 15:56:03 -0700 Subject: [PATCH 1/4] Create test_canary.md --- diagnostics/test_canary.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 diagnostics/test_canary.md diff --git a/diagnostics/test_canary.md b/diagnostics/test_canary.md new file mode 100644 index 000000000..f9b0ab384 --- /dev/null +++ b/diagnostics/test_canary.md @@ -0,0 +1,13 @@ +# Test Feature in Canary + +The latest runtime changes are first shipped in the WebView2 runtime in the Edge Canary Browser. If you would like to test the new changes with your application, here's a suggested way to do so: + +1. Download [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider) +2. Run the following command in a PowerShell with Administrative Priviledges: + `REG ADD HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind /v /t REG_DWORD /d 1` +3. Restart your application, and you should be able to see that your application picks up the latest runtime. + +To remove the registry key added, run the following: +`REG DELETE HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind` + +For more information, read the documentation on [Test upcoming APIs and features](https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/set-preview-channe) From 8a12ea7cfe38cc4ff1f78cd1e75db2b959c3ca80 Mon Sep 17 00:00:00 2001 From: Victor Huang Date: Wed, 12 Jun 2024 15:57:07 -0700 Subject: [PATCH 2/4] Update README.md --- diagnostics/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diagnostics/README.md b/diagnostics/README.md index 8986e5ff5..e81212320 100644 --- a/diagnostics/README.md +++ b/diagnostics/README.md @@ -6,4 +6,5 @@ This folder contains directions for gathering various detailed diagnostics/logs - [Installer Logs](install.md): Installer logs include information about any errors that WV2's installer/updater hit when trying to install or update the WV2 runtime. - [GPU Info](gpu.md): GPU logs include details on the user's GPU and any potential graphics or rendering issues. - [Network Logs](network.md): Network logs include the network requests, responses, and details on any errors when loading files. -- [Code Integrity](code_integrity.md): how to root cause STATUS_INVALID_IMAGE_HASH errors. \ No newline at end of file +- [Code Integrity](code_integrity.md): how to root cause STATUS_INVALID_IMAGE_HASH errors. +- [Test in Canary](test_canary.md): how to test new WebView2 runtime changes by using Edge Canary. From 728097b528f15dd2aa0a35656ac69affd2048f84 Mon Sep 17 00:00:00 2001 From: Victor Huang Date: Thu, 20 Jun 2024 14:44:40 -0700 Subject: [PATCH 3/4] Fixed issues --- diagnostics/test_canary.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diagnostics/test_canary.md b/diagnostics/test_canary.md index f9b0ab384..4292dfceb 100644 --- a/diagnostics/test_canary.md +++ b/diagnostics/test_canary.md @@ -1,6 +1,6 @@ # Test Feature in Canary -The latest runtime changes are first shipped in the WebView2 runtime in the Edge Canary Browser. If you would like to test the new changes with your application, here's a suggested way to do so: +The latest runtime changes are first shipped in the WebView2 runtime in the Edge Canary Browser. If you would like to test the new changes or help us to verify that your issue is fixed with your application, here's a suggested way to do so: 1. Download [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider) 2. Run the following command in a PowerShell with Administrative Priviledges: @@ -10,4 +10,4 @@ The latest runtime changes are first shipped in the WebView2 runtime in the Edge To remove the registry key added, run the following: `REG DELETE HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind` -For more information, read the documentation on [Test upcoming APIs and features](https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/set-preview-channe) +For more information, read the documentation on [Test upcoming APIs and features](https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/set-preview-channel) From 8e67aaa14a14f2d25a60383ade929c28fb556dea Mon Sep 17 00:00:00 2001 From: Victor Huang Date: Tue, 2 Jul 2024 16:16:09 -0700 Subject: [PATCH 4/4] Update test_canary.md --- diagnostics/test_canary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diagnostics/test_canary.md b/diagnostics/test_canary.md index 4292dfceb..0b2cb98a9 100644 --- a/diagnostics/test_canary.md +++ b/diagnostics/test_canary.md @@ -8,6 +8,6 @@ The latest runtime changes are first shipped in the WebView2 runtime in the Edge 3. Restart your application, and you should be able to see that your application picks up the latest runtime. To remove the registry key added, run the following: -`REG DELETE HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind` +`REG DELETE HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind /v ` For more information, read the documentation on [Test upcoming APIs and features](https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/set-preview-channel)