Community
Participate
Working Groups
Build Identifier: Devhead This is only reproducible in a loop, so it looks like some intermittent synch/lock problem. I was using Snippet321 in SWT code, which gives some idea of how the hang is happening (You can see the AJAX response hasn't been reported). Instead of loading http://eclipse.org, load in a loop (I used a 1000 iteration loop and haven't gotten a non-stick yet) a webpage that executes the following synchronous AJAX on load : function loadAjax() { var httpRequest = new XMLHttpRequest(); httpRequest.open('GET', 'htmlContent.html', false); httpRequest.send(null); document.body.innerHTML = httpRequest.responseText; } Eventually the UI will hang in the middle of the AJAX send on one of the page loads. Any Display execution requests will hang at this point. Moving a mouse over the window will unfreeze and complete the AJAX request. The UI thread is stuck in it's native method call to g_main_context_iteration(). I think it has to do with the JS/Mozilla context not giving up certain UI locks. I've seen similar behavior with Browser.execute calls to long running JS, but I have a better reproducer for this. Reproducible: Always Steps to Reproduce: 1. Create example webpage test.html with listed code executed in a body onLoad attribute and simple test webpage (htmlContent.html) for AJAX response. 2. Load webpage in loop in Snippet321: change setUrl(http://eclipse... to for-loop on setUrl(test.html) 3. Watch UI window, eventually the AJAX response will not be populated on the page
Mozilla support is removed for 4.8. Default browser engine is webkitgtk now. Please open new bug with details if you still see it with Oxygen.