Skip to content

Commit 8c20cd3

Browse files
Merge pull request #4625 from MicrosoftEdge/victorhuang/add-canary-guidance
Add Canary Testing Documentation
2 parents 137ffb3 + 8e67aaa commit 8c20cd3

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

diagnostics/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ This folder contains directions for gathering various detailed diagnostics/logs
66
- [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.
77
- [GPU Info](gpu.md): GPU logs include details on the user's GPU and any potential graphics or rendering issues.
88
- [Network Logs](network.md): Network logs include the network requests, responses, and details on any errors when loading files.
9-
- [Code Integrity](code_integrity.md): how to root cause STATUS_INVALID_IMAGE_HASH errors.
9+
- [Code Integrity](code_integrity.md): how to root cause STATUS_INVALID_IMAGE_HASH errors.
10+
- [Test in Canary](test_canary.md): how to test new WebView2 runtime changes by using Edge Canary.

diagnostics/test_canary.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Test Feature in Canary
2+
3+
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:
4+
5+
1. Download [Edge Canary](https://www.microsoft.com/en-us/edge/download/insider)
6+
2. Run the following command in a PowerShell with Administrative Priviledges:
7+
`REG ADD HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind /v <your_app.exe> /t REG_DWORD /d 1`
8+
3. Restart your application, and you should be able to see that your application picks up the latest runtime.
9+
10+
To remove the registry key added, run the following:
11+
`REG DELETE HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind /v <your_app.exe>`
12+
13+
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)

0 commit comments

Comments
 (0)