I'm getting some inconsistent XSS errors between browsers.

I'm hosting APE's JS files from a Django server running at http://myapp:8004.
Everything seems to work perfectly in Chrome, and
http://myapp:8004/APE_JSF/Tools/Check/index.html reports no problems.

However, the check tool reports "Can't load APE JSF", and I get the
following errors in Firefox:

Illegal document.domain value"  code: "1009
http://2.ape.myapp:6969/?[{%22cmd%22:%22script%22,%22params%22:{%22domain%22:%22myapp%22,%22scripts%22:[%22http://myapp:8004/APE_JSF/Source/mootools-core.js%22,%22http://myapp:8004/APE_JSF/Source/Core/APE.js%22,%22http://myapp:8004/APE_JSF/Source/Core/Events.js%22,%22http://myapp:8004/APE_JSF/Source/Core/Core.js%22,%22http://myapp:8004/APE_JSF/Source/Pipe/Pipe.js%22,%22http://myapp:8004/APE_JSF/Source/Pipe/PipeProxy.js%22,%22http://myapp:8004/APE_JSF/Source/Pipe/PipeMulti.js%22,%22http://myapp:8004/APE_JSF/Source/Pipe/PipeSingle.js%22,%22http://myapp:8004/APE_JSF/Source/Request/Request.js%22,%22http://myapp:8004/APE_JSF/Source/Request/Request.Stack.js%22,%22http://myapp:8004/APE_JSF/Source/Request/Request.CycledStack.js%22,%22http://myapp:8004/APE_JSF/Source/Transport/Transport.longPolling.js%22,%22http://myapp:8004/APE_JSF/Source/Transport/Transport.SSE.js%22,%22http://myapp:8004/APE_JSF/Source/Transport/Transport.XHRStreaming.js%22,%22http://myapp:8004/APE_JSF/Source/Transport/Transport.JSONP.js%22,%22http://myapp:8004/APE_JSF/Source/Transport/Transport.WebSocket.js%22,%22http://myapp:8004/APE_JSF/Source/Core/Utility.js%22,%22http://myapp:8004/APE_JSF/Source/Core/JSON.js%22]}}]
Line 4

Permission denied for <http://myapp:8004> to get property Window.APE
http://ape.myapp:6969/2/?%5B%7B%22cmd%22%3A%22setup%22%2C%22params%22%3A%7B%22domain%22%3A%22myapp%22%7D%7D%5D
Line 84

My /etc/hosts file looks like:

127.0.0.1    myapp
127.0.0.1    ape.myapp
127.0.0.1    0.ape.myapp
127.0.0.1    1.ape.myapp
127.0.0.1    2.ape.myapp
127.0.0.1    3.ape.myapp
127.0.0.1    4.ape.myapp
127.0.0.1    5.ape.myapp
127.0.0.1    6.ape.myapp
127.0.0.1    7.ape.myapp
127.0.0.1    8.ape.myapp
127.0.0.1    9.ape.myapp

My config script looks like:

APE.Config.baseUrl = 'http://myapp:8004/APE_JSF';
APE.Config.domain = 'myapp';
APE.Config.server = 'ape.myapp:6969';

What am I missing with my setup that would be breaking APE in Firefox,
but not Chrome?

Regards,
Chris

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to