Skip to content

Unable to capture continuous location.href through AddWebResourceRequestedFilter #3498

Open
@TGSAN

Description

@TGSAN

Description
Unable to capture continuous location.href through AddWebResourceRequestedFilter.

Version
SDK: 1.0.1774.30
Runtime: 113.0.1774.42
Framework: WinForms
OS: Win11 10.0.22621.1776

Repro Steps

  1. (In C#)
loginWebView.CoreWebView2.AddWebResourceRequestedFilter("callnative:*", CoreWebView2WebResourceContext.All);
loginWebView.CoreWebView2.WebResourceRequested += CoreWebView2_WebResourceRequested;
  1. (In JavaScript)
location.href = "callnative://command?arg1=value1";
location.href = "next.html";
  1. CoreWebView2_WebResourceRequested unable to capture the callnative://command?arg1=value1.

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