fix: webContents.printToPDF()
with cross-process subframes (#46218)
fix: webContents.printToPDF() with cross-process subframes
This commit is contained in:
parent
8e856dfdb8
commit
1d6cb348b4
5 changed files with 63 additions and 1 deletions
11
spec/fixtures/api/print-to-pdf-same-origin.html
vendored
Normal file
11
spec/fixtures/api/print-to-pdf-same-origin.html
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<title>Your Title Here</title>
|
||||
</head>
|
||||
|
||||
<body style="background: green;">
|
||||
<iframe src="../pages/content.html"</iframe>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue