* Fixed python fatal error when opening popups · pythonthings/cefpython@7d5f7d6 · GitHub
Skip to content

Commit 7d5f7d6

Browse files
committed
* Fixed python fatal error when opening popups
(Issue 45 & Issue 46)
1 parent 6c83c4c commit 7d5f7d6

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

cefpython/browser.pyx

Lines changed: 5 additions & 4 deletions

cefpython/cef1/windows/binaries/cefsimple.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ <h3>User agent</h3>
2020

2121
<script>document.write(navigator.userAgent)</script>
2222

23+
<h3>Popup</h3>
24+
25+
<a href="javascript:window.open('cefsimple.html')">
26+
window.open('cefsimple.html')</a>
27+
2328
<br><br><br><br><br><br><br><br><br><br><br>
2429
<br><br><br><br><br><br><br><br><br><br><br>
2530
<br><br><br><br><br><br><br><br><br><br><br>

cefpython/cef1/windows/binaries/cefsimple.py

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)