Community
Participate
Working Groups
In case of an exception in the Java code (when executing a browser function), the java exception message is send to the client and javascript error is thrown with this message. With the current implementation this works fine in Firefox, Safari, Chrome and Opera, but not in IE. In IE, another error is thrown - "Object does not support this property or method". It seems like in IE, an Error object created in the context of the main window can't be thrown into the iframe. The workaround is to create a wrapper function in the iframe context and throw the error from there.
I added the function "scheduleResponse" to TestUtil to test this scenario.
Fixed in CVS HEAD. There is a problem in the js testrunner to work with RAP synchronous requests and two tests in BrowserTest.js are commented. Enable them when the problem is fixed.