On Sat, Feb 4, 2012 at 5:23 PM, Phil Charlesworth <[email protected]> wrote: > On 04/02/12 14:37, lkcl luke wrote: >> On Sat, Feb 4, 2012 at 2:29 PM, Phil Charlesworth >> <[email protected]> wrote: >> >> >>>> the thing is that i'm reluctant to change something as fundamental as >>>> DOM.setAttribute without analysing its full impact across *all* the >>>> pyjd engines. >>>> >>>> anything like this is going to require comprehensive and thorough >>>> testing. >>>> >>>> l. >>>> >>> Fair enough P. >>> >> it's a bugger, innit? :) >> >> would anyone like to give this a shot? modify the code back to not >> have the "str" conversion, and see what happens? >> >> we need to find out what breaks - if anything - and/or what the >> implications are. >> >> l. > Tested KitchenSink on Windows 7 and got same error messages (from > getText()) when typing pound chars into the TextBox widgets on the Text > page. Those errors certainly go away when the str() calls are removed. > > However, something very interesting - I now have pyjamas running on > Debian in a VirtualBox - and KitchenSink there shows no sign of this > problem! It is using hulahop+webview+Webview it says. > So perhaps, after all, it IS something specific to MSHTML. > Phil
hmmm, then what could be done there is to put in a platform-override in .. mmm.... library/pyjamas/platform/DOMmshtml.py which *doesn't* have the str call that would do the trick. l.

