lvsti / CEF.swift

Swift bindings for the Chromium Embedded Framework
BSD 3-Clause "New" or "Revised" License
96 stars 29 forks source link

window.open() crashes CEFSwift #59

Closed sergi closed 3 years ago

sergi commented 3 years ago

A call like window.open("htps://google.com") crashes CEFSwift.

CEFLifeSpanHandler+Interop swift 2021-05-26 12-16-46

The crash happens in the function CEFLifeSpanHandler_on_before_popup in file CEFLifeSpanHandler+Interop.swift. Apparently with a bad pointer to the cefUserInfo parameter.