Passing objects is likely to be a big problem. For one thing,
instanceof will break, even if it's exactly the same GWT app in both
windows, for reasons similar to the fact that, in Java, class
foo.bar.Class loaded by classloader foo is not an instance of
foo.bar.Class loaded by classloader bar, even if the two classes were
loaded from the same sequence of bytes.
You may also run into the problem that a function defined in one
window may not be a callable object in another window in IE. For
example:
// in window one
function bar() {
}
var w = window.open(....)
w.useFunc(bar);
// in window two
function useFunc(f) {
f();
}
calling f() in useFunc should work because you're passing it a
function object, but, for some reason, IE sometimes doesn't like it
and will tell you that f is not a function.
As Reinier says, though, primitives should be fine.
Ian
--
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com