Hui Yu Wang | 9 Jun 2011 12:44

Ask for help

Hi All,

I'm trying wmlbrowser with Firefox. I just change the "maxVersion" in install.rdf, then wmlbrowser works well with "FireFox5.0b3". But it's weired that it cannot work with "fennec-5.0.en-US.win32".

Could you spare some time to have a look at it or give me a tip how to resolve the problem.

Thank you very much.

Best Regards

Huiyu Wang


--
_______________________________________________
Wmlbrowser mailing list
Wmlbrowser <at> mozdev.org
https://www.mozdev.org/mailman/listinfo/wmlbrowser
Matthew Wilson | 10 Jun 2011 10:08
Picon
Picon

Re: Ask for help

Firstly, on Fennec, 'fennecOverlay.xul' is used, instead of
'browserOverlay.xul'. If I add a 'dump()' call or a console log, then
this seems to work OK.

Secondly, all of the actual WML handling is done inside the component,
wml-service.js. It looks like the component isn't working, or maybe
isn't registered, but I don't know why.

Matthew

> Thank you for reply.
> 
> Wmlbrowser can be installed well on "fennec-5.0.en-US.win32" ( I can find it on installed extensions
list ) but it just don't work.
> 
> I try to visit "http://wap.tianya.cn" which page like this:
"<wml><head>...</head><card>...</card></wml>", and fennec cannot recognize this page. But
"FireFox5.0b3" with wmlbrowser can display this page well.
> 
> I added an "alert(****)" before "window.addEventListener" in browserOverlay.xul of wmlbrowser, but
nothing happened. Seems even "browserOverlay.xul" didn't work.
> 
> So can you give me some idea where the problem maybe is?
> Thank you very much. 

> 
> 
> 
> _______________________________________________
> Wmlbrowser mailing list
> Wmlbrowser <at> mozdev.org
> https://www.mozdev.org/mailman/listinfo/wmlbrowser

Gmane