Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Stopping Infinite Java Script Loop from SWT Browser
Stopping Infinite Java Script Loop from SWT Browser [message #1795146] Mon, 17 September 2018 01:12
Eclipse UserFriend
1. There is a SWT Application that provides In-App Browser that uses SWT Browser.
2. When the browser loads a script that contains infinite loop likes while(true){}; , the Entire SWT Application will not respond.
3. In this situation, How can I stop the browser only?

I could detect long running and no responding javascript execution using timer thread, however, there is no way to send kill signal to SWT Browser since the UI thread is occupied by the browser and almost API can be invoked from UIThread only. (stop, dispose, or something like that).



Thanks for reading.
Previous Topic:How to Force stop SWT Browser when it runs infinite java script.
Next Topic:SWT GLCanvas has no depth buffer with GTK3
Goto Forum:
  


Current Time: Thu Jul 10 02:11:54 EDT 2025

Powered by FUDForum. Page generated in 0.26968 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top