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


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

Re: java servlets, javascript and firefox 3.6

Date 2011-02-02 19:27 +0100
From Mayeul <mayeul.marguet@free.fr>
Newsgroups comp.lang.java.programmer
Subject Re: java servlets, javascript and firefox 3.6
References <alpine.LSU.2.00.1102021728090.27732@cbfrvqba.ynzoengr.vans.vg>
Message-ID <4d49a1f7$0$7160$426a74cc@news.free.fr> (permalink)
Organization Guest of ProXad - France

Show all headers | View raw


On 02/02/2011 17:41, LC's No-Spam Newsreading account wrote:
> There is a frameset (on host a port 80).
> The frameset contains two frames.
> Its HEAD defines a number of javascript functions,
> The top frame (a page on host a port 80) contains a form.
>
> The action of the form is a java servlet (potentially running on a
> different host, can be host b port 8080, or host a port 8080 which for
> what the browser is concerned counts as a different host)

Isn't that supposed to violate the same origin policy?

It looks like it with my quick tests between http:// and file:, or file: 
and file: in different parent directories.

Check https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript
That's supposed to predate Firefox though.

--
Mayeul

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


Thread

Re: java servlets, javascript and firefox 3.6 Mayeul <mayeul.marguet@free.fr> - 2011-02-02 19:27 +0100
  Re: java servlets, javascript and firefox 3.6 LC's No-Spam Newsreading account <nospam@mi.iasf.cnr.it> - 2011-02-03 10:03 +0100

csiph-web