Skip to content

[Problem/Bug]: WebView2 makes request to http://edge.microsoft.com/browsernetworktime/time/1/current?cup2key=[...] #5047

Open
@lliverton

Description

What happened?

Description

WebView2 makes a background requests to http://edge.microsoft.com/browsernetworktime/time/1/current?cup2key=[...]

Version
SDK: 1.0.2792.45
Runtimes:

  • 134.0.3080.0 Canary
  • 133.0.3065.7 Dev

Framework: WPF
OS: Win11

The returned json contains come curious characters at the start and then a current time and a nonce.

)]}'
{"current_time_millis":1737106442557,"server_nonce ":2.7029712098304446E+20}

This request started appearing since Edge Canary version 133.0.3037.0 in our automated tests ran against pre-release Edge channels. It's not a feature that is enabled in WebView2 and it is sensitive from a privacy perspective. Can this be removed?

Here are previous tickets raised to disable network requests:
#4180
#2671

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Prerelease (Edge Canary/Dev/Beta)

Runtime Version

134.0.3080.0 Canary

SDK Version

1.0.2792.45

Framework

WPF

Operating System

Windows 11

OS Version

No response

Repro steps

Start Fiddler or a similar MITM proxy
Run an app that uses WebView2 with the Canary or Dev runtime version. If re-running an existing app make sure to delete the bin folder so the webview2 profile is deleted.
As soon as the app starts and a navigation request is made a call will be made to http://edge.microsoft.com/browsernetworktime/time/1/current?cup2key=[...]

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions