Sunday, 16 December 2012

Re: RISC OS Javascript support

John Rickman Iyonix wrote

> Vincent Sanders wrote

>> OK, the CI system just built #740 with a spidermonkey 1.8.5 library
>> with the JIT disabled as suggested by Chris Gransden. Can this be
>> tried by someone with access to RISC OS? and please be aware this may
>> well behave very badly indeed.

> Bad news - loops on Iyonix, needs alt-break to stop.
> Good news - runs on Raspberry Pi with mixed results:

> document.write - yes
> window.confirm - yes

> window.prompt - no
> window.alert - no
> window.open - no

> <script type="text/javascript">
> document.write("hello world");
> x = window.prompt( "prompt for a number", "" );
> window.alert( "This is an alert message to the user" );
> window.confirm( "This is a confirm message to the user" );
> window.open("")
> </script>


window.prompt and window.alert do appear towork but their message
windows are being automatically dismissed by subsequent commands. So
only the window.confirm popup remains.

window.open does not seem to do anything.


--
John - http://mug.riscos.org/

No comments:

Post a Comment