page load error when popup
Closed this issue · 0 comments
yw0lk1nni9ht commented
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
Actual behavior
Regression?
No response
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Yes using CefSharp.Winforms.Example. But it is normal in cefclient.exe
Other information
No response