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

Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
trop[bot]
2021-07-01 19:57:59 -07:00
committed by GitHub
parent fea59c5601
commit 49f5006ef0
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>