MicrosoftEdge / MicrosoftEdge/WebView2Feedback
WebView2 Runtime hang when window.open mulit-level new window in the same target.
Open
Nobody has claimed this yet.
bug
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
When window.open set the same target parameter (ex: a) in new window, WebView2 Runtime will hang
WebView App -> new window: pass
new window -> second new window: fail
do not set target: pass
Version
SDK: 1.0.1901.177
Runtime: 115.0.1901.183
Framework: WinForms
OS: Win10 21H2
Repro Steps
- Copy below HTML and save as
test_sample.html
<!DOCTYPE html>
<html>
<body>
<button onclick="testWinOpenTest()">window.open() Test</button>
<script>
var test_url = 'test_sample.html';
function testWinOpenTest() {
window.open(test_url, 'a');
}
</script>
</body>
</html>
- Open WebView App and go to this file.
- Click the button, it will open new window.
- Click the button in new window, WebView2 Runtime will hang.
Screenshots
Additional context
This symptom do not occur in Edge or Chrome.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.