Quantcast

OS X Browser 'window.close()' is not triggering CloseWindowListener

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

OS X Browser 'window.close()' is not triggering CloseWindowListener

Leo Ufimtsev-2
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.
[hidden email] | http://DeveloperBlog.RedHat.com/

_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OS X Browser 'window.close()' is not triggering CloseWindowListener

Leo Ufimtsev-2
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 <[hidden email]> 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.
[hidden email] | http://DeveloperBlog.RedHat.com/



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

Red Hat, Inc.
[hidden email] | http://DeveloperBlog.RedHat.com/

_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Loading...