Skip to content

[Problem/Bug]: Custom schemes don't work with the js fetch() api #4328

@omegakode

Description

@omegakode

What happened?

I you register a custom scheme and try to use it with the js fetch() api you get an unauthorized error in js
fetch('custom://dir/file.html');

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

No response

Framework

Win32

Operating System

Windows 10

OS Version

No response

Repro steps

Register a custom scheme and try to use it with fetch() js API

Repros in Edge Browser

Not Applicable

Regression

No, this never worked

Last working version (if regression)

No response

Metadata

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