wry icon indicating copy to clipboard operation
wry copied to clipboard

requests in iframe not captured by custom protocol

Open xdewx opened this issue 2 years ago • 3 comments

Describe the bug I want to load page with iframe, and the html page needs .css & .js. The .html can be captured by custom protocol, however, resources needs by .html can't be loaded and console gives CONNECT_REFUSED.

Steps To Reproduce Steps to reproduce the behavior. It must use wry directly instead of tauri.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Platform and Versions (please complete the following information): OS: Rustc:

Would you want to assign yourself to resolve this bug?

  • [ ] Yes
  • [x] No

Additional context Add any other context about the problem here.

xdewx avatar May 05 '23 14:05 xdewx

Upstream issue: https://github.com/MicrosoftEdge/WebView2Feedback/issues/2341 and as of now, the new filter API is still in pre-release.

amrbashir avatar May 06 '23 01:05 amrbashir

Upstream issue: https://github.com/MicrosoftEdge/WebView2Feedback/issues/2341 and as of now, the new filter API is still in pre-release.

Does this mean i have to wait for the upstream release to use it? It looks like it's going to be a long process. Is there any equivalent in the meantime?

xdewx avatar May 06 '23 04:05 xdewx

Does this mean i have to wait for the upstream release to use it?

Yes.

Is there any equivalent in the meantime?

Not that we know of. And since the webview2feedback issue doesn't mention a workaround either i'm not hopeful about it tbh.

FabianLars avatar May 06 '23 09:05 FabianLars