yueying0083 / javachromiumembedded

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

Mac: A additional window, created by JavaScript window.open(), can never be closed #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check out latest JCEF r105
3. Compile and start MainFrame detailed example 
3. Open "Tests->Show Info"
4. Try to close the Info-Window

What is the expected output? What do you see instead?
Expected: The window disapears.
Instead you get the error message [NSView removeCefBrowser]: unrecognized 
selector sent to instance 0x7fc5ea31e0b0

What version of the product are you using? On what operating system?
JCEF Version = 3.1916.1839.105
CEF Version = 3.1916.1839
Chromium Version = 35.0.1916.138
Java:  7u65
OS: Mac OS X

Please provide any additional information below.
This issue only occurs if an additional window is created out of a web-page 
(e.g. by JavaScript window.open().

Attached you'll find a patch file which fixes that problem.

Regards,
Kai

Original issue reported on code.google.com by k...@censhare.de on 2 Oct 2014 at 11:50

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, added in revision 108.

Original comment by magreenb...@gmail.com on 24 Oct 2014 at 4:48