Monday, June 24, 2013

Re: Anchor does not work in IE - very strange problem!

Audio element is supported from IE > 8 according to this.
Always use the static method isSupported() for all @PartialSupport classes for runtime check.

On Monday, June 24, 2013 7:21:07 PM UTC+2, Magnus wrote:
Hi,

setting the compiler mode to "pretty" did not result in a more comprehensive error message:

com.google.gwt.core.client.JavaScriptException: (TypeError)
description: 'null.nullField' ist Null oder kein Objekt

But I finally found the nullpointer exception by tracing. It happened in the newly added code for audio:

private Audio snd_Move = Audio.createIfSupported ();
...
snd_Move.setSrc(...); // snd_Move is null!!!

So the original problem is solved now. Many thanks for all the advices!

Last questions:
- Why isn't this exception alerted with a comprehensive message, without calling setUncaughtExceptionHandler, like other client-side exceptions?
- The fact, that Audio.createIfSupported () returns null: Does this mean that IE 8/9 does not support audio at all?

Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment