Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13830

Re: JSObject.call(method, ARGS) with Safari

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
Newsgroups comp.lang.java.programmer, comp.lang.javascript
Subject Re: JSObject.call(method, ARGS) with Safari
References (1 earlier) <YOGkr.11325$DB1.340@newsfe03.iad> <jn02en$5gp$1@speranza.aioe.org> <jn0anp$l3v$1@speranza.aioe.org> <Pc1lr.11621$M37.265@newsfe01.iad> <c5e9f046-ed19-4f45-aa5f-a280f0520f34@t2g2000pbl.googlegroups.com>
Message-ID <TLllr.66389$YM2.10202@newsfe05.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2012-04-23 20:40 -0300

Cross-posted to 2 groups.

Show all headers | View raw


On 12-04-23 03:40 AM, Richard Maher wrote:
> Hi Arved,
> 
> On Apr 23, 8:17 am, Arved Sandstrom <asandstrom3min...@eastlink.ca>
> wrote:
>> On 12-04-22 04:07 AM, Richard Maher wrote:
>>
> 
>> Since you mentioned Safari I did Safari 5.1.2 on
> 
>>>> Mac OS X 10.6.8 with <<<<
> 
> Well there goes 3 days of my life I'll never get back :-( I guess some
> would say I deserve it for not being a OS/X user. I should have
> pointed out that I was running Safari of Windows XP but on 2nd
> thoughts, who cares? I can't see many users choosing to browse with
> Safari on Windows so, in the grand scheme of things it can stay broke.
> (Shame to not be able to test there though).
[ SNIP ]
> 
> Thanks for testing it for me.
>>
>> AHS
> 
> Cheers Richard Maher

I'm not one to resist a challenge, I tested the applet against Safari on
my Windows XP, and it worked also.

Safari 5.0.3, Windows XP, JDK 1.6.0_31 (and corresponding plugin).

FWIW my test environment is very spare. The JApplet itself is
uncomplicated, and the 2 lines I showed you are the only ones that talk
to JavaScript. The JavaScript is the function I showed, and it's the
only JavaScript in the page that contains the applet. And my applet tag
*is* an <applet> tag, not an <object> tag, with only the 'code' and
'archive' attributes. I'm not saying you want to, or can, simplify that
much (considering you want to support many browsers) but it's what
worked for me in Safari on both Mac OS X and Win XP for this scenario.

AHS
-- 
A fly was very close to being called a "land," cause that's what they do
half the time.
-- Mitch Hedberg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 18:12 +0800
  Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 18:15 +0800
    Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 04:45 -0700
      Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-21 09:57 -0300
        Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 21:30 +0800
          Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 13:07 -0700
        Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 13:00 -0700
  Re: JSObject.call(method, ARGS) with Safari Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-21 15:48 -0700
    Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-22 12:46 +0800
      Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-22 15:07 +0800
        Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-22 21:17 -0300
          Re: JSObject.call(method, ARGS) with Safari Richard Maher <maherrj@googlemail.com> - 2012-04-22 23:40 -0700
            Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-23 20:40 -0300

csiph-web