Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:12
Jeeeyul Lee is currently offline Jeeeyul LeeFriend
Messages: 117
Registered: July 2009
Location: Seoul
Senior Member

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: Mon Nov 11 12:02:22 GMT 2024

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

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

Back to the top