Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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 stackoverflow.com May 19 '11 at 9:37

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

add comment

1 Answer

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
add comment

Your Answer

 
discard

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.