Re: GWT 2.0 - SOP and Development Mode

2010-01-21 Thread preacher860
Ok, nevermind.  I took the brute force approach and recompiled firefox
with the SOP feature disabled.

In case anyone needs to do that:  I just made a change in the
SecurityCompareURIs() function so that it would always return
PR_TRUE.

Ajax works again in the debugger, ahhh!

On Jan 19, 9:37 pm, preacher860  wrote:
> Hi there,
>
> As many people, I'm experiencing troubles while trying to debug an
> application in Development Mode when it tries to retrieve some JSON
> data from a remote server.  It's obviously a Same Origin Policy
> problem but I can't find a satisfying solution to this issue.  The
> setup is quite simple:
>
> - GWT application running in Firefox for Linux with Developer Plugin
> installed
> - Embedded target with webserver providing some JSON data through
> RequestBuilder POST statements.
>
> This works fine when the embedded board is also the server for the
> application pages (No SOP issues) and also used to work fine in GWT
> 1.7 with SOP checks disabled in the embedded browser.
>
> Now, the Firefox plugin seems to provide some way of allowing security
> exceptions, but no matter how I try to use this, I still get an SOP
> violation message from the browser.  Is there any special syntax to
> use for the exceptions?  Full URL or only server name?  Or IP?
> Documentation is not very clear on that...
>
> Did anyone actually made the exceptions work in the FF plugin under
> Linux?
>
> Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 2.0 - SOP and Development Mode

2010-01-20 Thread preacher860
Hi there,

As many people, I'm experiencing troubles while trying to debug an
application in Development Mode when it tries to retrieve some JSON
data from a remote server.  It's obviously a Same Origin Policy
problem but I can't find a satisfying solution to this issue.  The
setup is quite simple:

- GWT application running in Firefox for Linux with Developer Plugin
installed
- Embedded target with webserver providing some JSON data through
RequestBuilder POST statements.

This works fine when the embedded board is also the server for the
application pages (No SOP issues) and also used to work fine in GWT
1.7 with SOP checks disabled in the embedded browser.

Now, the Firefox plugin seems to provide some way of allowing security
exceptions, but no matter how I try to use this, I still get an SOP
violation message from the browser.  Is there any special syntax to
use for the exceptions?  Full URL or only server name?  Or IP?
Documentation is not very clear on that...

Did anyone actually made the exceptions work in the FF plugin under
Linux?

Thanks!
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.