Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Win32 - Browser new test case fails on win32: test_evaluate_invalid_return_value

Hello,

@Win32 SWT maintainers:

I'm doing SWT Gtk work, I've added a few new test cases to the Browser suite:
https://git.eclipse.org/r/#/c/85291/

It is:
test_evaluate_invalid_return_value
The basic idea of the test case is that it tries to make evaluate() return an object that evaluate() doesn't support (as per it's API). This in turn should throw "ERROR_INVALID_RETURN_VALUE" SWTException.

This test case passes on Gtk and Cocoa, but fails on Win32. I haven't found a logical issue with the test case and as per Browser.evaluate() Javadoc, the SWTExcepiton is expected but doesn't appear to be thrown. Also, a related test case test_evaluate_evaluation_failed_exception() passes. This leads me to believe that this may be an implementation issue in the Browser.evaluate() in the SWT Win32 port.

I don't have a Win32 setup to investigate the cause. Would someone with SWT Win32 setup be able to inspect the failing test case and investigate why it doesn't work?

Thank you for your time.

---
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.

Back to the top