fix: crash when clicking links with target=_blank from webview (#29874)
This commit is contained in:
parent
da9261497e
commit
522b19e2d8
3 changed files with 31 additions and 7 deletions
10
spec/fixtures/api/native-window-open-noopener.html
vendored
Normal file
10
spec/fixtures/api/native-window-open-noopener.html
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<html>
|
||||
<body>
|
||||
<a href="blank.html" target="_blank">noopener example</a>
|
||||
</body>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
window.onload = () => {
|
||||
document.querySelector('a').click()
|
||||
}
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue