Skip to content

Commit

Permalink
Merge pull request #4625 from MicrosoftEdge/victorhuang/add-canary-gu…
Browse files Browse the repository at this point in the history
…idance

Add Canary Testing Documentation
  • Loading branch information
victorhuangwq committed Jul 2, 2024
2 parents 137ffb3 + 8e67aaa commit 8c20cd3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion diagnostics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
- [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.
13 changes: 13 additions & 0 deletions diagnostics/test_canary.md
Original file line number Diff line number Diff line change
@@ -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 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:
`REG ADD HKCU\Software\Policies\Microsoft\Edge\WebView2\ChannelSearchKind /v <your_app.exe> /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 /v <your_app.exe>`

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 comments on commit 8c20cd3

Please sign in to comment.