[Proto-Scripty] Re: qUnit equivalent for Prototype?

2012-04-12 Thread Victor
Is qunit not working when Prototype is on page? AFAIK it isn't depending on any framework http://docs.jquery.com/Qunit To use QUnit, you have to include its qunit.js http://code.jquery.com/qunit/qunit-git.js and qunit.css http://code.jquery.com/qunit/qunit-git.css files and provide a basic

[Proto-Scripty] Re: Ajax.Request fails, while vanilla XHR works fine

2012-04-12 Thread Victor
Same browser (Safari.latest) on the same computer, the Prototype method gives me a security failure (Origin [my host] is not allowed by Access-Control-Allow-Origin.) while the long-hand XHR (inside a Prototype observer) just works without any comment: Two differences I can notice: 1.

[Proto-Scripty] Re: Ajax.Request fails, while vanilla XHR works fine

2012-04-12 Thread Victor
Is header 'Access-Control-Allow-Origin' present in responses for both examples? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit

Re: [Proto-Scripty] Re: Ajax.Request fails, while vanilla XHR works fine

2012-04-12 Thread Walter Lee Davis
On Apr 12, 2012, at 12:14 PM, Victor wrote: Same browser (Safari.latest) on the same computer, the Prototype method gives me a security failure (Origin [my host] is not allowed by Access-Control-Allow-Origin.) while the long-hand XHR (inside a Prototype observer) just works without any