monkeyxu / dcef3

Automatically exported from code.google.com/p/dcef3
0 stars 0 forks source link

DCEF3 javascript window.close in MDI app closes not only MDI child but whole app #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create MDI application with child window containing CEF browser
2. open page in child MDI which conatains javascript code window.close()
3. click the url with onclick handler or execute javascript - the application 
quits.

What is the expected output? What do you see instead?

closes only the child window

What version of the product are you using? On what operating system?

CEF3.2171.1979 in delphi 7, windows xp 32bit sp3

Please provide any additional information below.

when migrated from CEF3.1750.1805 the problem appeared.
the onBrowserClose handler was called in both versions, but in the last version 
the main application window closes also

I've already created a ticket in cef issue tracker - 
https://code.google.com/p/chromiumembedded/issues/detail?id=1558
and guys said that's not their fault

Original issue reported on code.google.com by kyrm...@gmail.com on 2 Mar 2015 at 5:45