Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

websize load error when popup by ChromiumHostControl #4967

Open
1 task done
yw0lk1nni9ht opened this issue Oct 27, 2024 · 0 comments
Open
1 task done

websize load error when popup by ChromiumHostControl #4967

yw0lk1nni9ht opened this issue Oct 27, 2024 · 0 comments

Comments

@yw0lk1nni9ht
Copy link

yw0lk1nni9ht commented Oct 27, 2024

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

109.1.110

Operating System

Windows 10

Architecture

x64

.Net Version

.net framework 4.7.2

Implementation

WinForms

Reproduction Steps

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Open New Tab Example</title>
    <script>
        function openNewTab() {
            var newTab = window.open('https://www.etax.chinatax.gov.cn/', 'https://www.etax.chinatax.gov.cn/');
            // window.open('https://www.etax.chinatax.gov.cn/','_self');
        }
    </script>
</head>
<body>
    <button onclick="openNewTab()">点击我打开新标签页</button>
</body>
</html>

Use CefSharp.WinForms.Example,open test.html (code show above ),click the button. you can see the page is nothing.
but if you clear the cookie, and then change test.html code, use window.open('https://www.etax.chinatax.gov.cn/','_self'); instead of var newTab = window.open('https://www.etax.chinatax.gov.cn/', 'https://www.etax.chinatax.gov.cn/');,
the page is load normal.

Expected behavior

load websize.
error

Actual behavior

request return http code 400.
click
error11

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using CefSharp.Winforms.Example.

Other information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant