On Sat, Mar 15, 2014 at 10:35 AM, Ken Kahn <[email protected]> wrote:

> I don't understand what to do about this error
>
> XMLHttpRequest cannot load
> https://caja.appspot.com/cajole?url=http%3A%2F%2Ftoontalk.appspot.com%2Find…&emit-html-in-js=true&renderer=pretty&input-mime-type=text%2Fhtml&alt=json<https://caja.appspot.com/cajole?url=http%3A%2F%2Ftoontalk.appspot.com%2Findex.html&build-version=5643&directive=ES53&emit-html-in-js=true&renderer=pretty&input-mime-type=text%2Fhtml&alt=json>.
> No 'Access-Control-Allow-Origin' header is present on the requested
> resource. Origin 'null' is therefore not allowed access.
>

Your host page is trying to contact the server to get rewritten content,
but fails because it's not at the same domain. (We should put the mentioned
header on caja.appspot.com, but haven't.)


> Caused when loading the following:
> ...
> es5Mode: false,
>

By specifying es5Mode: false, you have required the use of the server-side
rewriter (aka ES5/3 mode), thus resulting in the above error. To avoid it
you would need to run your own server on the same domain.

However, ES5/3 is deprecated. Please specify "es5Mode: true" to test
against the client-side-only mode, which will become the only mode in the
future.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to