Bug 534555 - [GTK] Browser stops responding and throws an error on
dispose (Browser crash)

I found an subtle issue in javascript execution logic.

The javascript execution logic is canceled if browser's *shell* is
disposed.

This is wrong, the javascript logic should check if the *browser*
is disposed, not the browser's shell because you can have the
situation where the shell is not disposed but the browser is.

Also updating error message to clarify slow javascript execution for
users.

I can't reproduce the issue locally, so I can only assume this fixes
the reported issue.
But I tested jUnits and child Eclipse and didn't have issues.

Change-Id: Icae4ec6c28dd17fb1e555f24fbd5b0b984702917
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
1 file changed
tree: 5760af29979be3fbb506f0797d99f8ff9174ddaf
  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!