I found my problem : Instead of > <set-property name="user.agent" value="ie6" /> > <set-property name="user.agent" value="safari" />
it should be > <set-property name="user.agent" value="ie6,safari" /> So there is no more problem, and no bug in the GWT compiler ! Yves On 3 avr, 19:39, yves <yves.ko...@gmail.com> wrote: > Hi Everybody, > > Unless I missed something (I just upgraded to 2.0.3 last week) I get > the following error in IE6 (SP3) with the js script generated by GWT. > > Note that with Chrome (5.0.366.2 dev), I don't get this error ! > > The browser gives this error : "Object doesn't support this property > or method" at the line showed below "input.addEventListener" > > As from version 1.6 or 1.7, EventListeners have been replaced by > EventHandlers, this let me think that the error might be in the GWT > compiler : I would expect a call to addEventHandler() method instead ! > > The DETAILED complileStyle code is the following : > > function com_google_gwt_user_client_ui_impl_FocusImplStandard_ > $createFocusable__Lcom_google_gwt_user_client_ui_impl_FocusImplStandard_2Lcom_google_gwt_user_client_Element_2(this > $static){ > var div = $doc.createElement($intern_290); > div.tabIndex = 0; > var input = $doc.createElement($intern_456); > input.type = $intern_411; > input.tabIndex = -1; > input.style.opacity = 0; > input.style.height = $intern_457; > input.style.width = $intern_457; > input.style.zIndex = -1; > input.style.overflow = $intern_293; > input.style.position = $intern_34; > input.addEventListener($intern_224, this > $static.com_google_gwt_user_client_ui_impl_FocusImplStandard_focusHandler, > false); > div.appendChild(input); > return div; > > } > > Here is an extract of my gwt.xml file: > <inherits name="com.google.gwt.user.User"/> > <set-property name="user.agent" value="ie6" /> > <set-property name="user.agent" value="safari" /> > > <inherits name="com.google.gwt.i18n.I18N"/> > <extend-property name="locale" values="fr_BE"/> > > Does anybody have an idea if this is an error in GWT and / or what I > should do to avoid this ? > > Thanks > Yves -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.