Yes, actually that is my mistake. My recollection was from a
server-side script selection logic.

I experimented with CrossSiteIframeLinker and the current behavior is: the
client side selection script returns 'undefined' and it ends up trying to
load undefined.cache.js. As the script load fails, the pages just shows
what is served as html page. This is far from ideal. We should have a
better out-of-the-box experience and let the app override the behavior if
they like to.

I agree with Jens' points. We need:

1. Better out of the box experience (give some error message by default)
2. (Assuming we'll have a fallback permutation in the future), provide a
way for the app to check for it is in fallback mode (so that it can warn
the user).
3. Provide a way to redirect.

If you all agree, I'll create a bug with these points to track the issue.

On Wed, Nov 27, 2013 at 3:55 AM, Jens <[email protected]> wrote:

> And as already noted the onPropertyErrorFn functions works slightly
>> different than what I would expect thats why I called it unreliable. It
>> only works if you use a browser that GWT does not know at all.
>>
>
> To be exact: The method itself is of course reliable. It triggers if a
> property value is not valid, i.e. if its not in the set of defined/allowed
> values. It's just that its not that useful for the user.agent scenario as a
> slightly different behavior is desired in this case because the user.agent
> value is always correctly filled (regardless of permutations) unless you
> use a browser that is totally unknown to GWT.
>
> -- J.
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
> ---
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to