Hi, is there a way to modify the underlying HtmlUnit configuration when running GWTTestCase. My purpose is to make HtmlUnit more relaxed and not throw or ignore CORS error.
Currently, the test in my GWT library fails due to supposedly CORS error even when the server resource is returning the CORS header.
"SEVERE: Job run failed with unexpected RuntimeException: Wrapped java.lang.RuntimeException: No permitted "Access-Control-Allow-Origin" header."
App is running on GWT 2.8.2 (for Legacy Errai support)
and is using the "gwt-maven-plugin" of the same GWT version.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/b1038241-9248-4f4c-a7d6-e0766da59697n%40googlegroups.com.
No comments:
Post a Comment