Opera-AJAX-Test is a project mainly written in JavaScript, it's free.
Tests of Opera's security sandboxing of XMLHttpRequests
This is a small bit of code to test Opera's security sandboxing of XMLHttpRequests. Notably, there appears to be differences in Opera 9.64 on Mac OS X when this code is run as a local file or as a widget.