Bug 512001: [Webkit2] Move evaluate() logic to java 

After some careful investigation of Browser5 test, I found that having
browser.evluate() trigger SWT listeners via readAndDispatch() can 
trigger undesired SWT listeners. This can lead to unexpected behaviour
across platforms where SWT listeners fire unexpectedly.

This fix makes evaluate() logic only process Gtk events and not SWT
listeners.

With this fix Browser5 test works. In fact all Browser jUnits (except 1
that is skipped) now pass.

Tests:
- AllBrowserTests Webkit2 OK
- ChildEclipse Webkit2 OK

Please note, dependent patch must be merged first.

Change-Id: I5aee754e4a8d90b2b1f7c1d6e00ac0a9dc2f360e
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=512001
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
1 file changed
tree: e2c8f6913cb2a579f50472198d66f79653d96cf8
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

See the following description for how to contribute a feature or a bug fix to SWT.

Information regarding source code management, builds, coding standards, and more and be found under the following link.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!