Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] OS X Browser 'window.close()' is not triggering CloseWindowListener

Btw, I created a bug with snippet for it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=511874

On Tue, Feb 7, 2017 at 6:11 PM, Leo Ufimtsev <Leonidas@xxxxxxxxxx> wrote:
Hello,

I recently added a test in Test_*_Browser:
test_execute_and_closeListener().

This test executes _javascript_: "window.close()" and waits for CloseWindowListener to trigger.

On Linux/Win32 this works. But on OSX it seems that the browser is closed but the listener is not triggered.
I.e, on OS X the signal is not being trigerd or signal is not handled in SWT.

As such, this failure shows up on the build logs:
http://download.eclipse.org/eclipse/downloads/drops4/I20170206-2000/testresults/html/org.eclipse.swt.tests_ep47I-unit-win32_win32.win32.x86_8.0.html

Is there anyone on SWT/OSX who works on Browser? If so would you be able to check it out?

Thank you

--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
Leonidas@xxxxxxxxxx | http://DeveloperBlog.RedHat.com/



--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
Leonidas@xxxxxxxxxx | http://DeveloperBlog.RedHat.com/

Back to the top