fix: crash when clicking links with target=_blank from webview (#29874)

This commit is contained in:
Robo 2021-06-30 10:10:18 +09:00 committed by GitHub
parent da9261497e
commit 522b19e2d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 7 deletions

View 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>