Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

as GWT is supposed to abstract all the browsers implementations (for widgets, etc) is it worth doing cross-browser testing? I was just thinking to test only the styling related stuff (CSS related) in different browsers.

Any opinion on that?

share|improve this question

migrated from May 19 '11 at 9:37

This question came from our site for professional and enthusiast programmers.

Definitely test cross-browser. GWT widgets are just DOM elements, i.e. FlowPanel is a DIV. Apply your own CSS to that and it's just like any other front-end framework. In my experience IE7 is always the one that gets you. I know everyone hates on IE6 but IE7 has a lot of the same bugs, and you probably don't develop in it, so it's the one to watch.

But for the code, EMCAScript implementations are remarkably consistent cross-browser. The only real differences are which methods exist, such as attacheventhandler vs addeventlistener. If you're not dropping down to JSNI, a test in one browser is as good as another, at least for detecting purely JavaScript issues like null pointer exceptions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.