fix: crash in window.print() (#19690)

* fix: crash in window.print()

* add preliminary tests
This commit is contained in:
Shelley Vohr
2019-08-12 23:44:14 -07:00
committed by GitHub
parent ba5ee79af8
commit e8fa248571
4 changed files with 47 additions and 15 deletions

8
spec/fixtures/pages/window-print.html vendored Normal file
View File

@@ -0,0 +1,8 @@
<html>
<body>
<h1>Hello World!</h1>
<script>
window.print()
</script>
</body>
</html>